LPC55S16 - USB mass storage interfacing with an external flash memory

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC55S16 - USB mass storage interfacing with an external flash memory

79 Views
Szabolcs_Vass
Contributor I

Hi,

In our project we use the LPC55S16 microcontroller. We want to use our device as USB mass storage linked to an external flash memory with FatFs. This mass storage device have to available for the host PC, and also for the micrcontroller inner file operating functions. 

In SDK examples exist USB MSC projects, but only with RAM disk, or USB host device.

Can Yout tell me, where can I interface the USB MSC device with the extrenal flash memory? Where can I find the USB read, write functions to interface with flash read, write functions? I search the interfacing functions within USB related files, but I couldn't find.

If I want to add the FatFs middleware to the project when I select the USB disk, then the wizard automatically selects the USB Host libraries, but I don't need for them, just for the USB Device libraries. Why I can't select the FatFs USB disk without USB host?

Br,

Szabolcs

0 Kudos
0 Replies