Hi,
We are using Keystone family of Multicore DSP. I moved some of my function code (text section) to DDR3 using the format
SECTIONS
{
.mytext : /* Build .text output section */
{
f1.obj(.text) /* Link .text section from f1.obj */
f2.obj(.text) /* Link .text and sec2 from f4.obj */
}
}
Now I want to protect the memory where .mytext section is located from being written. I figured that this can be done using the MPAX registers but for that I need to know the base address of .mytext section in my code.
Any ideas how to do this?