LPC

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

LPC

875 Views
jmccabe
Contributor II

I've found the lpcUsbLib code which includes a mass storage device example (which is what I want to achieve). However I've read on this forum that it's better to use the usbd library now as lpcUsbLib isn't supported any more (seems to have become nxpUsbLib on github, or vice versa, without the useful examples). The Embedded Artists download package for the LPC1788 Dev Kit doesn't include a USB mass storage device example though. 

Can anyone advise me on the best way to proceed? Should I be going down the usbd route instead of lpcUsbLib and, if so, is there a quick and easy way to port the lpcUsbLib mass storage device example to usbd? 

Any advice gratefully appreciated.

John

Labels (4)
0 Kudos
Reply
2 Replies

660 Views
Dezheng_Tang
NXP Employee
NXP Employee

One possibility is to use MCB4300 LPCOpen package USB MSC RAM example as the base and port over to

LPC17xx: 

From:

https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/lpc-corte...

To:

https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/...

In USBD ROM or library, all the data structure and APIs for LPC43xx and LPC17xx are the same, I don't think the work-around applied on LPC43xx is necessary for LPC17xx.

0 Kudos
Reply

660 Views
jmccabe
Contributor II

Thanks for those suggestions; that's something I'll look at.

0 Kudos
Reply