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.

TMS320F28379D: DSS loadProgram - Does not match the target endianness

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

I'm trying to use the Scripting Console inside the CCS debugger:

js:> script = ScriptingEnvironment.instance()

js:> debugServer = script.getServer("DebugServer.1")

js:> debugServer.setConfig("D:/code/craw_c2000_bootloader/bootloader/targetConfigs/TMS320F28379D.ccxml")

js:> debugSession = debugServer.openSession("Texas Instruments XDS100v2 USB Debug Probe/IcePick_C_0")

js:> debugSession.target.connect()

js:> debugSession.memory.loadProgram("D:/code/craw_c2000_bootloader/bootloader/Debug/craw_c2000_bootloader_new.out")
Error loading "D:/code/craw_c2000_bootloader/bootloader/Debug/craw_c2000_bootloader_new.out": File: D:/code/craw_c2000_bootloader/bootloader/Debug/craw_c2000_bootloader_new.out
Does not match the target endianness, not loaded.
Check project build options and target configuration file (ccxml).

My project is configured as little endian:

I'm trying to load the same .ccxml and .out that the debugger is successfully using.

Thank you,

Diane

  • When I try to debug and load a different .out, I get a different error:

    js:> script = ScriptingEnvironment.instance()
    
    js:> debugServer = script.getServer("DebugServer.1")
    
    js:> debugServer.setConfig("D:/code/EPPS_controller_c2000/CCode/targetConfigs/TMS320F28379D.ccxml")
    
    js:> debugSession.target.connect()
    
    js:> debugSession.memory.loadProgram("D:/code/EPPS_controller_c2000/CCode/Debug/EPPS_controller_c2000.out")
    Wrapped com.ti.xpcom.XPCOMException: The function "requestCExprEval" returned an error condition  (0x80780001)

    I'm currently using Code Composer Studio 12.5.0 and C2000Ware 5.0.0.

    I was experimenting with different versions of Code Composer Studio (after using CCS 12.5.0 for a while, I installed and uninstalled CCS 8).  Maybe a clean install of 12.5.0 is due.

  • After uninstalling all Code Composers, deleting all leftover Code Composer folders, rebooting, and re-installing CCS 12.5.0, everything is working fine.

    Interestingly after the re-install the "Texas Instruments XDS100v2 USB Debug Probe/IcePick_C_0" doesn't exist anymore.  I have to use "Texas Instruments XDS100v2 USB Debug Probe_0/C28xx_CPU1".

  • Hey Diane,

    Glad you were able to resolve the issue.

    Just a quick note: If you right click on project in the debug pane and select the "Show all cores" option, you will be able to see the IcePick TAP.

    Best Regards,

    Zackary Fleenor