Post Go back to editing

CLDP not working

Category: Software
Product Number: ADSP-21593
Software Version: CCES 2.11.1

Hello,

I am trying to load my built ldr-File into the flash using the CLDP and the Button "Download loader file to board". I am working with CCES 2.11.1. The output on the console says that there was no error and the process is done:

But after resetting my board, the program is not executed.

When I instead use the CCES 2.11.0 and do the same command with the exact same project without changing anything, the program is executed after the downloading process.

The output on the console is the same in CCES 2.11.1 as in CCES 2.11.0.:

Downloading to device...
'Invoking: CrossCore SHARC Device Programmer'
cldp -proc ADSP-21593 -cmd prog -driver "C:\workspaces\cces_10.1\Flash_Treiber\21593flashtreiber_core1\Debug\21593FlashTreiber_Core1.dxe" -erase affected -emu ice-1000 -format bin -offset 0x0 -core 0 -file NGA_Core1.ldr
Target Emulation Debug Target
Platform ADSP-21593 via ICE-1000
Processor ADSP-21593
Core 0
Driver C:\workspaces\cces_10.1\Flash_Treiber\21593flashtreiber_core1\Debug\21593FlashTreiber_Core1.dxe
Program NGA_Core1.ldr
done
'Finished building: program_device'
' '

Is there something I am overlooking? 

I would be quite thankful if somebody could help me out.

Best regards,

Vitus

  • Hi Vitus,

    We could successfully boot the LED application in ADSP-SC594 EZ-kit in CCES 2.11.1. We are not facing any issue.

    To assist you better on this issue, please provide your comments on that.

    1. Before booting your application, we would suggest you to boot a simple LED Blink code to verify booting occurs correctly.
    2.Could please let us know which boot mode you are using?
    3. In CLDP command, Instead of using erase affected, please with erase all command and use core 1 instead of core 0.
    4. Try using "-cmd compare" in CLDP to compare data in the device memory to the data in a file and flash it. Let us know the console results.

    e.g.: cldp -proc ADSP-21593 -emu 2000 -driver "C:\Analog Devices\EV-SC59x_EZ-KIT-Rel2.0.0\EV-SC59x_EZ-KIT\Examples\Device_Programmer\Legacy_SPI_ISSI_Flash\EV-SOMCRR-EZKIT\21593\is25lp512m_dpia_21593_Core1\is25lp512m_dpia_21593_Core1.dxe" -cmd prog -erase affected -format bin -file LED_Blink_21593_Core1.ldr -cmd compare -format bin -file LED_Blink_21593_Core1.ldr

    Regards,
    Divya.P

  • 1. I created a Project, in which each of the two cores just blinks a certain LED. But same picture here, CCES 2.11.0 programs the flash successfully and the LEDs blink correctly, CCES 2.11.1 no LED blinks. Although the command given in the console is completely the same.

    2. I am using boot mode SPI master, boot format Binary and boot code 1.

    3. Also replacing -erase affected with -erase all does not change anything. In the project properties the core 1 is selected, though in the command line is written Core 0. Is it possible that it is like this because we are using a custom board without the ARM-processor?

    4. If I use the command you sent in the post above, the CLDP prints:

    so it does not print that there was an error. But the application does not boot at all, also not when using CCES 2.11.0.

  • Hi Vitus,

    Can you please add -core 1 command as below and let us know the results:

    e.g.: cldp -proc ADSP-21593 -core 1 -emu 2000 -driver "C:\Analog Devices\EV-SC59x_EZ-KIT-Rel2.0.0\EV-SC59x_EZ-KIT\Examples\Device_Programmer\Legacy_SPI_ISSI_Flash\EV-SOMCRR-EZKIT\21593\is25lp512m_dpia_21593_Core1\is25lp512m_dpia_21593_Core1.dxe" -cmd prog -erase affected -format bin -file LED_Blink_21593_Core1.ldr -cmd compare -format bin -file LED_Blink_21593_Core1.ldr

    Regards,
    Divya.P