linker_dsp_back.cmd:
-l rts67plus.lib
/*-l ..\..\Plat\driver.lib*/
-stack 0x00000800
-heap 0x00000800
MEMORY
{
DSP_L2_RAM_txt: ORIGIN = 0x00800000 LENGTH = 0x00020000
DSP_L2_RAM_data: ORIGIN = 0x00830000 LENGTH = 0x00020000
DSP_L1P_RAM: ORIGIN = 0x00E00000 LENGTH = 0x00007000 /*32K -4K*/
DSP_L1D_RAM: ORIGIN = 0x00F00000 LENGTH = 0x00007000 /*32K -4K*/
shared_ram: ORIGIN = 0x80000000 LENGTH = 0x00020000
}
SECTIONS
{
.vecs > DSP_L1P_RAM
.text_L1P > DSP_L1P_RAM
.text > DSP_L2_RAM_txt
.const > DSP_L1P_RAM
.bss > DSP_L1D_RAM
.bss_L2 > DSP_L2_RAM_data
.far > DSP_L1D_RAM
.switch > DSP_L1D_RAM
.stack > DSP_L1D_RAM
.data > DSP_L1P_RAM
.cinit > DSP_L1P_RAM
.sysmem > DSP_L1P_RAM
.cio > DSP_L1P_RAM
}
linker_dsp.cmd:
-l rts67plus.lib
/*-l ..\..\Plat\driver.lib*/
-stack 0x00000800
-heap 0x00000800
MEMORY
{
DSP_L2_RAM_txt: ORIGIN = 0x00800000 LENGTH = 0x00020000
DSP_L2_RAM_data: ORIGIN = 0x00830000 LENGTH = 0x00020000
DSP_L1P_RAM: ORIGIN = 0x00E00000 LENGTH = 0x00007000 /*32K -4K*/
DSP_L1D_RAM: ORIGIN = 0x00F00000 LENGTH = 0x00007000 /*32K -4K*/
shared_ram: ORIGIN = 0x80000000 LENGTH = 0x00020000
}
SECTIONS
{
.vecs > DSP_L2_RAM_txt
.text_L1P > DSP_L2_RAM_txt
.text > DSP_L2_RAM_txt
.const > DSP_L2_RAM_txt
.bss > DSP_L2_RAM_txt
.bss_L2 > DSP_L2_RAM_txt
.far > DSP_L2_RAM_txt
.switch > DSP_L2_RAM_txt
.stack > DSP_L2_RAM_txt
.data > DSP_L2_RAM_txt
.cinit > DSP_L2_RAM_txt
.sysmem > DSP_L2_RAM_txt
.cio > DSP_L2_RAM_txt
}
1.when i use linker_dsp_back.cmd,the interrupt of C6748 can not responsed,but when i us linker_dsp.cmd the interrupt of C6748 is OK why???
2. when i use linker_dsp_back.cmd and i set CSR=0x03, the programe will run error address, Why??
thank for help