Hi,
I want to use external RAM in my program.
But i am not able to access it, if i run program from Internal memory then program is working fine.
and if i try to run program from EXTRAM then DSP is not working.
In linker command file i am listing EXTRAM from 0x10000 to 0x1FFFF and in my program SWWSR = 0x7FFF and OVLY bit is set to zero.
so as per my understanding Now the DSP can only see the EXTRAM and not the internal DARAM. Is it right?
Please suggest me how can i access external RAM ?
The below is the linker command file which i am using please let me know if any thing is missed in below file for EXTRAM.
MEMORY
{
MMR (RWIX): origin = 0x00000, length = 0x0060
SCRATCH (RWXI): origin = 0x00060, length = 0x0020
DARAM (RWXI): origin = 0x01000, length = 0x2000
EXTROM (RXI): origin = 0x0F000, length = 0x1000
EXTRAM (RWXI): origin = 0x10000, length = 0x10000
}
SECTIONS
{
.bss :> EXTRAM PAGE 0 /* Global & static vars */
vecs :> EXTRAM PAGE 0 /* Interrupt vectors */
.stack :> EXTRAM PAGE 0 /* Primary system stack */
.sysstack :> EXTRAM PAGE 0 /* Secondary system stack */
.sysmem :> EXTRAM PAGE 0 /* Dynamic memory (malloc) */
.text :> EXTRAM PAGE 0 /* Code */
.data :> EXTRAM PAGE 0 /* Initialized vars */
.cinit :> EXTRAM PAGE 0 /* Auto-initialization tables */
.const :> EXTRAM PAGE 0 /* Constant data */
.cio :> EXTRAM PAGE 0 /* C I/O buffers */
.switch :> EXTRAM PAGE 0 /* Switch statement tables */
.pinit :> EXTRAM PAGE 0 /* Initialization fn tables */
.args :> EXTRAM PAGE 0 /* Arguments to main() */
}
Awaiting for your early reply,
Thanking you in Advance,
Best Regards,
Ashwin Panchal