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.

Setup of CCSv4 for DSK6455

Other Parts Discussed in Thread: CCSTUDIO, TMS320C6455

Hi,

I've got a DSK6455 and I've been using CCSv3.2 as installed from the DSK CD.

I want to use CCSv4 because I've no real investment in CCSv3 so going to the newest version seems obvious.

Unfortunately I can't to the DSK using CCSv4. I guess this is a SD emulator problem but I hoping someone on this forum will be able to help me out!

Here's what I've done so far:

  • Read the SD installation notes (http://support.spectrumdigital.com/ccs40/) which say install CCSv4
  • Downloaded and installed CCS V4.0.1 (Platinum)
  • Connected the DSK and told the driver install dialog to look in C:\Program Files\SpectrumDigital\Emulation\Drivers\i386
  • Driver install appeared to go okay
  • Noted that there was no "Setup CCStudio v4.0" desktop or start menu icon as mentioned in SD guide
  • Ran CCSv4 and selected File|New|Target Configuration File
  • I wasn't sure what to select from the Connection list but selected SD DSK-EVM-eXdsk onboard USB emulator because that allowed me to check DSK6455
  • Clicked Save
  • Returned to the project and tried to debug
  • Clicked Unblock when some security message about JavaVM appeared
  • Got various emulator/connection errors, cancelled all the errors
  • Ran SdConfigEx v4 from desktop icon
  • SdConfigEx v4 shows XDS510USB at 510, 511, 512 & 513.
  • Verfify Connection gives "XDS510-USB Emulator not connected/enumerated" for any of these
  • Couldn't see anything worth changing in SdConfigEx 
  • Ran DSK6455 Diagnostic Utility v3.2
  • Noted that it said "Emulator Address :0x540"
  • Spent some time messing around with connection types, SD notes, etc

Any hints, suggestions or thoughts greatly appreciated!

Thanks,

Matt

  • MattB said:
    Noted that there was no "Setup CCStudio v4.0" desktop or start menu icon as mentioned in SD guide

    It looks like they copy/pasted a lot of this from their CCS v3.x instructions. As you may or may not know the CCSetup utility was removed from CCSv4 (in v3.3 and earlier you had to set up a target before loading CCS whereas now this is all done as part of the debugger process).

    MattB said:
    I wasn't sure what to select from the Connection list but selected SD DSK-EVM-eXdsk onboard USB emulator because that allowed me to check DSK6455
    Under 'Connection' you should select 'Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator' and then under 'Board or Device' check the box next to DSK6455. This of course assumes that you are using the on-board emulation and not an external emulator.

    *edit* If you click the Advanced tab at the bottom of the .ccxml window you should see Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0 -> DSK6455_0 -> TMS320C6455 -> IcePick_C_0 -> subpath_0 -> C64XP_0 */edit*

    MattB said:
    Got various emulator/connection errors, cancelled all the errors
    It may help if you could post specific error messages as some of them are very easy to identify.

    MattB said:
    Verfify Connection gives "XDS510-USB Emulator not connected/enumerated" for any of these...
    Noted that it said "Emulator Address :0x540" 
    The DSK uses port 0x540 for the on-board emulation whereas an XDS510USB emulator uses port 0x510. You should use the DSK Diagnostic utility as you mention in a different bullet. 

    As long as the board is powered and the USB connection is plugged into the DSK6455 baseboard and PC you should be able to connect in a debug session. If this is not the case let me know (along with the emulation errors previously requested) and we can try to help out further.

  • TimHarron said:
    Under 'Connection' you should select 'Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator' and then under 'Board or Device' check the box next to DSK6455. This of course assumes that you are using the on-board emulation and not an external emulator.

    *edit* If you click the Advanced tab at the bottom of the .ccxml window you should see Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0 -> DSK6455_0 -> TMS320C6455 -> IcePick_C_0 -> subpath_0 -> C64XP_0 */edit*

    That's what I did and the Advanced tab looks like you suggest it should. I was a bit confused by the eZdsp name, I've not seen this term/brand name before, but I managed to do the l correct thing more by luck than judgement! I am using the on-board emulator, I've got the mezzanine plugged in and I've got CCSv3.2 installed and working.

    TimHarron said:
    It may help if you could post specific error messages as some of them are very easy to identify.

    Error connecting to the target:
    Error 0x80002240/-1041
    Fatal Error during: Initialization, OCS, Control,
    Device driver: Problem with the Emulation Controller.
    It is recommended to RESET EMULATOR.  This will disconnect each target from the emulator.  The targets should then be power cycled or hard reset followed by an emureset and reconnect to each target.

    TimHarron said:
    The DSK uses port 0x540 for the on-board emulation whereas an XDS510USB emulator uses port 0x510. You should use the DSK Diagnostic utility as you mention in a different bullet.

    I think this is where the problem lies, I don't really understand the SdConfigEx v4 and DSK6455 Diagnostic Utilities v3.2.

    When you say "I should use the DSK Diagnostic Utility" I don't understand what I'm using it for! Do you just mean "run DSK Diagnostic Utility" before CCSv4? And if so should I click any buttons?

    C:\Program Files\Texas Instruments\ccsv4\emulation\docs\releasenotes\sd_emu_releasenotes.html talks about using CCSv4 and a previous CCS version on the same PC and it says "select SdConfig". Although this document is talking about XDS510USB and not the DSK6455 on-board emulator it gives me the impression I should be doing something with SdConfigEx v4.

    SdConfigEx appears to know about XDS510USB and shows ports 510, 511, 512 & 513 but not the eZdsp on port 540. Although it does say it supports eZdsp on the printer port:

    Supports:
    Printer Port: XDS510PP, XDS510PP+, SPI515, eZdsp
    ISA Bus:      SPI510, XDS510
    PCI Bus:      SPI525
    USB Bus:      XDS510-USB

    I had a look at http://c6000.spectrumdigital.com/dsk6455/v2/ but the download appears the same as what I've got on the DSK product CD.

    Thanks,

    Matt

  • I've tried the following:

    • Restart Windows with DSK power off
    • Turn on DSK
    • Wait for beep as driver loads
    • Start DSK6455 Diagnostic Utility v3.2
    • Click Start
    • More beeps and a message from the drivers
    • Diagnostic fails with "Can't connect to target" message
    • Close DSK6455 Diagnostic
    • Start CCSv4
    • Select project to debug
    • Get error message:

    Error connecting to the target:
    Error 0x80002240/-173
    Fatal Error during: Initialization, OCS, Control,
    Error generated by SD scan controller module

    • Close CCSv4
    • Start CCSv3.2 with no problems

    Thanks,

    Matt

  • I'm now (almost) working with CCSv4!

    I removed all versions of CCS, I had installed CCSv3.2 because that's what comes on the product CD, and started again with CCSv4 Platinum. It was possible to select EVM6455 as described at http://support.spectrumdigital.com/ccs40/.

    Not having CCSv3.2 is a bit of a pain because all the example project have been removed.

    Something is still not right, either in my understanding or with the CCSv4 emulator drivers, because in the last 2 hours I haven't managed to successfully load and run 2 projects at the same time. At the moment my understanding is so poor I can't explain what my problem is; I shall have another go tomorrow.