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.

dm8168,仿真器连上板子跑,dsp核一定要从0x00800000处开始,也就是L2RAM,怎么修改?

我用ccs5.4创建了一个empty project(with main.c),用仿真器可以连上板子可以跑的。但是他的cmd文件里面把所有的段都放在片内了。我把他们改在片外,但我发现有三个段不能放在片外,如下:

MEMORY
{

HDVICP0: o = 0x00400000 l = 0x00040000 /* 256kB HDVICP0 UMAP1 */
HDVICP1: o = 0x00500000 l = 0x00040000 /* 256kB HDVICP1 UMAP1 */
DSPL2RAM: o = 0x00800000 l = 0x00040000 /* 256kB DSP L2 RAM */
DSPL1PRAM: o = 0x00E00000 l = 0x00008000 /* 32kB DSP L1 Program RAM */
DSPL1DRAM: o = 0x00F00000 l = 0x00008000 /* 32kB DSP L1 Data RAM */
DDR: o = 0x80000000 l = 0x80000000 /* 512MB DDR2 Data */

}

SECTIONS
{

.text > DSPL2RAM
.stack > DDR
.bss > DDR
.cio > DDR
.const > DDR
.data > DDR
.switch > DDR
.sysmem > DDR
.far > DDR
.args > DDR
.ppinfo > DDR
.ppdata > DDR

/* TI-ABI or COFF sections */
.pinit > DSPL2RAM
.cinit > DSPL2RAM

/* EABI sections */
.binit > DDR
.init_array > DDR
.neardata > DDR
.fardata > DDR
.rodata > DDR
.c6xabi.exidx > DDR
.c6xabi.extab > DDR

}

如果把3个DSPL2RAM改成DDR的话,代码就跑不了了。

连上班子后dsp核等待0x00800000处代码的截图如附件所示。