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.

The EDMA is not working properly with a specific Link Command File

Hello everyone

I have a project that need to use EDMA. However, with the link command file --"lnk.cmd" file, the EDMA cannot work (manually trigger). I can get the IPR pending bit, but the receive buffer cannot receive the data. For example, I am sending 1024 bytes from DDR to the buffer in the L2 SRAM, L2SRAM would maintained unchanged after IPR bit is set (normal completion). However, if I JUST change the link command file to "C6678.cmd" and left other things unchanged, the EDMA in my project is working. So can anyone help me to look at my link command file, and tell me why EDMA cannot work under the "lnk.cmd" file?

Thanks in advance.

Xining 

link_command_file.rar

  • Hi,

    I am not expert on this however I see you are trying to load all the output sections to L2SRAM instead of allocation.

    .data          >  CORE0_L2_SRAM

    instead of

    .data:       load >> L2SRAM

    A section may be loaded by Code Composer Studio during a debug session, or burned into Flash memory, or any number of other methods for loading code or data to a target system.

    Please refer below links which will help you to understand syntax,

  • Thanks for your reminder.