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.

TMS470R1B1M IAR J-link connection failed. Failed to measure TotalIRLen.

Other Parts Discussed in Thread: TMS470R1B1M, SEGGER

Hi guys 

I use IAR J link to program my TMS470 board, however, there are always following errors when connecting.

Scheme programming unit to the controller TMS470R1B1M below.

AWD directly to the ground.

I use Segger J-link ARM, When trying to connect the programmer to the oscilloscope see

that operation signals are. Response from the controller through the TDO see, but i see 

ERROR: Failed to connected TotalIRLen.

Can anyone tell me what might be the reason resulting those errors and how can i solve them? Thanks a lot 





  • Can you change the pull up resistor on nTRST stronger? for example: 1Kohm?

    I think the J-Link emulator requires a strong external pull up on nTRST while the TMSxxx provide a pull down in this pin.

    Regards,

    Haixiao

  • Thanks for the tip, I tried, but nothing changed.
    Maybe there are other ideas?

  • Hi guys.
    Continue to attempt to connect to TMS470R1B1M.
    The wiring done exactly the same as 

    https://old.iar.com/website1/50.0.1.0/572/SM470R1B1M-board-schematic.pdf

    TEST - directly to the ground.

    AWS - directly to the ground.

    PORST - directly to 3,3V

    RSTn - directly to 3,3V

    PLLDIS - directly to 3,3V

    OSC - 6MHz

    Connect the analyzer logic signals.
    signals following

    continued

    TCK - red

    TMS - blue

    TDI - purple

    TDO - green

    TRST - black

    I was very confused by the shift between the TDI and the TDO one clock, though like to be 4 clock.

    J-link log

    Help please.

  • A couple of things to check:

    1. Is the JTAG security module been set?

    2. Is 1.8v supply working well?

    3. Is the crystal oscillating?

    4. Is this a blank MCU with no code inside?

     

  • 1. MCU to have a new, working with ARM7 first time, do not tell me how to test a module J-TAG security has been installed?

    2. Voltage 1.8 works well.

    3. Оscillar works tested, but pines oscilloscope.

    4. Microprocessors are new, I have nothing yet sews.

  • SEGGER J-Link Commander V4.62b ('?' for help)
    Compiled Feb 18 2013 17:29:05
    DLL version V4.62b, compiled Feb 18 2013 17:28:44
    Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
    Hardware: V8.00
    S/N: 158005054
    OEM: IAR
    VTarget = 3.254V
    Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    WARNING: At least one of the connected devices is not JTAG compliant (IEEE Std 1
    149.1, 7.1.1.d, IR-cells). (NumDevices = 1, NumBitsSet = 0)

    ****** Error: Failed to measure TotalIRLen.
    Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000

    WARNING: At least one of the connected devices is not JTAG compliant (IEEE Std 1
    149.1, 7.1.1.d, IR-cells). (NumDevices = 1, NumBitsSet = 0)

  • Have this problem solved?

    Have you checked with IAR about this issue?

    Thanks,

    Haixiao