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/TMDSEMU560V2STM-U: Host Connection error with error message from generated by TI's USCIF driver or utilities

Part Number: TMDSEMU560V2STM-U

Tool/software: Code Composer Studio

Hello,

I am having two XDS560V2 STM debuggers with me. I faced connection problem with both the debuggers. Below is the error on test connection. 

--------------------------------------------------------------------------------------------------

E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_conf
Download failed for file C:\ti\ccsv7\ccs_base\common\uscif\xds560v2.out

An error occurred while soft 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 '-250' (0xffffff06).
The title is 'SC_ERR_ECOM_EMUNAME'.

The explanation is:
An attempt to access the debug probe via USCIF ECOM has failed.

[End: Spectrum Digital XDS560V2 STM TRAVELER Emulator_0]

---------------------------------------------------------------------------------------------

I did a hard reset with reset button provided on debugger. With this, one of the debugger started working. Another is still failing with the above error even after reset. 

Please suggest any fixes. Below is some info from SDv2Config utility.

@BEGIN-3
addrConf=:55756
addrIo=:55755
boardRev=2
dtcName=none
epkRev=2.2.0.0
fpgaRev=none
ipAddress=none
ipBroadcast=none
ipClient=none
ipConfig=dhcp
ipGateway=none
ipHwaddress=none
ipLeasehours=none
ipLeasetime=none
ipMtu=none
ipNetmask=none
ipNetwork=none
ipPointopoint=none
productClass=XDS560V2
productName=XDS560V2 TRAVELER
safeMode=false
serialNum=00:0E:99:03:D3:C7
swBuildTime=Sep 30 2011 11:26:30
swRev=2.2.0.5
time=none
vendorName=Spectrum Digital
standbyEnable=true
standbyMinutes=20
@END-3

Thanks.

Regards,

Tejeswini

  • Tejeswini,

    Is the information above obtained from the faulty 560v2? If so, it matches quite closely what I have here, but unfortunately I don't have a 560v2 Traveler.

    Sd560v2Config said:

    @BEGIN-1
    addrConf=:55756
    addrIo=:55755
    boardRev=2
    dtcName=none
    epkRev=2.2.0.0
    fpgaRev=1.5
    ipAddress=none
    ipBroadcast=none
    ipClient=none
    ipConfig=dhcp
    ipGateway=none
    ipHwaddress=none
    ipLeasehours=none
    ipLeasetime=none
    ipMtu=none
    ipNetmask=none
    ipNetwork=none
    ipPointopoint=none
    productClass=XDS560V2
    productName=XDS560V2 STM DTC
    safeMode=false
    serialNum=00:0E:99:02:DA:AE
    swBuildTime=Sep 30 2011 11:26:30
    swRev=2.2.0.5
    time=none
    vendorName=Spectrum Digital
    @END-1

    Also, can you compare the LED settings with section 8.2 of the Sd560v2Config Help document? To access it, simply click on the button "Help" at the top left of the utility.

    You can also try to issue the "restore" command from inside the utility. Perhaps one of its settings may be off and preventing a proper connection. 

    Hope this helps,

    Rafael

  • Thanks for the reply Rafael.

    Yes. I received it from a faulty one. Only difference i see is with "fpgaRev". I see none. You see a version number.  does this mean something?

    Regards,

    Tejeswini

  • Tejeswini,

    I found a colleague that has a 560v2 Traveler and the dtc_conf also shows an absence of the fpgaRev parameter, which indicates this pod does not have a FPGA.

    At any rate, can you confirm if the output of the dtc_conf is similar between the two pods? Perhaps something else is different between them and could potentially prevent it from working.

    In the meantime, I am checking with Spectrum Digital to see if they spot something out of the ordinary.

    Regards,
    Rafael
  • Tejeswini,

    Can you confirm which pod do you have exactly?

    This one:
    www.spectrumdigital.com/.../

    Or this one:
    www.spectrumdigital.com/.../

    This is the one I have:
    www.spectrumdigital.com/.../

    Regards,
    Rafael
  • Hi Rafael,

    I have  this one: xds560v2 STM traveler  and   ths one: xds560v2 STM both. 

    1)  xds560v2 STM :

    DTC_Conf is same as you sent. There is no difference.

    Below is the snapshot of error. 

    On power on

    Activity-1 LED : ON for few seconds 
    State-3 and State-2: ON 
    On Connect,
     
    State-1 LED : off
    State-2 LED : On (orange) 
    State-3 LED : On (Red)
    Activity-3 : off
    Activity-2: blinks once 
    Activity-1: blinks 4 times 
    On trying "restore", below error is received. 
     
     
    On poweron,
    Activity-1 is on for few seconds then blinks thrice 
    State-3 is on (red). 
    All other are off.
    On trying to connect,  
    Activity-1 and Activity-2 blink and go off. 
    State-2 and State-3: On
    State-1: Blinks and goes off. 
     Restore from utility is successful unlike first emulator. DTC_Conf is as posted previously. 
    However, I am not able to run DbgJtag tests on both. Using board data file generated under (AppData\Local\Texas Instruments\CCS\ti\2\0\BrdDat\ccBoard0.dat) Utility says invalid options to DbgJtag. 
    Please let me know if any other info is required. 
    Thanks.
    Regards,
    Tejeswini
  • Tejeswini,

    Please apologize for the delay.

    I have the xds560v2 STM and my observation is identical to yours, including the "restore" error. Given the differences between the outputs of the dtc_conf get commands we got before, I suspect this is a bug in the tool from Spectrum Digital.

    Since I don't have a xds560v2 STM traveler, I can't validate your results. However, the specific error you are getting is due to a possible issue with your target board not being properly powered. That or something wrong with the cable between the pod ↔ target board or even something wrong with the pod itself.  

    That said, any command I use from the DbgJtag tab yields an error as well, which also indicates a bug with the Spectrum Digital utility.

    Simply to validate the process, if you open a command line you can issue the following command: 

    C:\ti\ccsv8\ccs_base\common\uscif>dbgjtag -X emulator,driver=sd560v2u,ioport=0 -Y reset -S pathlength -S integrity

    This is equivalent to the tests performed by the CCS "Test Connection" button. 

    If this test works fine, you should start suspecting there is something not right with the CCS Target Configuration File itself. 

    I will inform Spectrum Digital of the issues with their utility. 

    Regards,

    Rafael

  • Thank you Rafael.

    Looks like problem is with the pod itself. So, we are shipping them to spectrum digital for repair. Both of these were working with the same target before. 

    And, both stopped working at same time.  So, I am not sure what potentially caused problem. 

    Regards,

    Tejeswini

  • Tejeswini,

    Interesting; you mentioned that one of your XDS560v2s was working - did anything change since then?

    One additional detail is to double-check the small board at the front end of the JTAG connector - it can be easily inverted with disastrous results (I have done this in the past).

    All in all, I hope the repairs get done quickly.

    Regards,
    Rafael
  • Rafael,

    Nothing changed since then. One is working which i am using currently with target. Other two (traveler and STM mentioned in previous post are faulty) are being shipped for repair.

    Yes. I found that one of the small boards at the front end of connector was not working. So, I replaced it with a working one. Still connection failure is noticed.

    Thanks!

    Regards,
    Tejeswini
  • Tejeswini,

    Thank you for the clarification. Feel free to contact us back if you need additional help.

    Regards,
    Rafael
  • Sure. Thank you for the support.

    Regards,
    Tejeswini