**** Build of configuration Debug for project C6678-for-hardware
#10247-D: creating output section ".far" without a SECTIONS specificationwarning
#10247-D: creating output section ".pinit" without a SECTIONS specificationwarning
#10247-D: creating output section ".stack" without a SECTIONS specificationwarning
#10247-D: creating output section ".sysmem" without a SECTIONS specificationwarning
#10247-D: creating output section ".text" without a SECTIONS
**** Build Finished ****
之前有人说没给对应的段指定内存位置,但下面的在6678.cmd文件里不是指定了么
SECTIONS
{
#ifdef CORE0
.text > CORE0_L2_SRAM
.stack > CORE0_L2_SRAM
.bss > CORE0_L2_SRAM
.cio > CORE0_L2_SRAM
.const > CORE0_L2_SRAM
.data > CORE0_L2_SRAM
.switch > CORE0_L2_SRAM
.sysmem > CORE0_L2_SRAM
.far > CORE0_L2_SRAM
.args > CORE0_L2_SRAM
.ppinfo > CORE0_L2_SRAM
.ppdata > CORE0_L2_SRAM
/* COFF sections */
.pinit > CORE0_L2_SRAM
.cinit > CORE0_L2_SRAM
/* EABI sections */
.binit > CORE0_L2_SRAM
.init_array > CORE0_L2_SRAM
.neardata > CORE0_L2_SRAM
.fardata > CORE0_L2_SRAM
.rodata > CORE0_L2_SRAM
.c6xabi.exidx > CORE0_L2_SRAM
.c6xabi.extab > CORE0_L2_SRAM
#endif
软件仿真点运行后出现的界面(这个是开始界面,其中 I am running here——–1 是调用函数开始的标志,这里不断的调用函数):
[TMS320C66x_0] hh is :66 …….程序正在运行……….
[TMS320C66x_0] i is :0
[TMS320C66x_0] I am running here——–1
之后的运行界面,运行正常(一直持续到程序结束,但是要运行半个多小时):
[TMS320C66x_0] hh is :66 …….程序正在运行……….
[TMS320C66x_0] i is :0
[TMS320C66x_0] I am running here——–1
[TMS320C66x_0] I am running here——–2
[TMS320C66x_0] I am running here——–3
[TMS320C66x_0] I am running here——–4
[TMS320C66x_0] i is :1
[TMS320C66x_0] I am running here——–1
[TMS320C66x_0] I am running here——–2
[TMS320C66x_0] I am running here——–3
[TMS320C66x_0] I am running here——–4
硬件仿真的话出现下面的就一直不动了:
[TMS320C66x_0] hh is :66 …….程序正在运行……….
[TMS320C66x_0] i is :0
我这里调用undefined的6678.cmd,出现如下情况,建立sys/bios工程也出现如下情况,看了下cmd没有定义八个核的分配。
C66xx_0: GEL Output: Setup_Memory_Map…
C66xx_0: GEL Output: Setup_Memory_Map… Done.
C66xx_0: GEL Output:Connecting Target…
C66xx_0: GEL Output: DSP core #0
C66xx_0: GEL Output: No initialization performed since bootmode = 0x00000005C66xx_0:
GEL Output: You can manually initialize with GlobalDefaultSetupC66xx_0:
GEL Output: Invalidate All Cache…C66xx_0:
GEL Output: Invalidate All Cache… Done.
C66xx_0: GEL Output: GEL Reset…C66xx_0:
GEL Output: GEL Reset… Done.
C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.
没点运行自己就运行,且控制窗口没输出。
Allen35065:
BIOS的cmd文件是XDC工具解析Platform生成的。你的cmd可能是有问题。
软件仿真时间就是要很长,尽量到硬件板卡上跑效率的仿真。
矩阵计算下载dsplib C:\ti\dsplib_c66x_3_4_0_0\packages\ti\dsplib\src 下有源码。
user4863832:
你好,请问你软件仿真有跑过多核并行的程序吗?是否运行成功?