Other Parts Discussed in Thread: TMDSEMU560V2STM-UE
Tool/software: Code Composer Studio
I am running CCS version Version: 7.2.0.00013. We are locked into that version for this project. I am connected to an XDS560v2 STM for flash/debug. We are utilizing a TMS320F28335.
This setup had been working with two different board designs and multiple copies of those designs and suddenly began failing for all boards with the following message:
We saw this problem one other time and it seemed to go away after switching between release/debug build configurations. Nothing else changed as far as I know. We were simply browsing around in CCS looking for something that might be wrong, happened to switch between build configs and, whether this was the direct cause or not, it issue went away right after this activity.
What we have checked so far:
1) Attempted programming 3 different boards. Although they use the same part, they are two completely different designs. All boards were working previously. I am currently unable to program or have a successful connection test with any of them.
2) Rebuilt workspace with current version of projects.
3) Rebuilt workspace with previous revision of projects.
4) New USB cable.
5) Programming with computer with running on battery.
6) Confirmed the code security password values in CCS are set to all FF. Read the values back from one of the boards via CLI and confirmed they were all set to FF.
7) Power supply looks ok. Scope trace attached showing Vcc, EMU-0, EMU-1, and _TRST. This is triggering on _TRST during a programming attempt.
We have a new XDS560 and cable on the way and we will try those out as soon as they arrive.
Finally here is the log from a connection test:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Start: Spectrum Digital XDS560V2 STM USB Emulator_0]
Execute the command:
%ccs_base%/common/uscif/dbgjtag.exe -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity
[Result]
-----[Print the board config pathname(s)]------------------------------------
C:\Users\enyar\AppData\Local\TEXASI~1\CCS\
ti\0\0\BrdDat\testBoard.dat
-----[Print the reset-command software log-file]-----------------------------
This utility has selected a 560/2xx-class product.
This utility will load the program 'sd560v2u.out'.
Loaded FPGA Image: C:\ti\ccsv7\ccs_base\common\uscif\dtc_top.jbc
The library build date was 'May 23 2017'.
The library build time was '18:35:20'.
The library package version is '6.0.628.3'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '6' (0x00000006).
The controller has an insertion length of '0' (0x00000000).
The cable+pod has a version number of '8' (0x00000008).
The cable+pod has a capability number of '7423' (0x00001cff).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.
-----[Print the reset-command hardware log-file]-----------------------------
The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the Nano-TBC VHDL.
The link is a 560-class second-generation-560 cable.
The software is configured for Nano-TBC VHDL features.
The controller will be software reset via its registers.
The controller has a logic ONE on its EMU[0] input pin.
The controller has a logic ONE on its EMU[1] input pin.
The controller will use falling-edge timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '2' (0x0002).
The utility logic has not previously detected a power-loss.
The utility logic is not currently detecting a power-loss.
Loaded FPGA Image: C:\ti\ccsv7\ccs_base\common\uscif\dtc_top.jbc
An error occurred while hard opening the controller.
-----[An error has occurred and this utility has aborted]--------------------
This error is generated by TI's USCIF driver or utilities.
The value is '-231' (0xffffff19).
The title is 'SC_ERR_PATH_IR_MEASURE'.
The explanation is:
The measured length of the JTAG IR instruction path is invalid.
This indicates that an error exists in the link-delay or scan-path.
[End: Spectrum Digital XDS560V2 STM USB Emulator_0]