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.

CCS/TMS570LS0714: TMs570ls0714 goes to continuous reset mode immediately after flashing program for the first time

Part Number: TMS570LS0714

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:

    http://software-dl.ti.com/ccs/esd/documents/ccsv7_debugging_jtag_connectivity_issues.html#security-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

  • Hello,
    I haven’t heard back from you, hence this issue is being closed. If you wish to continue the discussion, please post a reply with an update below (or create a new thread).

    Thanks,
    ki
  • Hi Ki,
    The Issue has not resolve. We have tried 3 new PCB Boards. But we are getting same error. We have try to debug different program for each board, we are getting same error . Error is
    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)

    After reset Micro controller with reset pin than it will shows following error.

    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)

    we are stuck at this point.

    Can you please suggest us How to resolve problem?

    Thanks and Regards,
    Krunal Desai
  • Can you confirm if the device is locked (or not)?
  • Dear Ki,

    Can you please suggest some method to confirm controller is locked?

    Thank you.

    Krunal Desai

  •  Dear Ki,

       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 

  • Yes the device experts can provide more expertise. If you can update this thread with your finding, that would be very appreciated.

    Thansk
    ki