How Can Beaglebone Black Be Used as Mass Storage Device

Beagleboard Black: folder for usb drive

ok, this document is pretty clear about it:

BEWARE that if a file is used as a backing storage, it may not be
modified by any other process. This is because the host assumes the
data does not change without its knowledge. It may be read, but (if
the logical unit is writable) due to buffering on the host side, the
contents are not well defined.

can i read and write data to mass storage flash drive by lpc1768 itself alone?

The USB Mass storage device is obviously an USB device and thus your LPC17xx circuit must supply the +5 volts VBUS line. That is figure 31 in the datasheet.

But that also means you have to implement the difficult USB host in the LPC17xx, and SCSI for mass storage.

You could use figure 30 (OTG) if you needed to connect the lpc17xx itself to host like a PC.

Note that SD cards are much simpler to use (via SPI) in Software. And they can be faster: 25 MBit/s instead of 12 MBit/s via USB.



Related Topics



Leave a reply



Submit