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.

CCS6 DSK5510 Wownt Connect

This should be really simple. For years I had an install with CCS 3.3 and DSK5510 working with no issue. I have had to move PCs and installed CCS6 on Windows XP (no option of upgrading atm).

I have plugged the DSK5510 in and run the diagnostics to check the driver (from spectrum digital) is installed. Everything works OK. I then ran CCS 6.0.1, selected C551X and DSK5510, create a new project and compiled. Switched into debug but all the options under run are grayed out.

I have spent hours trying to work out whats wrong but theres simply not enough debug output to understand the problem.


Then I click on DSK5510.ccxml and try to work out if theres a connection problem, the test connection is grayed out. Ive tried every emulator option in the list but I know its supposed to be "Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator"

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0">
        <instance XML_version="1.2" desc="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0" href="connections/SDDSKUSB_Connection.xml" id="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0" xml="SDDSKUSB_Connection.xml" xmlpath="connections"/>
        <connection XML_version="1.2" id="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0">
            <instance XML_version="1.2" href="drivers/sdgo5510dsk.xml" id="drivers" xml="sdgo5510dsk.xml" xmlpath="drivers"/>
            <platform XML_version="1.2" id="platform_0">
                <instance XML_version="1.2" desc="DSK5510_0" href="boards/dsk5510.xml" id="DSK5510_0" xml="dsk5510.xml" xmlpath="boards"/>
            </platform>
        </connection>
    </configuration>
</configurations>

When I move into debug mode and click debug, it looks for the emulator and reports Error initializing emulator

It would be really nice if SOME debug could be displayed... ANYTHING! I know the device is working, Im setting the emulator to what is suggested. Ive compiled the code and switched into debug... what more can I do?


Please can someone give me some clue as to why this is not working. I know its an older DSK but the device is used in so many products; has someone tested this?

  • If you are using the TMS320VC5510 DSK, then you should not use "ezDSP onboard USB emulator". There is only a 14-pin JTAG emulator on the C5510 DSK.

    Regards.

  • Sorry I must have confused the situation. I have been using the DSK5510 with onboard emulator for years

    http://www.spectrumdigital.com/product_info.php?&products_id=108

    "Embedded USB JTAG controller with plug and play drivers, USB cable included"

    What option should I be using to use the onboard JTAG via USB on the PCB?

    Other comments on this forums say: "Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator"

  • BTW: thanks for the quick response.

    Also, where do I add *.gel scripts in this new enviroment. Ive search google but found nothing. The closest I found was a spectrum digital install guide with a tab I dont seem to have in debug mode. I presume they are still supported as the initialisation script in ti\ccsv6\ccs_base\emulation\boards\dsk5510\gel

    For the moment I have just added it to the project files but Ive no idea if this is correct, although Im not there yet.

  • Sorry. There is USB on-board emulator supported. Is there any reason to use CCS6.0.1? I have only CCS5.5.0 installed. I have to spend more time on this.

    Regards.

  • Only becuase it was the latest so I assumed most supported/bug fixes/development time (and it takes a while to download large files here).

    I assume Im doing something stupid as I read a post on here, which I cant find now, where the guy said he had it running (problems with something else). So it didnt help but seemed to suggest CCS 6 and the DSK5510 works.

  • Aside: gel script for anyone finding this post and wondering.

    Click on DSK5510.ccxml

    Its specified under advanced, look to the right of the JTAG chain config and its in a browse box:

    E.g. ..\..\emulation\boards\dsk5510\gel\dsk5510.gel

  • Something else I should mention is that I installed the driver from \dsk5510\specdig\xds510usb
     
    from the drivers on spectrum digitals website: 

    http://c5000.spectrumdigital.com/dsk5510/files/dsk5510_setup.exe


    I did look for drivers in the CCS 6 install but couldnt find any.

  • It would be great if when the user interacted with *.ccxml dialog, a console window showed what was happening. The problem with just graying out buttons is that users dont have a clue whats going on. Currently Im trying to work out what the problem is via ti\ccsv6\ccs_base\common\uscif\dbgjtag


    If you could test CCS6 with the board (or another DSK from spectrum digital) to see if it works out the box I would be grateful.

  • I found the note in C:\tools\ti\ccsv6\ccs_base\emulation\specdig\xds510usb

    So Ive reinstalled the device drivers for the board from: C:\Program Files\SpectrumDigital\Emulation\Drivers\i386

    This hasnt made a difference. The basic problem is the USB enumeration box doesnt appear which I presume is why the C55xx_0: Error initializing emulator error appears.


    Ive verified the board is still OK by running the 5510DSK Diagnostics from DSK5510 installed files. This still runs and reports all tests passed.

  • For some reason, and all I did was reset the board which Ive done many times before, I get:

    C55xx_0: GEL Output: Gel StartUp Complete.
    C55xx_0: File Loader: Data verification failed at address 0x00FFFF00 Please verify target memory and memory map.
    C55xx_0: GEL: File: C:\src\workspaceccs6\fec\Debug\test.out: a data verification error occurred, file load failed.


    This is using the very simple example. Why is nothing ever simple...

  • Now all working. I believe what may have happened is that the old driver could have been in use until I reset the board. Thats the last significant thing Ive done since resetting and as Im supplying power via a power supply, the board wouldnt have been reset during the reboot after the driver change. Not sure how this would have changed some state on the board as I would have expected the change to effect PC side only. 

    So INSTALL DRIVERS FROM C:\Program Files\SpectrumDigital\Emulation\Drivers\

    I looked around the CCS6 install and couldnt find the drivers so assumed the drivers from the website would suffice.

    I just hacked the linker error from some previous code:





    MEMORY { MMR: o = 0x000000 l = 0x0000c0 VECS: o = 0xFFFF00 l = 0x000100 DARAM: o = 0x200, l = 0xfe00 SARAM: o = 0x20000, l = 0x20000 VECT: o = 0x100, l = 0x100 SARAM_A: o = 0x10000, l = 0x10000 SARAM_B: o = 0x40000, l = 0x10000 SDRAM: o = 0x50000, l = 0x3b0000 FLASH: o = 0x400000, l = 0x80000 ROM: o = 0xFF8000 l = 0x007F00 CE0: o = 0x050000 l = 0x3B0000 CE1: o = 0x400000 l = 0x400000 CE2: o = 0x800000 l = 0x400000 CE3: o = 0xC00000 l = 0x3F8000 } SECTIONS { vectors (NOLOAD) > VECS /* If MPNMC = 1, remove the NOLOAD directive */ .cinit > DARAM .text > DARAM .stack > DARAM .sysstack > DARAM .sysmem > DARAM .data > DARAM .cio > DARAM .bss > DARAM .const > DARAM }

  • Glad this is resolved!

    Thank you for sharing your experiences. It is very useful for others to come. Please "Verify Answer" for closure.

    Regards.