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.
Hi,
We are using CCS Version: 5.4.0.00091 on a AM3352 processor. We imported a running project into a different workspace and made some source code modifications. Recompiled and built fine but when we try and run the debugger we get:
IcePick_D_0: GEL: File: C:\Users\xxxx\workspace_pst\PST_sysbios\Debug\PST_sysbios.out Does not match the target endianness, not loaded. Check project build options and target configuration file (ccxml).
We are running little endian and the project files all look correct. Switching to the original project we imported, everything works fine.
Where would the target configuration specify the endianness and why would this have changed on an import?
Thanks,
John C.
We've been looking at this all day yesterday and still can't find a reason. If we check the targetConfigs file, AM3359.ccxml, the biggest difference we see is that there does not seem to be a closing </cpu> with the newer platform definition.
How do we get Code Composer to regenerate this .ccxml file? Can we just delete it?
Thanks,
John C.
Original:
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="AM3359" href="devices/AM3359.xml" id="AM3359" xml="AM3359.xml" xmlpath="devices"/>
<device HW_revision="1" XML_version="1.2" description="AM33x - Cortex A8 Embedded Processor" id="AM3359" partnum="AM3359" simulation="no">
<router HW_revision="1.0" XML_version="1.2" description="ICEPick_D Router" id="IcePick_D_0" isa="ICEPICK_D">
<subpath id="subpath_11">
<router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_M3" isa="CS_DAP">
<subpath id="M3_wakeupSS_sp">
<cpu HW_revision="1.0" XML_version="1.2" description="Cortex_M3 CPU" deviceSim="false" id="M3_wakeupSS" isa="Cortex_M3">
<property Type="choicelist" Value="0" id="bypass"/>
</cpu>
</subpath>
</router>
</subpath>
</router>
</device>
</platform>
New:
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="AM3359_0" href="devices/AM3359.xml" id="AM3359_0" xml="AM3359.xml" xmlpath="devices"/>
<device HW_revision="1" XML_version="1.2" description="AM33x - Cortex A8 Embedded Processor" id="AM3359_0" partnum="AM3359" simulation="no">
<router HW_revision="1.0" XML_version="1.2" description="ICEPick_D Router" id="IcePick_D_0" isa="ICEPICK_D">
<subpath id="subpath_11">
<router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_M3" isa="CS_DAP">
<subpath id="M3_wakeupSS_sp">
<cpu HW_revision="1.0" XML_version="1.2" desc="M3_wakeupSS_0" description="Cortex_M3 CPU" deviceSim="false" id="M3_wakeupSS" isa="Cortex_M3"/>
</subpath>
</router>
</subpath>
<subpath id="subpath_12">
<router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_0" isa="CS_DAP">
<subpath id="ModenaSS">
<property Type="choicelist" Value="2" id="Type"/>
</subpath>
</router>
</subpath>
</router>
</device>
</platform>
After a lot of searching we changed two things and the debugger began working.
- First we changed the project's "Manage the project's target-configuration automatically".
Second we renamed the Target Configuration from:
Blackhawk XDS560v2-USB System Trace Emulator_0
to
Blackhawk XDS560v2-USB System Trace Emulator
From:
To: