Hi,
I was able to access/debug the LPC55S16 EVAL Kit. I'm was implementing some second stage bootloader as shown in AN12327.
After implementing and some testing, I was flashing a image to the section 0x30000 via the MCUXpesso IDE and the onboard debug prob. After that I was not able to access the LPC55S16 again.
I changed to a external debug prob (j-link EDU) and was able to deepdive a little in the problem.
What happens is, that the program is trying to boot from the secure area at 0x130166b2 and then stays in an endless loop at 0x4002840
nxpobrist_1-1635252816912.png
nxpobrist_2-1635252867866.png
nxpobrist_3-1635252936106.png
Is there a way to clear the whole device and start again in the non secure area of the LPC55S16??
best regards
Corsin Obrist