Other Parts Discussed in Thread: TMS320F28377D,
Tool/software: Code Composer Studio
We are upgrading from version 3.4 to 5.1 on a station that has multiple XDS200 devices hooked up trying to program multiple TMS320F28377D devices. We have used 5.1 on single-up stations w/o issue.
Using the UniFlash GUI I can program one of the 4 boards (the one that corresponds to index 0) but not the other 3. And I can use dslite (like explained below) when all 4 are hooked up but only index "0" works.
Some details:
- When programing in a multi-up setup, we use the “xds2xx_conf.exe” file to try to figure out which programmer “index” is connected to which board. This exe works fine w/ 3.4 but it doesn’t seem to work properly w/ 5.1 We call this exe w/ params: “get xds2xxu 0” (and then 1, 2, 3 for the 4 positions in the station) and parse the output to map the programmer to head (since the index value can change when rebooting the PC or power-cycling the programmer). When this is called w/ 5.1 the exe hangs for 1,2,3 and doesn't output anything. I was able to replicate the issue manually – running “xds2xx_conf.exe get xds2xxu 1” (“xds2xx_conf.exe get xds2xxu 2” or ““xds2xx_conf.exe get xds2xxu 3”) will not output any information and will hang (I have to ctrl+D to stop the exe). “xds2xx_conf.exe get xds2xxu 0” works fine.
- Once we know which “index” corresponds to which programmer, we use the dslite exe/bat to program each board. We pass the following the parameters: “--log DSP_PLC1_Load_Log.txt --verbose --config "DSPConfig_X.ccxml" --core 1 --flash XYZ.srec -r 1”. The “DSPConfig_X.ccxml” is different for each position and the X corresponds to the “Index”. The ccxml file is only slightly different between each file on the following lines:
-
- “<instance XML_version="1.2" desc="Texas Instruments XDS2xx USB Debug Probe_0" href="connections/TIXDS2XXUSB_Connection_0.xml" id="Texas Instruments XDS2xx USB Debug Probe_0" xml="TIXDS2XXUSB_Connection_0.xml" xmlpath="connections"/> <connection XML_version="1.2" id="Texas Instruments XDS2xx USB Debug Probe_0">”
- As part of this I had to copy the “TIXDS2XXUSB_Connection.xml” file and create new ones with _0, _1, etc. in the connections folder. Each file was only slightly different – I changed the Value parameter in the line below to match the index (this is what we did for 3.4).
- <property desc="Debug Probe I/O Port Number" Type="stringfield" Value="1" id="portAddr1" ID="USCIF.ECOM_PORT"/>
I have replicated this on both Windows 7 and 10. Thanks.