Adding Mass Storage Support to Leonardo


currently leonardo has a, think called, composite usb definition.

it serial port (i think called cdc)
it mouse (hid)
it keyboard (hid)

i think there may more.

i add mass storage ability.

i thinking creating device log data.  write data sd card.  able read data sd card though "thumb drive".

i know take sd card out of device , load computer , read data that.  if device not logging data.  buffer data know, arduinos have little ram.

if change change log files time time should able move (copy , delete) older log file device without interrupting logging process.

this may ask of arduino , raspberry pi or beagle better platform.  arduino simple, small, , cheap affordable.  use leonardo.

quote
if change change log files time time should able move (copy , delete) older log file device without interrupting logging process.
this not possible.  when pc or mac host accesses usb drive, assumes drive simple block device , host has total control.  this means can not modify sd while host accesses sd.

several people have done mass storage experiment atmega32u4.  see this old link.  provides complicated , slow sd usb adapter.


Arduino Forum > Using Arduino > Storage > Adding Mass Storage Support to Leonardo


arduino

Comments