Connecting TMS570LS1113

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

  • Connecting TMS570LS1113

    Hello,

    I'm trying to connect via JTAG with TMS570LS113 (same as LS1114)
    It giving me the same result:

    "
    - Target interface speed: 12000 kHz (Fixed)
    - VTarget = 3.287V
    - ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 10) @ Off 0x5.
    Cortex-A/R (connect): Failed to temporarily halting CPU for reading CP15 registers.
    InitTarget(): PCode returned with error code -1
    - ERROR: Failed to connect.
    Could not establish a connection to target."

    What can I do?

    many thanks
  • Hi,

    I just gave it a try using a TMS570LS12x Hercules Development Kit evaluation board.
    Unfortunately, I could not reproduce any issues.

    Source Code

    1. SEGGER J-Link Commander V6.16f (Compiled Jul 3 2017 15:58:03)
    2. DLL version V6.16f, compiled Jul 3 2017 15:57:26
    3. Connecting to J-Link via USB...O.K.
    4. Firmware: J-Link Pro V4 compiled Jun 16 2017 16:14:54
    5. Hardware version: V4.00
    6. S/N: 174402383
    7. License(s): RDI, FlashBP, FlashDL, JFlash, GDB
    8. IP-Addr: DHCP (no addr. received yet)
    9. VTref = 3.291V
    10. Type "connect" to establish a target connection, '?' for help
    11. J-Link>con
    12. Please specify device / core. <Default>: STM32F412ZG
    13. Type '?' for selection dialog
    14. Device>TMS570LS1227
    15. Please specify target interface:
    16. J) JTAG (Default)
    17. S) SWD
    18. TIF>j
    19. Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
    20. JTAGConf>
    21. Specify target interface speed [kHz]. <Default>: 4000 kHz
    22. Speed>
    23. Device "TMS570LS1227" selected.
    24. Connecting to target via JTAG
    25. Executing InitTarget()
    26. TotalIRLen = 6, IRPrint = 0x01
    27. J-Link script: ICEPick found, enabling Cortex-M3 core.
    28. TotalIRLen = 10, IRPrint = 0x0011
    29. JTAG chain detection found 2 devices:
    30. #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
    31. #1 Id: 0x0B95502F, IRLen: 06, TI ICEPick
    32. ARM AP[0]: 0x44770001, AHB-AP
    33. ARM AP[1]: 0x24770002, APB-AP
    34. ROMTbl[0][0]: CompAddr: 80001000 CID: B105900D, PID:04-007BBC14 Cortex-R4
    35. Found Cortex-R4 r1p3
    36. 6 code breakpoints, 2 data breakpoints
    37. Debug architecture ARMv7.0
    38. Data endian: big
    39. Main ID register: 0x411FC143
    40. TCM Type register: 0x00010001
    41. MPU Type register: 0x00000C00
    42. System control register:
    43. Instruction endian: big
    44. Level-1 instruction cache disabled
    45. Level-1 data cache disabled
    46. MPU disabled
    47. Branch prediction enabled
    48. Executing SetupTarget()
    49. TMS570LS: HandleSetup(): Initializing ECC protected RAM
    50. Cortex-R4 identified.
    51. J-Link>
    Display All


    Are you using an eval board or custom hardware?
    If the first one, can you provide us with the name of the eval board?
    If the later one, does the issue also occur on an evaluation board?

    Best regards,
    Niklas
    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.
  • I also receive the following:


    "

    Connecting ...
    - Connecting via USB to J-Link device 0
    - Target interface speed: 12000 kHz (Fixed)
    - VTarget = 3.280V
    - ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 10) @ Off 0x5.
    Cortex-A/R (connect): Failed to temporarily halting CPU for reading CP15 registers.
    InitTarget(): PCode returned with error code -1
    - ERROR: Failed to connect.
    Could not establish a connection to target."
  • Hi,


    just noticed this
    Target interface speed: 12000 kHz (Fixed)

    Does it work when using a slower JTAG speed? (like 1000 or 50kHz) ?

    Best regards,
    Niklas
    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.
  • Connecting via USB to J-Link device 0
    - Using adaptive clocking instead of fixed JTAG speed
    - VTarget = 3.280V
    - ERROR: Timeout while entering debug state
    - ERROR: Failed to connect.Could not establish a connection to target.


    if using RTCK.

    Auto:
    InitTarget(): PCode returned with error code -1
    - Target interface speed: 1000 kHz (Auto)
    - VTarget = 3.287V
    - ERROR: InitTarget(): PCode returned with error code -1
    ing CPU for reading CP15 registers.
    0x5.
    Cortex-A/R (connect): Failed to temporarily halting CPU for reading CP15 registers.
    InitTarget(): PCode returned with error code -1
    - ERROR: Failed to connect.
    Could not establish a connection to target.

    The post was edited 1 time, last by zend ().

  • Hi,


    If I send you CPU can you test to read it?


    If you sent us the board, we will take a look at this.
    Please note that we will not charge NREs for this investigation, but we also will not give a guarantee for success.
    If we cannot find a solution in a appropriate time frame, we will just sent the board back.

    Best regards.
    Niklas
    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.
  • Hello, I've received the LaunchPad with TMS570 on board. I'm trying to connect to the TMS570LS1224 installed there, but with the same results.
    ERROR: TMS570/RM4x (connect): Can not find ICE-Pick (IRLen mismatch)
    MS570/RM4x (connect): Can not find ICE-Pick (IRLen mismatch)
    TMS570/RM4x (connect):Can not find ICE-Pick (IDCODE mismatch). Expected 0x0B00002F, found: 0x00000000
    - ERROR: Failed to connect


    Adaptive clock doesn't see RTCK. May you give me your connections in order I'll check what I'm doing wrong. I've connected only those JTAG pins: VDD, nTRST, TDI, TMS, TCK, RTCK, TDO, GROUND.
    Power up by USB cable.

    Many thanks.
  • Hi,


    just ordered a LaunchPad LS1224 (LAUNCHXL2-TMS57012), we will try to reproduce the issue once it arrives here.


    Best regards,
    Niklas
    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.
  • Hi,


    got it on my desktop literally 5mins ago.


    -Niklas
    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.
  • Hi,

    works here out-of-the box without any issues:

    SEGGER J-Link Commander V6.16i (Compiled Jul 21 2017 16:59:00)
    DLL version V6.16i, compiled Jul 21 2017 16:58:30

    Connecting to J-Link via USB...O.K.
    Firmware: J-Link Pro V4 compiled Jul 24 2017 17:06:05
    Hardware version: V4.00
    S/N: 174301314
    License(s): RDI, FlashBP, FlashDL, JFlash, GDB
    IP-Addr: DHCP (no addr. received yet)
    VTref = 3.333V


    Type "connect" to establish a target connection, '?' for help
    J-Link>com
    Unknown command. '?' for help.
    J-Link>con
    Please specify device / core. <Default>: STM32F103ZG
    Type '?' for selection dialog
    Device>?
    Please specify target interface:
    J) JTAG (Default)
    S) SWD
    TIF>j
    Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
    JTAGConf>
    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "TMS570LS1124" selected.


    Connecting to target via JTAG
    Executing InitTarget()
    TotalIRLen = 6, IRPrint = 0x01
    J-Link script: ICEPick found, enabling Cortex-M3 core.
    TotalIRLen = 10, IRPrint = 0x0011
    JTAG chain detection found 2 devices:
    #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
    #1 Id: 0x2B95502F, IRLen: 06, TI ICEPick
    ARM AP[0]: 0x44770001, AHB-AP
    ARM AP[1]: 0x24770002, APB-AP
    ROMTbl[0][0]: CompAddr: 80001000 CID: B105900D, PID:04-007BBC14 Cortex-R4
    Found Cortex-R4 r1p3
    6 code breakpoints, 2 data breakpoints
    Debug architecture ARMv7.0
    Data endian: big
    Main ID register: 0x411FC143
    TCM Type register: 0x00010001
    MPU Type register: 0x00000C00
    System control register:
    Instruction endian: big
    Level-1 instruction cache disabled
    Level-1 data cache disabled
    MPU disabled
    Branch prediction enabled
    Executing SetupTarget()
    TMS570LS: HandleSetup(): Initializing ECC protected RAM
    Cortex-R4 identified.
    J-Link>


    How did you connect the J-Link to the eval board?


    Best regards,
    Niklas
    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.
  • Hello,

    You are right. J-link reads it. I thought there was a standard 20-pin jtag connection there, but there is not.

    [img]http://www.picshare.ru/uploads/170802/IuoAG84p3d_thumb.jpg[/img]



    There is still question how to read CPU on mine board. I found out that XDS110 cant even start when I connect TCK pin to my CPU installed on my board. When I desolder it, and place into testboard - everything works fine.
    Files
    • TESTBOARD.zip

      (32.83 kB, downloaded 463 times, last: )

    The post was edited 1 time, last by zend ().

  • Hi,

    There is still question how to read CPU on mine board.

    Difficult to tell from here.
    Did you try to verify the signals of TCK etc of you hardware with a scope?


    Best regards,
    Niklas
    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.
  • I have also noticed that several times J-Link, while were reading spoiled first sector of the FLASH, have you such an effect?

    Have you tried to read, then write back to the testboard CPU?
    Is its APP still working?

    If it is, can you compare binary to what I've read from it (earlier in Zip).

    Thanks