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.

Failed CPU Reset: (Error -1137 @ 0x0) 28334 dsp

Hi sir..
              
 we have encountered with a reset issue while working with 28334 dsp processor ...While we load the program and resume it,we are getting an error message as follows and we are unable to run the program.


C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation.

 The error message is attached here.  Sir Could you please help us in tracing out the issue.

  • Hi,

    In general this error message prevents a device from being connected to CCS, but in your screenshot I see the device is actually connected and halted at address 0x33C8CB. After getting the message did you click on some sort of "Retry" button or did something to your board and retried the connection?

    If so, I suspect the JTAG connection is unreliable - I recall getting similar errors due to an unreliable connection with my XDS100v1 ISO which were solved by some HW rework on the device's power supply.

    On the other hand, does this issue happen if you successfully connect to the device, load the code and it halts at main(), then when you press Resume it throws the error message?

    If so, it seems the code is throwing the device on a reset loop, which will have to be carefully checked by you - look for things such as expiring watchdog timers or invalid instructions. One other theory is that an external circuit (a high power driver, for example) may be causing a glitch on the JTAG lines that is making the JTAG debug probe to believe the device is being held in reset momentarily. This would be a bit similar to the first approach.

    Given the JTAG debugger you are using is very reliable and it already runs at a relatively slow frequency of 1MHz on JTAG TCLK, this parameter shouldn't require tweaking. If you want to tweak this, then check the settings as shown below:

    Hope this helps,

    Rafael

  • Hi Rafael
    thanks for your reply.
    I am facing the problem after successfully connecting the device , load the code and it halts at main(), then when i press Resume it throws the error message. But the program were working fine and i didn't changed anything.
    the funny thing is sometimes the program and device is working fine especially after some period of power off. then i suspended the program and resumed it . then it shows the above error message.
    what can i do for solving this issue?
    Regards
    joseph