Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 108529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:55:34+00:00 2026-05-11T01:55:34+00:00

I was recently reading about the Arduino’s Hello World application, and I thought to

  • 0

I was recently reading about the Arduino’s Hello World application, and I thought to myself, ‘I wonder if I can do that with hardware that I have right now.’

Since I don’t have an Arduino, I grabbed a usb flash drive that I had laying around and started googling around for information about it. I didn’t find much helpful information in this area, so I’m now asking here: is it possible for me to access a USB drive’s hardware (e.g. the LED) and interact with it via some programming environment (I was thinking C# should probably have some way to do this)?

Also, related to this subject – does anyone know what kind of commands USB drives use? For example, SCSI storage devices have a standardized command set; ATA devices have a similar protocol. How are things like simple read/write commands issued to a USB storage device?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:55:35+00:00Added an answer on May 11, 2026 at 1:55 am

    While the USB protocol is fairly generic, the peripheral devices are really function specific and require some kind of device driver on the host to function properly.

    While a USB Flash Drive has a micro-controller on it, most USB storage devices follow a common protocol. That is why you don’t have to install a different device driver for every drive you plug into windows.

    I’m pretty sure that the mass storage protocol does not have a ‘Turn LED on’ message 🙂 And while the company that implemented the USB drive might actually have a special command to do that (maybe for debugging), I would doubt it would be published.

    While I’m no guru on Windows, I believe that in order for you to access the USB stack directly, you would have to write your own device driver and plug load it in the kernel. Can you imagine if a regular application could send the ‘format everything’ command to an arbitrary USB device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently I have been reading about lotto wheeling and combination generating. I thought I'd
I've recently learned that python doesn't have the switch/case statement. I've been reading about
I have recently started reading about dependency injection and it has made me rethink
I have recently started reading about data mappers and all the articles I've found
I've been reading about Groovy recently and noticed that Groovy was supported by Spring?
I have recently been reading about the general use of prime factors within cryptography.
Possible Duplicate: Using stripslashes after mysql_real_escape_string I have been reading most recently about prevention
I did quite a reading about Android recently and I came across something that
Recently I have been reading about javascript patterns, and how to use module pattern
I have never used multiple inheritance but while reading about it recently I started

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.