I am running CCSv6 on a 64-bit Windows 7 machine. I am attempting to connect to two AM3359 chips with two separate JTAG emulators. One emulator is a Blackhawk XDS560LAN (but I'm connecting to it via USB), and the other is a Blackhawk XDS560v2 System Trace (also connected to the PC via USB).
I have attempted:
1) Creating a target configuration file that includes both connections
2) Running two instances of CC Studio
When I try #1, CCS crashes when it is initializing the debug connection. Based on the display, it looks like it gets through initializing the first emulator but dies when it starts initializing the second emulator. Windows gives a messages the CCS has stopped working. The target configuration file is
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Blackhawk USB560-M Emulator_0">
<instance XML_version="1.2" desc="Blackhawk USB560-M Emulator_0" href="connections/BH-USB560m_Connection.xml" id="Blackhawk USB560-M Emulator_0" xml="BH-USB560m_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Blackhawk USB560-M Emulator_0">
<instance XML_version="1.2" href="drivers/tixds560icepick_d.xml" id="drivers" xml="tixds560icepick_d.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cortexM.xml" id="drivers" xml="tixds560cortexM.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cs_child.xml" id="drivers" xml="tixds560cs_child.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cortexA.xml" id="drivers" xml="tixds560cortexA.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560csstm.xml" id="drivers" xml="tixds560csstm.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560etbcs.xml" id="drivers" xml="tixds560etbcs.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560pru.xml" id="drivers" xml="tixds560pru.xml" xmlpath="drivers"/>
<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>
</router>
</device>
</platform>
</connection>
</configuration>
<configuration XML_version="1.2" id="Blackhawk XDS560v2-USB System Trace Emulator_0">
<instance XML_version="1.2" desc="Blackhawk XDS560v2-USB System Trace Emulator_0" href="connections/BH-XDS560v2-USB_Connection.xml" id="Blackhawk XDS560v2-USB System Trace Emulator_0" xml="BH-XDS560v2-USB_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" desc="CSP_Blackhawk XDS560v2-USB System Trace Emulator_0" id="Blackhawk XDS560v2-USB System Trace Emulator_0">
<instance XML_version="1.2" href="drivers/tixds560icepick_d.xml" id="drivers" xml="tixds560icepick_d.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cortexM.xml" id="drivers" xml="tixds560cortexM.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cs_child.xml" id="drivers" xml="tixds560cs_child.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cortexA.xml" id="drivers" xml="tixds560cortexA.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560csstm.xml" id="drivers" xml="tixds560csstm.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560etbcs.xml" id="drivers" xml="tixds560etbcs.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560pru.xml" id="drivers" xml="tixds560pru.xml" xmlpath="drivers"/>
<property Type="choicelist" Value="0" id="portAddr1"/>
<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" desc="CSP_AM3359_0" description="AM33x - Cortex A8 Embedded Processor" id="AM3359_0" partnum="AM3359" simulation="no">
<router HW_revision="1.0" XML_version="1.2" desc="CSP_IcePick_D_0" description="ICEPick_D Router" id="IcePick_D_0" isa="ICEPICK_D">
<subpath desc="CSP_M3_wakeupSS" id="subpath_11">
<router HW_revision="1.0" XML_version="1.2" desc="CSP_CS_DAP_M3" description="CS_DAP Router" id="CS_DAP_M3" isa="CS_DAP">
<subpath desc="CSP_M3_wakeupSS_sp" id="M3_wakeupSS_sp">
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_M3_wakeupSS_0" description="Cortex_M3 CPU" deviceSim="false" id="M3_wakeupSS" isa="Cortex_M3"/>
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_ICECrusherCS_0" description="Cross Triggering" id="ICECrusherCS_0" isa="cs_child"/>
</subpath>
</router>
</subpath>
<subpath desc="CSP_DAP" id="subpath_12">
<router HW_revision="1.0" XML_version="1.2" desc="CSP_CS_DAP_DebugSS" description="CS_DAP Router" id="CS_DAP_0" isa="CS_DAP">
<subpath desc="CSP_ModenaSS" id="ModenaSS">
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_CortxA8" description="Cortex_A8 CPU" id="CortexA8" isa="Cortex_A8"/>
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_ICECrusherCS_1" description="Cross Triggering" id="ICECrusherCS_1" isa="cs_child"/>
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_ETM" description="cs_child" id="ETM" isa="cs_child"/>
</subpath>
<subpath desc="CSP_Trace_STM" id="Trace_STM">
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_CSSTM_0" description="CS System Trace" id="CSSTM_0" isa="TMS470R26X"/>
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_CSETB_0" description="CS Embedded Trace Buffer" id="CSETB_0" isa="CS_ETB"/>
</subpath>
<subpath desc="CSP_PRU" id="PRU">
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_PRU_0" description="PRU Accelerator" id="PRU_0" isa="TMS192C2026"/>
<cpu HW_revision="1.0" XML_version="1.2" desc="CSP_PRU_1" description="PRU Accelerator" id="PRU_1" isa="TMS192C2026"/>
</subpath>
</router>
</subpath>
</router>
</device>
</platform>
</connection>
</configuration>
</configurations>
When I try #2, I am able to connect to both targets. However, often actions in one instance of CCS (e.g. halting execution of the target) will kill the other instance of CCS. Also, it looks like having two instances running is confusing the debugger, and some of the registers report Unable to Read. With a single instance of CCS running, I don't have that problem.
Any suggestions would be much appreciated.
Thanks
--Josh Warr