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.

XDS510USB emulator with TMS320VC5409

Other Parts Discussed in Thread: CCSTUDIO, TMS320F2810

I have a legacy board which uses the TMS320VC5409 DSP and tried to connect to it using a Spectrum Digital XDS510 USB PLUS emulator.

Using CCS3.1 Setup this emulator did not seem to support this device. Is there a patch available or do I need to use a different emulator (e.g. XDS510PP)

Nigel Hale (NHale@slb.com)

  • Hi Nigel,

    Nigel Hale said:
    Using CCS3.1 Setup this emulator did not seem to support this device.

    Older versions of CCS did not come with 3rd party emulator support. You will need to get them separately from the vendor:

    http://support.spectrumdigital.com/ccs31/

    Thanks

    ki

  • Hi Ki,

    Thanks for the reply. I have installed the Spectrum Digital drivers for CCS 3.1 and can detect the DSP using the SDConfig utility. However CCS 3.1 cannot connect to the DSP.

    Regards,

    Nigel

  • Nigel Hale said:
    I have installed the Spectrum Digital drivers for CCS 3.1 and can detect the DSP using the SDConfig utility

    Please post the results of the JTAG connectivity test from SDConfig

    Nigel Hale said:
    However CCS 3.1 cannot connect to the DSP.

    Please provide more details (exact error message, etc).

    Thanks

    ki

  • Ki,

    In CCS3.1 Setup the only available option for a 54xx processor and XDS510usb emulator is the DSK5416 board. So I selected this and changed the processor configuration to use c5409.gel. When I start CCS3.1 I get a message "Error adding memory map range,: End address is beyond target memory length". When I click OK CCS3.1 continues to start up. If I try Debug/Connect I get an error message

    Error connecting to the target:
    Error 0x80001200/-1052
    Fatal Error during: OCS, Target,
    Device driver: Emulator Controller not responding
    The targets should be power cycled
    or hard reset followed by an emureset and reconnect to each target.
    Then it is recommended to RESET EMULATOR.  This will disconnect each
    target from the emulator.


    Sequence ID: 0
    Error Code: -1052
    Error Class: 0x80001200
    I/O Port = 510

    Board Name: C5416 DSK via XDS510 USB Emulator
    Cpu Name: DSP_C54xx

    Abort:  Close Code Composer Studio.
    Retry:  Try to connect to the target again.
    Cancel:  Remain disconnected from the target
    Diagnostic: Run diagnostic utility.

    I then tried cycling power on the target board and clicking on Debug/Reset emulator, as suggested in the error message, but it makes no difference.

    I suspect I am doing something wrong in CCS3.1 Setup

    Regards,

    Nigel

  • Nigel Hale said:
    In CCS3.1 Setup the only available option for a 54xx processor and XDS510usb emulator is the DSK5416 board. So I selected this and changed the processor configuration to use c5409.gel.

    This should work in theory. They both use the same c54x driver.

    Nigel Hale said:
    When I start CCS3.1 I get a message "Error adding memory map range,: End address is beyond target memory length".

    The startup gel file for c5409.gel must have an error with one of the memory ranges. It should not impact the connection to the target however.

    Did you run the diagnostic utility (SDConfig)? You should see output like:


    ** Using emulation application from directory c:\ccstudio_v3.1\drivers
    ** Checking for a valid emulator/eZdsp

      $$ You are connected to:
      $$ EmuProductName=XDS510USB
      $$ EmuPortAddr=0x510
      $$ EmuPortMode=USB
      $$ ProductId=510
      $$ ProductVersion=86


    ** 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 8

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

    ---------

    A restart of your PC may also help

    ki

  • Ki,

    I have now got CCS3.1 to connect to a TMS320VC5409 target using the set up I described.

    I now have a problem with another set up where I need to re-flash a TMS320F2810. I can connect to it with a laptop running CCS3.3 via an XDS510USB PLUS but I cannot erase the on-chip flash. Neither does the Frequency Test option work (no pulses seen on the PWM output selected). The erase process hangs at "erase in progress". I can sometimes erase individual sectors of the flash memory if I select one sector at a time but this does not work for most of the sectors.  I am using version 2.10 Flash API and the device is silicon revision G. Any ideas?

    Regards,

    Nigel