Post Go back to editing

SC589 reports an error when running adi_rom_boot()

Hello

  Because I need to update my application code with USB function, so I add adi_rom_boot() function in USB Vendor Demo for ADSP-SC589 project, boot the application code I put in spi2 flash (address 0x100000), but run adi_rom_boot( ), the error shown in the figure below will be reported.

According to the project files and instructions provided by EE384, adi_rom_Boot() should run in L2_SRAM, obviously my adi_rom_Boot() runs in external DDR. As shown below

I reduced the code size and tried to make the code run in L2_SRAM by linking the adsp-sc589.ld file provided by EE384 in the settings. The compilation is passed, but the "Failed to connect to target" error is displayed when uploading the program using JTAG.

This problem has been bothering me for a few days, what should I do?

thanks!

VendorDemo.rar

Parents
  • Hi,

    After flashing SSL code, you are not able to debug the project. While debugging "Failed to load file" error occurs. please confirm our understanding.

    To assist you better, can you get back on the below points
    1. Are you using EZ-kit or Custom board.

    2. Are you able to boot simple SSL application in EE-384.

    3. Please change the boot mode to 0 and try to debug the project

    4. Are you able to debug after removing adi_rom_Boot()?

    Please Let us know for further assistance.

    Regards,
    Anand Selvaraj

Reply
  • Hi,

    After flashing SSL code, you are not able to debug the project. While debugging "Failed to load file" error occurs. please confirm our understanding.

    To assist you better, can you get back on the below points
    1. Are you using EZ-kit or Custom board.

    2. Are you able to boot simple SSL application in EE-384.

    3. Please change the boot mode to 0 and try to debug the project

    4. Are you able to debug after removing adi_rom_Boot()?

    Please Let us know for further assistance.

    Regards,
    Anand Selvaraj

Children