USB LPCOpen example code not running

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

USB LPCOpen example code not running

854 Views
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 Kudos
3 Replies

680 Views
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 Kudos

680 Views
theokersjes
Contributor I

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

0 Kudos

680 Views
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 Kudos