Part Number: TMS320F28032
Tool/software: Code Composer Studio
Hi,
I just soldered two boards and they have both the same failure. I can't debug, but the test connection sequence is done successfully:
So here is the log from the test sequence:
[Start] Execute the command: %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity [Result] -----[Print the board config pathname(s)]------------------------------------ /Users/maxe/.ti/ccs930/1/0/BrdDat/testBoard.dat -----[Print the reset-command software log-file]----------------------------- This utility has selected a 100- or 510-class product. This utility will load the adapter 'libjioxds110.dylib'. The library build date was 'Nov 25 2019'. The library build time was '15:02:58'. The library package version is '8.4.0.00006'. The library component version is '35.35.0.0'. The controller does not use a programmable FPGA. The controller has a version number of '5' (0x00000005). The controller has an insertion length of '0' (0x00000000). 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 XDS110 with USB interface. The link from controller to target is direct (without cable). The software is configured for XDS110 features. The controller cannot monitor the value on the EMU[0] pin. The controller cannot monitor the value on the EMU[1] pin. The controller cannot control the timing on output pins. The controller cannot control the timing on input pins. The scan-path link-delay has been set to exactly '0' (0x0000). -----[Perform the Integrity scan-test on the JTAG IR]------------------------ This test will use blocks of 64 32-bit words. This test will be applied just once. Do a test using 0xFFFFFFFF. Scan tests: 1, skipped: 0, failed: 0 Do a test using 0x00000000. Scan tests: 2, skipped: 0, failed: 0 Do a test using 0xFE03E0E2. Scan tests: 3, skipped: 0, failed: 0 Do a test using 0x01FC1F1D. Scan tests: 4, skipped: 0, failed: 0 Do a test using 0x5533CCAA. Scan tests: 5, skipped: 0, failed: 0 Do a test using 0xAACC3355. Scan tests: 6, skipped: 0, failed: 0 All of the values were scanned correctly. The JTAG IR Integrity scan-test has succeeded. -----[Perform the Integrity scan-test on the JTAG DR]------------------------ This test will use blocks of 64 32-bit words. This test will be applied just once. Do a test using 0xFFFFFFFF. Scan tests: 1, skipped: 0, failed: 0 Do a test using 0x00000000. Scan tests: 2, skipped: 0, failed: 0 Do a test using 0xFE03E0E2. Scan tests: 3, skipped: 0, failed: 0 Do a test using 0x01FC1F1D. Scan tests: 4, skipped: 0, failed: 0 Do a test using 0x5533CCAA. Scan tests: 5, skipped: 0, failed: 0 Do a test using 0xAACC3355. Scan tests: 6, skipped: 0, failed: 0 All of the values were scanned correctly. The JTAG DR Integrity scan-test has succeeded. [End]
And here the error, which I get on starting a debug session:
C28xx: Failed CPU Reset: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.4.0.00006) C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.4.0.00006) C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.4.0.00006) C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1 at (ST1&~(0x0100)) [f28032.gel:292] at C28x_Mode() [f28032.gel:32] at OnReset(-(1)) C28xx: GEL: Error while executing OnTargetConnect(): Reset failed: retcode=-1 at GEL_Reset() [f28032.gel:93] at OnTargetConnect() C28xx: Flash Programmer: Warning: The configured device (TMS320F28032), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file. C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.4.0.00006) C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.4.0.00006) C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.4.0.00006) C28xx: GEL: Error while executing OnReset(-1): Target failed to read register ST1 at (ST1&~(0x0100)) [f28032.gel:292] at C28x_Mode() [f28032.gel:32] at OnReset(-(1)) C28xx: GEL: Error calling OnPreFileLoaded(): Reset failed: retcode=-1 C28xx: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0xe7: (Error -1137 @ 0x8002) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.4.0.00006) C28xx: File Loader: Verification failed: Target failed to write 0x08000@Program C28xx: GEL: File: /Users/maxe/git/Ridetronic/MotorController/workspace_RT_Uboot/test_pcb/Debug/test_pcb.out: Load failed.
So I see here a few things: Why can the test connection program toggle the reset pin and the debug session can not ? So do I have a HW problem or a SW problem? Can you read that out of the logs?
I purchased this controller: TMS320F28032PAGQ
And here is my target xml file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="configuration_0">
<instance XML_version="1.2" desc="Texas Instruments XDS110 USB Debug Probe" href="connections/TIXDS110_Connection.xml" id="Texas Instruments XDS110 USB Debug Probe" xml="TIXDS110_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe">
<instance XML_version="1.2" href="drivers/tixds510c28x.xml" id="drivers" xml="tixds510c28x.xml" xmlpath="drivers"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="TMS320F28032" href="devices/f28032.xml" id="TMS320F28032" xml="f28032.xml" xmlpath="devices"/>
</platform>
</connection>
</configuration>
</configurations>







