LPC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC

1,399 次查看
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

标签 (4)
0 项奖励
回复
2 回复数

1,184 次查看
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 项奖励
回复

1,184 次查看
jmccabe
Contributor II

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

0 项奖励
回复