6670 BIOS 多核 程序(普通的点灯程序),在6670 评估板上连仿真器时运行正常。BIOS 多核 程序烧写到SPI FLASH中,
只有核0启动,查看寄存器:其它核的magic address 也修改成功,不知道为什么其它核没有启动成功,谢谢回答 。
Andy Yin1:
不带bios的多核程序能加载启动成功么;core0需要向其他core写IPCGR发送IPC中断其他其他core运行。
ann 1:
回复 Andy Yin1:
不带BIOS的多核点灯程序 ,可以启动成功。
“core0需要向其他core写IPCGR发送IPC中断 ”,我 在代码中加了
IpcGr0 = (int*)0x02620240; /*warning:when running on no-boot mode,core0~core7 must all be connected to the target*/ for(i = 1;i < CORE_NUM_6670;i++)//core0 sent ipc interrupt to { *(IpcGr0+i) = (*(IpcGr0+i)) | 0x00000001; }
不带BIOS的多核是这么写的,可以启动其它核。不知道 还有什么其它没注意的地方,谢谢了。
TI中文支持网




