Hi ,
I am using Jlink commander tool to upload bootloader into microcontroller LPC4078. I am getting an error (Error: DAP error while reading DP-Ctrl-Stat register) and now I can't connect to the device anymore. I was able to upload the bootloader the first time.
I tried erasing the flash but that does not seem to be working either. i read on the web about and found that it might be because the microcontroller has entered a bad state.
Kindly help me understand why'd microcontroller go into such a state ? and how can i bring it back to a normal working state?
Please find screenshots of the problem attached
Thank You, This solved my problem.
Hello,
Please try to enter ISP mode, and erase all to test.
About how to enter ISP mode, please refer to LPC4078 UM and below thread:
https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Regaining-debug-access-to-target-MCU/m-p/473923
BR
Alice