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.

DMA transfer to DSP_L2_RAM problem

hi,I meet a problem,first ,I configure DMA transfer data to DDR,than cache_inv ddr,it works well .

then I configure DMA transfer data to DSP_L2_RAM,I don't change the DMA settings,just change the dst addr,

I found the DSP_L2_RAM buf is filled with zero.

-------------------------------------------------------------------------------

Program.sectMap[".my_ram"]              = "DSP_L2_RAM";

#pragma DATA_SECTION(buf, ".my_ram");
#pragma DATA_ALIGN(buf, 16);
UInt8 buf[MAX_WID];

is there any steps I should do to configure DMA transfer data to L2_RAM?

  • Hi Iris,

    Are you using EZSDK or DVR RDK or else?

    The C674x DSP has 256KB of L2 RAM, which can be defined as SRAM, L2 cache, or a combination of both. Make sure you are configuring as SRAM.

    Iris Zhou said:
    just change the dst addr

    What dst addr you are using for C674x DSP L2 RAM (0x00800000, 0x40800000, else)?

    Regards,
    Pavel

  • See also if the below e2e threads will be in help:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/369012.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/237049.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/262580.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/88320.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/284282.aspx

    Regards,
    Pavel