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/TMS570LC4357: Unable to debug Launchpad TMS570LC43x with CCS Version: 9.1.0.00010

Part Number: TMS570LC4357


Tool/software: Code Composer Studio

I followed the examples to generate the CCS project and tried to debug the Launchpad but it always fails. I get following error

CortexR5: GEL: File: J:\\Debug\test.out Does not match the target endianness, not loaded. Check project build options and target configuration file (ccxml).

2. The probe Test Connection works fine and I get the following message 

The JTAG DR Integrity scan-test has succeeded.

[End: Texas Instruments XDS110 USB Debug Probe_0]

3. I am able to connect to the debugger creating the Target Configuration File given here : 

Kindly help me fix this issue. 

  • I moved to IAR. I installed the debugger driver in the IAR 8. It asked to update the debugger firmware and after the update, it gave the same error that target should have been little endian. 

    However when we select the target device as TMS570LC4357, it's Endian mode is by default Big and is greyed. Why both IAR and CCS is asking to have little Endian mode when the processor is Bing Endian? 

    Wed Jul 10, 2019 02:38:39: IAR Embedded Workbench 8.22.1 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\bin\armproc.dll)
    Wed Jul 10, 2019 02:38:39: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\flashloader\TexasInstruments\FlashRM57x.mac
    Wed Jul 10, 2019 02:38:40: Connecting to TI XDS110 ( Probe no: HLR57L00 ) COM[25/26]
    Wed Jul 10, 2019 02:38:42: TI XDS ARM, device revision: 0x411FC152, big endian: false, cache: false, board revision: 0x00000000, driver revision: 0x0B000200
    Wed Jul 10, 2019 02:38:45: Fatal error: Endianness wrong, endian mode must be Little Session aborted!
    Wed Jul 10, 2019 02:38:45: Unloaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\config\flashloader\TexasInstruments\FlashRM57x.mac
    Wed Jul 10, 2019 02:38:47: IAR Embedded Workbench 8.22.1 (C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm\bin\armproc.dll)

  • Hello,

    Which compiler are you using?

    Best regards,
    Miro

  • Hi, 

    So the issue was the wrong selection of the controller. I had the TMS570LC43X / RM57Lx kit and I selected the TMS570 controller, whereas I should have selected the RM57Lx controller. After the proper selection, it is working fine.