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.

CCS/RM42L432: How to programme RM42L432 using J-link programer instead of it's on-board programmer/debugger ?

Part Number: RM42L432
Other Parts Discussed in Thread: RM41L232, , SEGGER, LAUNCHXL-TMS57004, TMS570LS0432

Tool/software: Code Composer Studio

Hello,

I need to program & debug RM41L232 using J-link programmer.

For that, I am trying to test J-link on RM42L432 launchpad In that I am getting .out file load error.

Please let me know how to do that.

  • Hello,

    The external debugger is not required to access the MCU on RM42x launchpad. The RM42x launchpad has a built-in XDS100V2 emulator. 

  • Hello Wang,

    Yes, I know that we can program using an onboard programmer but on RM42L432 Launchpad 14 pin J-TAG connector is available to program/debug MCU externally.

    For this external programming without using it's on-board XDS100V2 emulator, i am trying to do with J-Link but facing issues like CCS studio hangs some time & load error.

    So How to solve these errors? 

  • I wonder if you did step one: If this target you using has  TI's 14-pin JTAG, you need to match the standard ARM (Cortex) JTAG pin connector Segger uses.  Like, using Segger's (or similar) adapter.

    Or just jump wires.

  • Hello,

    As v01d said, the adapter should be used to map JTAG signals on Segger emulator header to TI's 14-pin JTAG header. 

  • Hello,

    I have manually connected jumper wires from EVK to J-link as per the images attached.

    Snapshot of pinouts in EVK for external debug

    Snapshot J-link pinouts.

    But yet in CCS studio not able to flash firmware using J-Link.

    I am using Code Composer Studio V10 in the Ubuntu system & configured J-link Emulator in properties for debugging

    In EVK 2nd pin, MCU_TRST should be connected to 3rd pin TRST Or 15th pin RESET of J-link ?

    Is there dependency of Windows PC for this activity ?

  • Hello,

    MCU_TRSTN should be connected to 3rd pin TRST of J-link.

    If the JTAG cable is longer than the maximum value (10cm, please check) recommended by IEEE1149 standard, please reduce the JTAG frequency or use a buffer for JTAG signals.

    Please check the JTAG clock at MCU TCK pin to make sure the clock signal is clean enough.

  • Jagir Mehta1 said:
    Is there dependency of Windows PC for this activity ?

    With CCS 10.1.0.00010 running under Ubuntu 18.04.5 LTS I was able to successfully use a J-Link to debug a TMS570LS0432. For that fitted a 14-pin header to J12 of the LAUNCHXL-TMS57004, and an ARM20TI14 adapter to connect the J-Link.

    Therefore, should also work with a J-Link and RM42L432 with CCS10 under Ubuntu.

  • It was connection issue, it is resolved now