This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi,
I tried to program custom board tms570ls0714 using xds110 debugger. For the first time, the test connection between XDS110 and Micro controller was successful. and i was able to flash code. However immediately after pressing debug button, Controller went to continuous reset mode (Play button was disabled.) Now, when I try to debug, i get the following errors:
IcePick: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 7.0.100.0)
CortexR4: Failed System Reset: (Error -6306) Failed to connect to PRSC module. (Emulation package 7.0.100.0)
Dap: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 7.0.100.0)
Dap: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 7.0.100.0)
Kindly Help us resolving this issue.
Thanks and Regards,
Krunal Desai
Hello Krunal,
Krunal Desai60 said:I tried to program custom board tms570ls0714 using xds110 debugger. For the first time, the test connection between XDS110 and Micro controller was successful. and i was able to flash code. However immediately after pressing debug button, Controller went to continuous reset mode (Play button was disabled.) Now, when I try to debug, i get the following errors:
In these types of cases where debug was working until a program was flashed to the device, the culprit was some configuration issue with the program where it may have overwritten some area that it should not have. The result can end up with a locked device or worse.
Krunal Desai60 said:Dap: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 7.0.100.0)
This error seems to point that way. See the details on this error:
Check to see if the device is locked somehow. If so, see if there are any procedures to unlock it. I don't know myself on how to check since this information is device specific (best to consult with the device documentation).
Thanks
ki
Dear Ki,
Can you please suggest some method to confirm controller is locked?
Thank you.
Krunal Desai
I have also observed the voltage waveform at nRst pin. This pin is externally pulled up using a 10k resistor, and the voltage at the pin before programming is 3.3V (continuous DC). However, after flashing the code for the first time, I observe the following waveform at nRST pin (attached with this post). May I know why is this happening?
By observing this waveform I concluded that the controller is going to continuous reset mode. So does this indicate that the controller is locked?
Krunal Desai60 said:Can you please suggest some method to confirm controller is locked?
As mentioned in one of my earlier posts:
Ki-Soo Lee said:Check to see if the device is locked somehow. If so, see if there are any procedures to unlock it. I don't know myself on how to check since this information is device specific (best to consult with the device documentation).
It is best to check with the device documentation or perhaps the device experts in the hercules forum.
Dear ki,
Thanks for your reply. whatever you have sent link, we tried that thread. But we are facing same issue. I will put this question to Hercules forum.
Thanks and Regards,
Krunal Desai