This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SD card detection as a USB mass storage device on beaglebone using Starterware

Hi everyone,

I need to develop a code in starterware07 which can show micro SD card, just like a USB pendrive when beaglebone is connected to a host computer running windows or linux.

I have got a project "usb_dev_msc" which prepared a RAM_DISK and shows it just like a pendrive in PC and then PC asks for formatting the disk and after formatting you can copy-paste files onto this drive. But this is just the RAM not a real flash drive. So, contents go away as soon as power is switched off.

Another project is "hsMmcSdRw", in which we can open and read contents of files stored on microSD card, through hyperterminal, by issuing a set of commands.

If my objective can be achieved by combining the two codes somehow. I donno how  to replace RAM_DISK with SD card. Can you tell me some code to do this?

Help is appreciated.