This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C1294NCPDT: TM4C: Open for advice how to debug/trace for difficult bug

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: AM1802

Tool/software: Code Composer Studio

Ref http://e2e.ti.com/support/tools/ccs/f/81/t/875444

I have similar problem with XDS200 with CCS Version: 9.3.0.00012 with XDS2xx USB Onboard Debug probe_0/CS_DAP_0

Error initializing emulator:
The XDS200 update cannot work if more than one XDS2xx probe is attached. Click "Cancel" then unplug the other XDS2xx probes and restart the debug session to update the firmware.
Click "Retry" to retry without doing the update.
(Emulation package 9.1.0.00001)


I tried to read forum ref 875444 but not clear what step to resolve this problem, I have done the following test

I checked the device manager and found no 2nd XDS200. Only XDS2xxx emulator and User CDC.

I have also run <Verify> no obvious error.

I'm currently working on project and appericate immedent solution for this bug/issue. 

=================================================================

Microsoft Windows [Version 10.0.18363.720]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Windows>cd C:\ti\ccsv8\ccs_base\common\uscif\xds2xx

C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>xds2xx_conf get xds2xxu 0
boardRev=1
ipAddress=0.0.0.0
ipConfig=dhcp
ipGateway=0.0.0.0
ipNetmask=0.0.0.0
productClass=XDS2XX
productName=XDS200
serialNum=00:0E:99:03:99:DB
swRev=1.0.0.8
hostCPU=AM1802
emuCtrlType=Bit bang
extMemType=SDRAM
portUSB=true
portENET=false
portWIFI=false
portRS232=false
EnableUSBSerial=false
CurrentMeasure=false

C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>
C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>xds2xx_conf update xds2xxu 0 xds200_firmware_v1008.bin

C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>xds2xx_conf program xds2xxu 0 xds200_cpld_v1008.xsvf

C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>xds2xx_conf boot xds2xxu 0

C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>xds2xx_conf get xds2xxu 0xds2xx_conf get xds2xxu 0xds2xx_conf get xds2xxu 0
Error : Failed to open port connection : xds2xxu : 13
Error : test failed

C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>xds2xx_conf get xds2xxu 0
boardRev=1
ipAddress=0.0.0.0
ipConfig=dhcp
ipGateway=0.0.0.0
ipNetmask=0.0.0.0
productClass=XDS2XX
productName=XDS200
serialNum=00:0E:99:03:99:DB
swRev=1.0.0.8
hostCPU=AM1802
emuCtrlType=Bit bang
extMemType=SDRAM
portUSB=true
portENET=false
portWIFI=false
portRS232=false
EnableUSBSerial=false
CurrentMeasure=false

C:\ti\ccsv8\ccs_base\common\uscif\xds2xx>

 

  • Hi, 

    From your description, I have the impression you have a XDS200 that you are trying to connect with CCSv9.3 and the automatic update is failing - is that correct?

    If so, I see you are trying to revert back to the previous version of the firmware. Since CCSv9.3 will not work with this firmware version, can you try to update to the version that is supplied with v9.3 using the command line? I see you are following the procedure using ccsv8 and it is being successfully updated.  

    (the error Error : Failed to open port connection : xds2xxu : 13 is due to the command line being mangled)

    Regards,

    Rafael

  • From your description, I have the impression you have a XDS200 that you are trying to connect with CCSv9.3 and the automatic update is failing - is that correct?

    >>>YES which failed because it see two XDS200 but only one is connected to USB

    >>> I'm not trying to revert back to the previous version but I have no clue what I'm doing in order to fix this problem

    .....can you try to update to the version that is supplied with v9.3 using the command line? I see you are following the procedure using ccsv8 and it is being successfully updated.  

    >>> Even I went thro' this procedure it still pop up message that it requires firmware update with same error as it see two XDS200 but only one is plugged.

  • Hi,

    richard payne said:
    Even I went thro' this procedure it still pop up message that it requires firmware update with same error as it see two XDS200 but only one is plugged.

    I see; interestingly enough, the procedure you showed is using the previous version of CCSv8. Just to confirm, did you try the same procedure with CCSv9.3 or even the recently released CCSv10? The procedure I am following from the command line of CCSv9.3 is shown at the end of this post. 

    The firmware should not trigger the update from the IDE - I tested this here and there was neither a trigger nor a continuous need to update it. In this case, I am really unsure what may be happening in your case.  

    One detail, however: I noticed the update from the IDE does not account for the time the probe needs to properly reboot, thus failing when trying to connect. In this case, you can either wait a little longer or terminate teh debug session and restart it. 

    Regards,

    Rafael 

    C:\ti\ccs930\ccs\ccs_base\common\uscif\xds2xx>dir
    Volume in drive C is Windows
    Volume Serial Number is 42C6-BAEA

    Directory of C:\ti\ccs930\ccs\ccs_base\common\uscif\xds2xx

    02/03/2020 14:55 <DIR> .
    02/03/2020 14:55 <DIR> ..
    13/02/2020 20:29 1.588 app_cpld.bin
    13/02/2020 20:29 4.836 app_currentmeasure.bin
    13/02/2020 20:29 6.833 ReadMe.txt
    13/02/2020 20:29 1.469 update_xds2xx.bat
    13/02/2020 20:29 42.996 xds200_firmware_v1009.bin
    13/02/2020 20:29 22.846 xds220_cpld_iso_v1009.xsvf
    13/02/2020 20:29 92.822 xds220_firmware_iso_v1009.bin
    13/02/2020 20:29 92.822 xds220_firmware_v1009.bin
    13/02/2020 20:29 100.352 xds2xx_conf.exe
    13/02/2020 20:29 22.846 xds2xx_cpld_v1009.xsvf
    13/02/2020 20:29 22.016 xds2xx_currentmeasure.exe
    13/02/2020 20:29 52.736 xds2xx_enetconf.dll
    13/02/2020 20:29 14.336 xds2xx_portchk.exe
    13/02/2020 20:29 54.784 xds2xx_usbconf.dll
    14 File(s) 533.282 bytes
    2 Dir(s) 40.399.872.000 bytes free

    C:\ti\ccs930\ccs\ccs_base\common\uscif\xds2xx>update_xds2xx.bat xds200
    .
    Updating Firmware ...
    .
    Rebooting, please wait ...
    .
    Updating CPLD ...
    .
    Reading Configuration ...
    .
    Check swRev is 1.0.0.9 or higher.
    .
    boardRev=1
    ipAddress=0.0.0.0
    ipConfig=dhcp
    ipGateway=0.0.0.0
    ipNetmask=0.0.0.0
    productClass=XDS2XX
    productName=XDS200
    serialNum=S200-000E990394B1
    swRev=1.0.0.9
    hostCPU=AM1802
    emuCtrlType=Bit bang
    extMemType=SDRAM
    portUSB=true
    portENET=false
    portWIFI=false
    portRS232=false
    EnableUSBSerial=true
    CurrentMeasure=false
    .
    Press any key to continue . . .
    C:\ti\ccs930\ccs\ccs_base\common\uscif\xds2xx>