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
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!
-----------------------------------------------------------------------------------------------------------------------
Thank you for following up, different path taken. no action needed anymore
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: