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.

Problem with Hercules Emulation 5.5.2 Spectrum Digital XDS510

Other Parts Discussed in Thread: RM48L952, UNIFLASH

Hello all

Due to unstable operation during debugging with RM48 and Spectrum Digital XDS510 USB Plus I updated the Hercules Emulation Tools to 5.5.2 (on CCS 5.5).

Now debugging and programming is not working at all because the target configuration file (.ccxml)  is not valid anymore. If I try to create a new configuration no Processor can be selected if I choose Spectrum Digital XDS510USB Emulator.

Is there any solution to this problem?

  • Hi Fabian,

    I just applied the Hercules Emu 5.5.2 update. Everything still works fine. Could your provide your old ccxml file (the one that now doesn't work)? Also are you using CCSv5.5?

    Thanks

    ki

  • Hi ki, the .ccxml file looks like this:

    <?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 XDS510USB Emulator_0">
            <instance XML_version="1.2" desc="Spectrum Digital XDS510USB Emulator_0" href="connections/SD510USB_Connection.xml" id="Spectrum Digital XDS510USB Emulator_0" xml="SD510USB_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Spectrum Digital XDS510USB Emulator_0">
                <instance XML_version="1.2" href="drivers/sdgoicepickusb_c.xml" id="drivers" xml="sdgoicepickusb_c.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/sdgocs_dapusb.xml" id="drivers" xml="sdgocs_dapusb.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/sdgocortexRusb.xml" id="drivers" xml="sdgocortexRusb.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="RM48L952_0" href="devices/rm48l952.xml" id="RM48L952_0" xml="rm48l952.xml" xmlpath="devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>

    It seems that some files are not "reachable" anymore...

  • Yes this file works fine for me.

    Are you using CCSv5.5 + Hercules Emu update 5.5.2?

  • I completely reinstalled CCS5.5 and updated afterwards to Hercules Emu update 5.5.2!

    Now, the *.ccxml is correctly parsed, but the download of the file is not possible. It fails with the following message:

    IcePick: Error initializing emulator
    IcePick: Power Failure on Target CPU
    Dap: Power Failure on Target CPU
    IcePick: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
    Dap: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
    CortexR4: Trouble Reading Register REG_ENDIAN: Error 0x80002084/-1250 Fatal Error during: Register, Target Communication, Control,  Device driver: Lost USB connection to emulator. You should ABORT and restart to re-establish the USB link.  
    CortexR4: GEL Output:     Memory Map Setup for Flash @ Address 0x0CortexR4: GEL: Target must be connected before calling the function

    Connection test inside ccs outputs the following:

    Start]

    Execute the command:

    %ccs_base%/emulation/drivers/sdjtag.exe -f %boarddatafile% -v -X reset -X scantest

    [Result]

    ** BoardFilePath: C:\Users\FNENNI~1\AppData\Local\.TI\479879008\0\0\BrdDat\testBoard.dat
    ** Resetting Emulator
     -- Emulator is Reset
    ** Emulator Scan Test
     -- Found JTAG IR Length of 6
     -- Found 1 device(s) in the scan chain

    [End]

    If i try to download using uniflash (same ccxml),  everything works perfectly fine!

  • Hi Fabian,

    Sorry for the tardy response on this.

    The output of sdjtag confirms you have a solid JTAG connection between your PC and the target.

    Fabian Nenniger1 said:
    If i try to download using uniflash (same ccxml),  everything works perfectly fine!

    What version of UniFlash are you using? It is the stand alone version correct?

    Thanks

    ki