LPC4078: DAP error while reading DP-Ctrl-Stat register.

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

LPC4078: DAP error while reading DP-Ctrl-Stat register.

2,580 Views
Sahil_Bhat
Contributor II

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

Labels (1)
Tags (2)
0 Kudos
Reply
2 Replies

2,542 Views
Sahil_Bhat
Contributor II

Thank You, This solved my problem. 

0 Kudos
Reply

2,565 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

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