Post Go back to editing

Using SDRAM

Category: Software
Product Number: ADSP-SC594

Hello,

I want to use SDRAM for core 1 of the SHARC by selecting that

for the example AD_Talkthrough_TDM_SC594_SHARC_Core1.

I have use C:\Analog Devices\CrossCore Embedded Studio 2.10.1\SHARC\ldr\ezkitSC594W_preload_core0 for core0.

However, I have this error:

error loading section dxe_sdram_cpp_ctors_nw to target at core 1

Then:

[TpsdkServer] Failed to load file: AD_Talkthrough_TDM_SC594_SHARC_Core1.dxe [Error: Failed to connect to target., Code=0x80047344]

Could you please help me?

Thread Notes

  • Hi,

    To assist and understand your system better, could you please reply for the below questions:
    1.Could you please confirm that the project is build and loads fine without using SDRAM.
    2.Are you using Custom board or EZ-KIT. If it is custom board, could you please share us the DDR part number.

    Regards,
    Nandini C

  • Hi,

    1.Could you please confirm that the project is build and loads fine without using SDRAM. -> Yes, it's fine without using SDRAM
    2.Are you using Custom board or EZ-KIT. If it is custom board, could you please share us the DDR part number -> we are using EZ-Kit, SOM (EV-SC594-SOM RevC)

    Thanks,

  • Hi,

    We are unable to simulate the issue here.

    Could you please confirm whether you have modified the LDF file to utilize the SDRAM section? If yes, please share the updated LDF file along with the changes made in the project’s source files.

    This information will help us proceed further.

    Regards,
    Santhakumari.V

  • I add this line of code: section("seg_sdram") float FIRsCoeff[4* (4 +1)* 8 * 256 * sizeof(float)]; in the Audio_Talkthrough_TDM.c of Core1. change the cache to 128 for core1, add 

    I do not modify the app.ldf

  • Hi,

    We were unable to reproduce the issue with the same details you have provided.

    We are tried with EV-SC594-SOM Rev C and EV-SOMCRR-EZKIT Rev A on CCES 2.10.1.

    Could you please try creating a new workspace and perform a clean build of your project and trying debug?

    Also, confirm whether the SDRAM mapping you configured is correctly reflected in the "map.xml" file.

    If the issue persists, please share a short video clip demonstrating the problem with all the steps you followed.

    Regards,
    Santhakumari.V