DSPRelated.com
Forums

Memory Move between ISRAM and SDRAM

Started by narendra babu December 18, 2007
Hi,

I have a critical thing to do for my project...

I have some code which is been placed in the ISRAM, but there is no room for my code to be placed, hence i should place some of the functions/code in the ISRAM to SDRAM.

Can anybody help me regarding this.

Regards,
Narendra

---------------------------------
Now you can chat without downloading messenger. Click here to know how.
Hey Narendra,

I had the same question few time ago, here is the thread

http://www.dsprelated.com/groups/c6x/show/9653.php

If you or not using DSP/Bios, then just edit your existing cmd file,
otherwise create
a new source file, save it as *.cmd and add it to your project.

A sample cmd file looks like:
----

.speedCode: {
...

C:\your_path\_obj\dct.obj (.text)
C:\ your_path \_obj\dct.obj (.const)

C:\ your_path \_obj\mc.obj(.text)
C: your_path \_obj\mc.obj(.const)

....
} > ISRAM

.slowCode: {
...

C:\your_path\_obj\dct2.obj (.text)
C:\ your_path \_obj\dct2.obj (.const)

C:\ your_path \_obj\mc2.obj(.text)
C: your_path \_obj\mc2.obj(.const)

....
} > SDRAM
.fastCode : {} > ISRAM // all the functions spotted with #pragma
CODE_SECTION
.fastData : {} > ISRAM // all data spotted with #pragma DATA_SECTION

-----
cu
dorian