Shopping Cart

Posts

Mass Storage Support for USB Host Library 2.0 released!

Mass Storage

Mass Storage

The code supporting USB Mass Storage Class of devices has been added to USB Host Shield 2.0 library and is available to download on GitHub. Mass storage devices include USB Flash drives, memory card readers, external hard drives/CD-ROMs, smartphones/tablets, and some others – almost anything that shows as a drive while connected to a PC (exceptions are digital cameras as well as some phones pretending to be digital cameras). Andrew Kroll (who made this release possible) – thank you very much!

At present, the code example, also featuring Andrew’s FAT and extended memory implementation, can only be run on “big” Arduinos such as Mega and Mega 2560. Another FAT implementation, developed by Alex Glushchenko, is being tested – there is a slight possibility that at least some functionality can be demonstrated on a regular UNO board. On the other hand, the mass storage component can be used without a file system by simply reading/writing physical sectors; this approach can save a lot of memory. The documentation for the mass storage class code is available here.

Many hours has been spent testing the code; it should work with any device which claims to support “mass storage bulk only” transport. While newer (less than 5 years old) won’t cause any problems, older ones could be finicky. If your device shows odd behaviour with this code, please let me know – I will trade it for the good working one.

Enjoy!

Oleg.

Related posts:

  1. HID support for USB Host Shield Library 2.0 released
  2. Bluetooth RFCOMM/SPP service support for USB Host 2.0 Library released!
  3. USB Host Shield library Version 2.0 released.
  4. Sony PS3 Controller support added to USB Host library
  5. Wireless Xbox360 controller support for USB Host 2.0 library
  6. Arduino 1.0-compatible USB Host Library released
  7. Google Open Accessory Interface for USB Host Shield Library 2.0 released
  8. Andriod ADK-compatible USB Host Library release.
  9. USGlobalsat ND-100S GPS receiver works with USB Host library
  10. A documentation project for USB Host Library 2.0 has begun!

96 comments to Mass Storage Support for USB Host Library 2.0 released!

  • OK so I figured out my own error. When you have not installed the library correctly you get this sort of error. Make sure to place the library folder in “libraries” and remove all dots and dashes from the folder name.

Leave a Reply

  

  

  



You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">