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.

copy_in

Hi,

I want to make use of the copy_in feature. Basic idea:

I have some slow SDRAM memory, and need as much as possible of the fast internal memory. Therefore I want to use the SDRAM. My system boots from SD card, so I can not directly place the code there.
 
An solution is to boot into the fast memory, then after boot make use of copy_in.But his requires to work with sections in the linker and to name each single function there.

In spraa46a.pdf there is also the boot time initialization mentioned. That would be a very good solution, as I simply could work with the #pragma CODE_SECTION(func, "slowmem"). Afterward i could have in my linkerfile 

  .slowmem: load=SARAM, run=SDRAM, table(BINIT)

Therefore I wonder, if I can wait for the table init, so that I can first enable the SDRAM in a setup and then automatically map the whole section to the SDRAM.

Thanks for some hints.