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.

USB communication with Jtag

I have a 6713 DSK and a 6455 DSK that connect to the PC with USB.

I also have a 6455 DSK that connects via a XDS510USB Jtag.

All the boards have the same issue and that is that they only stay connected to CCS for about 10 minutes at a time then I get an error like "Device driver: Lost USB connection to emulator."

 

Does anyone else have this problem? This is a pain because I'm trying to run and extended memory test and the longest it can run is about 10 minutes. This also happens if no code is running on the board. If I hit connect and then just work on code without ever loading any code to the board it will still disconnect.

 

Any ideas?

Ringo

 

  • Hi,

    I'm assuming that you have the full version of CCS, than you can get the latest drivers from:

    http://support.spectrumdigital.com/

    under JTAG emulation.

    But there is a number of things that can be generatind this error.  It could be a hardware problem, your USB port. Can you send the commplete error?

     

     

     

  • Yes I have ccs3.3 full version.

    Here is the error I get on the 6455

    Error: Error 0xA00020A0/-1250 Error during: Execution, Target Communication, Control,  Device driver: Lost USB connection to emulator. You should ABORT and restart to re-establish the USB link. 

    Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint opcodes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging.

  • This sounds like something that could also be a PC specific or USB specific problem, I have seen cases where emulators can work properly when directly connected versus through a USB hub, sometimes low quality interconnects can lead to these sorts of sporadic failiures, you may also just want to try another physical USB port directly connected to your PC.

  • So here are the steps I suggest:

    - check that your actual hardware connections are good (see Bernie's post as well) - because all the boards are failing, it could be a hardware problem...

    - get the most current drivers (my prevous post);

    - The driver I/O address is setup for port address 510h for the USB port by default in  USB driver which is usually the case. Make sure your USB port on your PC has port address 510h.

    - You van try SD Config utility from http://emulators.spectrumdigital.com/utilities/sdconfig/ Once you have downloaded this you can run this utility and check your jtag connection. You will need to be on the correct port number and then Test the emulator. It will then tell you if it detects a jtag connection or not. If you are not able to sense a jtag connection please power down the board and CCS. Reboot and try it again.

    - You can try to contact Spectrum digital as well as they make the boards and the drivers (support@spectrumdigital.com)

  • Changing to another USB port on the PC seems to have fixed the problem.

    Thanks

    Ringo