[SOLVED] CCS/TMS570LS0714: Error: Stat [ JLINKARM_IsHalted() call ] failed!

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] CCS/TMS570LS0714: Error: Stat [ JLINKARM_IsHalted() call ] failed!

    Hi!

    I have a custom board with a TMS570LS0714 that was put together for the first time. I'm trying to upload code to it using the J-Link EDU via Code Composer Studio's J-Link integration, but it seems there's a problem with the connection.

    Platform: Arch Linux x86_64
    Kernel: 4.14.13-1-ARCH
    Code Composer Studio: 7.4.0.00015
    Code Composer Studio J-Link Support: 6.20.9.0
    Segger product: J-Link EDU
    MCU: TMS570LS0714

    Output from Code Composer Studio's console (within the IDE)

    Source Code

    1. CortexR4: Error: Stat [ JLINKARM_IsHalted() call ] failed!
    2. CortexR4: Unable to determine target status after 20 attempts
    3. CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0


    stdout from ~/ti/ccsv7/eclipse/ccstudio (lots of these)

    Source Code

    1. *** J-Link V6.20i Executing PCode ***
    2. Can not find ICE-Pick (IRLen mismatch). Expected 0x00000006, found: 0x00000280
    3. *** J-Link V6.20i Executing PCode ***
    4. *** J-Link V6.20i Executing PCode ***
    5. Can not find ICE-Pick (IDCODE mismatch). Expected 0xXXXXXX2F, found: 0x00000000
    6. *** J-Link V6.20i Executing PCode ***
    7. *** J-Link V6.20i Executing PCode ***
    8. Can not find ICE-Pick (IRLen mismatch). Expected 0x00000006, found: 0x00000280
    9. *** J-Link V6.20i Executing PCode ***
    10. *** J-Link V6.20i Executing PCode ***
    11. Can not find ICE-Pick (IDCODE mismatch). Expected 0xXXXXXX2F, found: 0x00000000
    12. *** J-Link V6.20i Executing PCode ***
    Display All


    Also tried connecting with the official standalone binaries.

    Output from JLinkExe

    Source Code

    1. $ ./JLink_Linux_V622e_x86_64/JLinkExe
    2. SEGGER J-Link Commander V6.22a (Compiled Nov 28 2017 17:57:05)
    3. DLL version V6.22a, compiled Nov 28 2017 17:57:00
    4. Connecting to J-Link via USB...O.K.
    5. Firmware: J-Link V9 compiled Dec 1 2017 14:40:21
    6. Hardware version: V9.30
    7. S/N: 269304666
    8. License(s): FlashBP, GDB
    9. OEM: SEGGER-EDU
    10. VTref = 0.000V
    11. ...
    12. J-Link>connect
    13. Please specify device / core. <Default>: TMS570LS0714
    14. Type '?' for selection dialog
    15. Device>TMS570LS0714
    16. Device "TMS570LS0714" selected.
    17. Connecting to target via JTAG
    18. Executing InitTarget()
    19. TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    20. 0x00000280
    21. J-Link script: ICEPick found, enabling Cortex-M3 core.
    22. Can not find ICE-Pick (IDCODE mismatch). Expected 0x0000002F, found: 0x00000000
    23. TMS570/RM4x (connect): Can not find Cortex-M3 (IDCODE mismatch)
    24. Executing InitTarget()
    25. TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    26. 0x00000280
    27. J-Link script: ICEPick found, enabling Cortex-M3 core.
    28. Can not find ICE-Pick (IDCODE mismatch). Expected 0x0000002F, found: 0xA0002108
    29. TMS570/RM4x (connect): Can not find Cortex-M3 (IDCODE mismatch)
    30. ****** Error: InitTarget(): PCode returned with error code -1
    31. Executing InitTarget()
    32. TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    33. 0x00000280
    34. J-Link script: ICEPick found, enabling Cortex-M3 core.
    35. Can not find ICE-Pick (IDCODE mismatch). Expected 0x0000002F, found: 0xA0002108
    36. TMS570/RM4x (connect): Can not find Cortex-M3 (IDCODE mismatch)
    37. Executing InitTarget()
    38. TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    39. 0x00000280
    40. J-Link script: ICEPick found, enabling Cortex-M3 core.
    41. Can not find ICE-Pick (IDCODE mismatch). Expected 0x0000002F, found: 0xA0002108
    42. TMS570/RM4x (connect): Can not find Cortex-M3 (IDCODE mismatch)
    43. ****** Error: InitTarget(): PCode returned with error code -1
    44. Cannot connect to target.
    Display All


    Any tips on what to check?

    We've also created a corresponding thread on TI's forum: e2e.ti.com/support/development…oser_studio/f/81/t/619076

    Thanks.
  • Hello,

    Thank you for your inquiry.
    Such an issue is not known to us.

    From the logs it reads: VTref = 0.000V

    This indicates that Pin 1 of the J-Link interface is not connected to the target voltage supply correctly.
    More information can be found here: wiki.segger.com/J-Link_cannot_…o_the_CPU#VTref_is_0.000V

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.