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.

CortexR4 Error 2062

Other Parts Discussed in Thread: UNIFLASH

Unable to halt device.

  • Don,
    Is there a question?
  • Apparently, I had an error in an interrupt handler that was keeping me from connecting the CCS debugger and reloading my software due to the error I mentioned. I looked through similar reported errors and saw suggestions regarding erasing FLASH (tried using Uniflash but got the same error), and holding down the reset. Anyway, the TMSS570LS1227 has two reset buttons, Power On Reset and System Reset. Also, I was connected using the XDS100V2 JTAG emulator. We were finally able to download a new version of software utilizing the 20 pin JTAG connection and holding down the System Reset button. I was actually trying to get an answer on erasing FLASH, should this happen again. I took most of the morning to get back up.
  • Hi Don,

    Yes, it can be difficult to connect to the target once there is an error in the code that's been loaded into flash.

    There is a procedure in this post: e2e.ti.com/.../1675676

    Another post that's a different writeup of the same steps is

    That is usually the first thing I'd try after pressing the reset button (System or Warm Reset, not power on reset) doesn't work after a few tries.

    This post from Sunil also explains a bit the background of the issue which is that the debug exception isn't the highest priority - so sometimes you have a tight 'window' of time to hit with the debug request.

    e2e.ti.com/.../952857