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.

TMS320VC5509A debugging error

Other Parts Discussed in Thread: TMS320VC5509A

Hi,

I am trying to run DSK5509_a examples in CCS Version: 5.5.0.00077 with XDS100v2 Emulator on Windows 8 DELL Laptop. Bios version is 5_42_00_07 my device is TMS320VC5509A. 

I succesfully build and debug ''Hello World' example but in examples provided by spectrum digital I successfully build them but in debugging getting errors as shown in below screenshots

C55xx: Error connecting to the target: (Error -1144 @ 0x5F) Device core is hung. The debugger attempted to recover debug control, but was unsuccessful. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

I have been through many forums addressing these errors but still could not resolve them . So after trying for long contacting you guys in case someone can help.

Waiting for prompt replies.

Thanks in advance

Mehwish

  • Hi,

      Moving this to CCS forum to be better answered.

    Regards

     Vasanth

  • Mehwish,

    Please check section 5.7 of the page below.

    processors.wiki.ti.com/.../Debugging_JTAG_Connectivity_Problems

    As it says, the issue is due to the fact the C5509 core is locked waiting for an operation on a bus or memory to complete. With this, I wonder if the board has code running previously (perhaps loaded from Flash or another peripheral, for example), or it is set to a boot mode that somehow prevents the JTAG to access it, or even if it is properly powered.

    The exact source of these issues are very difficult to detect from the JTAG debugger standpoint, therefore I would double check voltages on the board and change the bootmode of the device to see if you can connect to it.

    Hope this helps,
    Rafael
  • Rafael,

    Thanks for your reply. I already been through that wiki link but don't found it really working in my case. I haven't loaded any program before I just started with ''Hello example'' first with simulator and later with JTAG its also running successfully now but when I import other examples like led and test.pjt provided by spectrum digital I get that error. Voltages I guess are okay I connect that board USB with my laptop for 5V supply.

    So, what should I try now?

    Mehwish
  • Mehwish,

    Just one question: did you reset or power cycle the board between each code run? The reason is the initialization performed by some projects may block the correct functionality of other projects, therefore requiring a reset or a complete power cycle of the device.

    A reset may be issued either from the menu Run --> Reset or via a button on the target board (this is usually a more complete HW reset). To perform the HW reset without collapsing the debug session, right click on the C5509 core on the "Debug" view and select "Disconnect Target", then press the button and then right-click on the C5509 and select "Connect Target".

    If you think a power cycle is needed, either disconnect the C5509 core as above, power cycle the board and re-connect or, if using an onboard embedded USB JTAG debugger, you will have to terminate the debug session completely (by clicking on the red button) before power cycling it. The reason is that a power cycle on the board will also power down the embedded JTAG debugger, which does not happen if using an external one.

    Hope this helps,
    Rafael
  • Rafael,

    Yup I did that before and also now reset the emulator also CPU reset from code compose studio and from board reset button as you mentioned but its still not helping error persists as before. Also power cycling of board I did that .

    Mehwish
  • I made another simple LED blink example without using DSP/BIOS and when I debug that I get no target connection error means for that code there is no error of connecting target but I still can't see the output (led blink) on target board.

    There is another error that is:

    Error: Cannot load from non-primitive location.

    Any suggestion?