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.

XDS510 USB PLUS, CCS 4 and TMS570

Hi,

I'm using the XDS510 USB PLUS JTAG emulator in combination with a TMS570 MCU. When I check the connection with the SDConfig utility a reset is possible and the connection can be verified via Emulator Test (see below). Using the nowFlash utility programming of flash is successful and works like it should.

In Code Composer Studio (v. 4.24.00033) I selected "Spectrum Digital XDS510USB Emulator" connection in the target configuration file (see screenshot). When I launch the TI Debug Mode (no Debug Launch!) and try to connect to the board I receive an error saying

"Error connecting to the target:
(Error -151 @ 0x0)
This utility failed to open the adapter for a custom emulator.
The adapter returned an error.
(Release 5.0.429.0)"

Edit: In the CCS Debugger Options I changed the CPU resolution options to "Connect to exact CPU". By debugging the project (Debug Launch) I receive a new error message:

"Error connecting to the target:
Error 0x80000244/-2131
Fatal Error during: Register, Initialization, OCS,
Cannot access register at 0x00000000"

I think I made the right settings in CCS. What else can I do to make CCS connect to the MCU?

Regards

Jonas

----------------------SDConfig---------------------------

** Checking emulator/eZdsp scan connection

** Emulator Test **

 $$ EmuProductName=XDS510USB

 $$ EmuPortAddr=0x510

 $$ EmuPortMode=USB

 $$ ProductId=510

 $$ ProductVersion=86

 ** Emulator Scan Test

   -- Found JTAG IR length of 6

   -- Found 1 JTAG device(s) in the scan chain

  • Jonas,

    The debug session being launched is for an XDS100v2 emulator (the title bar of the error message shows this).  How are you launching the debug session?  Try opening the Target Configurations View (from the view menu) and right clicking on the .ccxml file you want to use and select launch to make sure the correct one is being launched.

    I suspect that you have the XDS100v2 configuration setup as your default and that is what CCS is using.

     

    John

  • Hey JohnS,

    You are right: The debug session was launched with the "Target" tab =>"Launch TI Debugger" by me. When I open the debug session as you said I'll get the error message

     

    Error connecting to the target:

    Error 0x80000244/-2131

    Fatal Error during: Register, Initialization, OCS, 

    Cannot access register at 0x00000000

    It's the same error message when launching the "Debug Active Project" command. Debugging is still not possible. What else could I try?
  • Jonas,

    I would try resetting the emulator from SDConfig.  Another thing is to make sure SDConfig is not running when you are trying to connect in CCS.

    The message is coming from the Spectrum Digital driver, if those suggestions don't work you may need to contact their support team.  If you go to www.spectrumdigital.com under support at the bottom is a Helpdesk link.

     

    Regards,

    John

  • Hi all,

    after a while I got the connection with CCS 4 to the MCU working with XDS510 USB Plus Emulator (thanks to the SD support). This is how you do it:

     

     

    1. Open target configuration file of your project in CCS
    2. In Target Configuration File click on "Target Configuration" in the Advanced Setup area
    3. There select "Spectrum Digital XDS510USB Emulator" and change the TCK Frequency to 7 or try which frequency might work for you (see screenshot).
    4. Save your target configuration file
    5. Launch debug session

     

    Hope this helps.

     

    Regards

    Jonas