TI中文支持网
TI专业的中文技术问题搜集分享网站

新建了一个platform,将数据和代码放到DDR3中,结果出错

我新建了一个platform,设置入下:

在CCS中运行代码如下:

 

#define MAX_OUTBUF_SIZE     (1 * 1024 * 1024)

 UInt8 buf[2][MAX_WIDTH * MAX_HEIGHT * 3 / 2];

int flag = 0;

Void TaskFxn(UArg a0, UArg a1) {     

 printf("version 0.3.3 multicore debug\n");

     printf("\n core %d All Done!\n",DNUM);      BIOS_exit(0);

}

int main() {

    BIOS_start();

    return 0 ;

}

结果:

[C66xx_0] vveessoo  ….  mmlliiooeeddbbgg
core 0 All Done! [C66xx_1] Invalid CIO command (255) in the CIO buffer at address (0x80327e00) was not recognized. Please check the device and program memory maps. version 0.3.3 multicore debug
 core 1 All Done!
vveessoo  ….  mmlliiooeeddbbgg
 
设置

Program.sectMap[".cio"] = new Program.SectionSpec();

Program.sectMap[".cio"] = "L2SRAM";

后程序依然报错:

[C66xx_0] version 0.3.3 multicore debug

 core 0 All Done! 40011112 B25=0x11181133 B26=0x82b40 B27=0x7682070 B28=0x62908600 B29=0x68286902 B30=0x70 B31=0xffffffff NTSR=0x1000d ITSR=0x0 IRP=0x0 SSR=0x0 AMR=0x0 RILC=0x0 ILC=0x0 Exception at 0x15000100 EFR=0x2 NRP=0x15000100 Internal exception: IERR=0x1 Instruction fetch exception ti.sysbios.family.c64p.Exception: line 255: E_exceptionMin: pc = 0x15000100, sp = 0x0c308170. To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;' xdc.runtime.Error.raise: terminating execution [C66xx_1] 25=0xdc0a0d82 B26=0x4e2d5ffe B27=0x4917a31d B28=0xb7002eac B29=0x7a320780 B30=0x1 B31=0xc30b284 NTSR=0x1020e ITSR=0x20f IRP=0xc316c06 SSR=0x0 AMR=0x0 RILC=0x0 ILC=0x0 Exception at 0x20202020 EFR=0x2 NRP=0x20202020 Internal exception: IERR=0x1 Instruction f0xffffffff NTSR=0x1000d ITSR=0x0 IRP=0x0 SSR=0x0 AMR=0x0 RILC=0x0 ILC=0x0 Exception at 0x15000100 EFR=0x2 NRP=0x15000100 Internal exception: IERR=0x1 Instructi

 

 

 

 

 

Andy Yin1:

确认执行了DDR3及PLL初始化。

stern:

回复 Andy Yin1:

每个核都加载了GEL

赞(0)
未经允许不得转载:TI中文支持网 » 新建了一个platform,将数据和代码放到DDR3中,结果出错
分享到: 更多 (0)