Post Go back to editing

Flashing ARM Application in SC594

Category: Software
Product Number: SC594
Software Version: CCES 2.11.1

I am trying to flash working application in ARM core of SC594.I am trying below steps.

1. Build application in CCES with below settings

In the build artifact I have done settings as below

In Tool settings under Cross Core ARM Loader I have done settings as below

General Tab:

Initialization Tab:

Executable files Tab:

With these settings I am building Application getting .ldr file

2.Flashing with below commands

I am taking driver file "is25lp512m_dpia_SC594_Core1.dxe" from the Board support packages path C:\Analog Devices\EV-SC59x_EZ-KIT-Rel2.0.0\EV-SC59x_EZ-KIT\Examples\Device_Programmer\Legacy_SPI_ISSI_Flash\EV-SOMCRR-EZKIT\SC594\is25lp512m_dpia_SC594_Core1

I am setting Boot SW in SC594SOM board to 0 and I am trying to run below commands to flash

"C:\Analog Devices\CrossCore Embedded Studio 2.11.1\cldp.exe" -proc ADSP-SC594 -core 1 -emu 1000 -driver "./is25lp512m_dpia_SC594_Core1.dxe" -cmd prog -erase affected -format bin -file AD_Talkthrough_I2S_SC594_Cortex_Core0.ldr

Flashing is done but when switching Boot Switch to 1 and reset the board. I am not getting any output. The same application when loaded through Emulator(ICE1000), Output is observed properly.

Please let me know if above procedure is good if not, please let me know your feedback on this.

Kind Regards,

Sivaramakrishna.

  • Please provide feedback on this, whether the procedure I used for flashing application in the ARM core of SC594 is fine

    Please let us know same behavior is observed on your side, if yes let me know if there is any workaround/fix

  • Hi,

    We have tracked your query here and will get back to you as soon as possible.


    Regards,
    Nishanthi.V

  • Hi,

    There is known issue which causes a failure when run from flash is simply that it still tries to use stdio in ARM , i.e the printf() call which print the logging messages to the console are still executed. The stdio operations will only function when the emulator and debugger are active, otherwise they will trap to adi_fatal_error.

    We will fix this in the future revisions and the workaround is commenting out the logging calls(printf) allows the program to run from flash.

    So, try to command the lines 53 and 54 from Audio_Talkthrough_I2S.h file and comment out all DEBUG_INFORMATION & REPORT_ERROR lines from Audio_Talkthrough_I2S.c file.

    Then create the loader file (.ldr) and try to flash using CLDP. Now it will work when booting from flash on the ADSP-SC594 SOM.

    Regards,
    Nishanthi.V

  • Hi Nishanthi,

    Thank you for your support.

    With the workaround, I am able to run application from flash.

    Kind Regards,

    Sivaramakrishna.