What happened to LPCUSBlib\lpcusblib_MassStorageDevice in LPCOpen 2.x?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What happened to LPCUSBlib\lpcusblib_MassStorageDevice in LPCOpen 2.x?

1,232 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dvandewalle on Mon Apr 06 10:42:32 MST 2015
I've been playing with the LPC1837 board and the dual USB examples.  I have an application that needs this type of functionality and additionally needs ethernet.

The USB mass storage device code that is perfect for my app and comes with the LPC1837 board seems to be built on LPCOpen 1.x; the turnkey ethernet support I need with FreeRTOS is on the LPCOpen 2.x tree.  I can build examples from either tree without any problems - I just don't seem to have everything I want in the same major release version.

The problem I'm running into is that the LPCUSBlib\lpcusblib_MassStorageDevice stuff that I really need for my application seems to be missing from the LPCOpen 2.x tree.  I see the lpcusblib_MassStorageHost code in the 2.x tree, but not the device ...  Before I try to port this over from 1.x, can someone tell me if I'm completely missing something?

Thanks!
Labels (1)
0 Kudos
Reply
2 Replies

1,160 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dvandewalle on Mon Apr 06 17:29:46 MST 2015
Hmmm.  That's unfortunate.  I've looked into the v2.xx ROM stack examples and the MSC ROM drivers.  The documentation for the MSC ROM drivers is very poor. There is really no way I can go forward with using them in a commercial product.

The MSC ROM driver example that is part of LPC Open 2.xx is quite trivial and does not show how the driver stack would be used in a real mass storage application. (Like a SD card, NAND flash, disk media etc.)  The information I need on how to use the ROM stack in a scenario where reads and writes are not instant does not seem to exist.  I need either a solid example or solid docs to use this stuff.

As an engineer this leave me in the unpleasant situation of forward porting some older code that NXP seems to no longer be committed to maintaining, rolling/maintaining my own USB driver stack, or picking another part that has a turnkey stack that is being maintained.  Argh.
0 Kudos
Reply

1,160 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Apr 06 12:28:06 MST 2015
Hi dvandewalle,
We are supporting USB device stack in ROM, you can see examples based on this stack in LPCopen2.xx. Due to this currently we are not supporting lpcusblib for device stack.
For USB host we are continue to use lpcusblib stack.
0 Kudos
Reply