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.

not able to run program on external memory on OMAP-L138 DSP

Other Parts Discussed in Thread: OMAP-L138

Hi,

I am doing a aduio processing test using Logic PD eXperiments kit.(OMAP-L138) the demoe code works fine the code is load on L2 memory, but did not work if it is loaded on external memory(DDR2). below are the two .cmd files I used. the first works fine. with second .cmd(.text on DDR), program did not start(not pointing to _c_init() although I can see _c_init() is at the location( 0xC0000000 in my case).

------------------------------------------

-stack 0x000001000
-heap 0x00010000


MEMORY
{
dsp_l2_ram: ORIGIN = 0x11800000 LENGTH = 0x00040000
entry_point: ORIGIN = 0x80010000 LENGTH = 0x00000100
shared_ram: ORIGIN = 0x80010100 LENGTH = 0x0000FF00
external_ram: ORIGIN = 0xC0000000 LENGTH = 0x08000000
arm_local_ram: ORIGIN = 0xFFFF0000 LENGTH = 0x00002000
}

SECTIONS
{
.text:_c_int00 > entry_point
.cinit > dsp_l2_ram
.text > dsp_l2_ram
.const > dsp_l2_ram
.bss > dsp_l2_ram
.far > dsp_l2_ram
.switch > dsp_l2_ram
.stack > dsp_l2_ram
.data > dsp_l2_ram
.sysmem > dsp_l2_ram
.cio > dsp_l2_ram
}

----------------------------------------------------------------

-stack 0x000001000
-heap 0x00010000

MEMORY
{
dsp_l2_ram: ORIGIN = 0x11800000 LENGTH = 0x00040000
shared_ram: ORIGIN = 0x80010100 LENGTH = 0x0000FF00
entry_point: ORIGIN = 0xC0000000 LENGTH = 0x00000100
external_ram: ORIGIN = 0xC0000100 LENGTH = 0x07ffff00
arm_local_ram: ORIGIN = 0xFFFF0000 LENGTH = 0x00002000
}

SECTIONS
{
.text:_c_int00 > entry_point
.cinit > external_ram
.text > external_ram
.const > dsp_l2_ram
.bss > dsp_l2_ram
.far > dsp_l2_ram
.switch > dsp_l2_ram
.stack > dsp_l2_ram
.data > dsp_l2_ram
.sysmem > dsp_l2_ram
.cio > dsp_l2_ram
}

any help is appreciated!

Ron