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.

Want to use L1DSRAM in my DSP application

Hi,


I am developing a image processing algorithm at DSP side for  DM6446 based system. In order to optimize my code, I need to use L1DSRAM buffer in order to  copy processed data for further processing.

I have tried to use it by adding following section in my link.cmd file:-

UNION (L1D_FLEX) {
        MODULE_A {
            *(.process1ScratchSection)
            . += 0x8000;    // reserve 32kB worth of cache here
        }
} > L1D

but I am getting following errors:-

UNION
>> link.cmd, line 22:   error: syntax error
        MODULE_A {
>> link.cmd, line 23:   error: syntax error
            *(
>> link.cmd, line 24:   error: syntax error
}
>> link.cmd, line 27:   error: syntax error

Is this right method to use L1DSRAM?

If yes, then what is the issue with above section?

Thanks,

Vijay