I use the LPC-Link2 to debug my application on LPC1830 on MCUXpresso,
I find "every first time" the source code modify and build and enter debug with LPC-Link2, it always hard fault,
When HardFault, I stop the debug, and enter debug "again".
It will be OK every time without modify any source code.
I want to trace where the source code HardFault, but I find the HardFault is not fix.
Could you give some suggestion how to solve this problem?