We are experiencing problems with JTAG debugging on C6678 using Blackhawk USB560 emulators.
The problems appear when using CCS v5.1 and newer, forcing us to use CCS v5.0.3 beta for in-circuit debugging.
The setups that fails:
Windows XP sp3 32-bit, or Windows 7 64-bit
CCStudio v5.1.0.09, v5.1.1.31 or v5.2.1.18
Emulators:
Blackhawk USB560m with BH-ADP-20e_cTI-60t_TI pin converter, or USB560v2 with BH-ADP-60e_MIPI-60t_TI pin converter
Boards:
TMDXEVM6678L, or our own custom hardware using C6678.
A full CCS 5 license is provided from a license server.
All these combinations of Windows, emulator and target work relatively "flawless" with CCS v5.0.3, except that this is an unsupported, unfinished beta version.
To reproduce, start with a fresh install of e.g. CCS v5.2. Then install all available updates using "Help/Check for updates".
This step would install the latest Blackhawk drivers, as adviced.
Open the target configurations window, create a new config. Select "Blackhawk USB560-M Emulator, 20-pin JTAG Cable"
(or "Blackhawk XDS560v2-USB System Trace Emulator" if used) for connection, and TMS320C6678 for device. Leave all settings as default. Save the configuration.
Clicking the "Test Connection" tool in the target config window, results in a successful verification of the JTAG scan chain, so there seems to be no fundamental problem with the emulator connection.
Launch the newly created target configuration. This step seems to work, as all 8 cores of the C6678 appear in the Debug window in (Disconnected: Unknown) mode.
The problem appears when running "Connect Target" on e.g. Core 0/C66xx_0. "Executing Connect Target" appears in the progress bar in the right bottom corner of the screen, and stays there for a long time. When clicking anywhere inside the CCS window, the progress bar stops moving and the entire application freezes and eventually silently exits.
The Java Error log (hs_err_4996.log) reports:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c00249f, pid=4996, tid=3620
# The crash happened outside the Java Virtual Machine in native code.
# Problematic frame:
# C 0x7c00249f
# See problematic frame for where to report the bug.
Has anybody experienced any similar problems, or do we have a unique situation here?
A common denominator for all computers this has been tested on is that CCS 3.3 has been installed with Blackhawk drivers prior to installing CCS 5. I am soon getting a new computer where I will try a fresh install of CCS 5 without any other TI/Blackhawk software previously installed.
See the attached .zip file for all debug logs. The 'ccBoard0.dat' file is missing, as it could not be found in the specified directory, but the result of the JTAG chain test is provided.
Hope we can sort this out soon, as we are approaching production code development.
Regards, Oyvind