USB LPCOpen example code not running

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

USB LPCOpen example code not running

1,564 次查看
theokersjes
Contributor I

On own board design the call

g_pUsbApi = (const USBD_API_T *) LPC_ROM_API->pUSBD;

results in a HardFault_Handler Isr.

Same code on LPC example board work. Also after flashing and power reset the application does not run anymore need to reflash.

any suggestions what this could be

0 项奖励
回复
3 回复数

1,390 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Theo kersjes,

    You need to provide more information about your question, what the chip and lpcopen code you are using? what the project?

    If you are using the LPCopen USB project find this problem, what the IDE you are using? You also can try the IAR project.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,390 次查看
theokersjes
Contributor I

Thank you for following up, different path taken. no action needed anymore

0 项奖励
回复

1,390 次查看
converse
Senior Contributor V

You haven't really provided enough information for anybody to provide any help - i.e. which chip?

To get further you will need to debug and read this FAQ:

https://community.nxp.com/thread/389002 

0 项奖励
回复