编译成功,run之后就输出这个
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.
编译成功,run之后就输出这个
谢谢andy,我用的是BiosMulticoreSDK_2.1_UserGuide里面的helloworld,在main函数里面用openMP工具,使多个核调用printf函数输出一定信息。
编译通过了,但是有个一warning:warning: xdc.runtime.Error: "C:/ti/xdctools_3_25_03_72/packages/xdc/runtime/Error.xs", line 44: xdc.runtime.Error E_generic: the message for this error (= '%$S') requires %$S support but xdc.runtime.System.extendedFormats (= “%f”) does not include '%$S'
我用的xdc版本是3.25.3.27
编译后你的核是否除了core0 其余核都处于运行状态?
如果是这样 请设置成不要debug restart
Tools ->debugger options ->generic debugger options
将弹出的页面中的On a program load or restart 前的复选框去掉
每一个核都要这么做
重新debug工程
之后就可以了
因为回复没有提醒 所以看到的晚了不好意思
有问题 可以加我qq 930693766 验证 DSP
1.gel文件只是初始化和实现CCS功能的扩展
在开发板 RBL中上电就会对开发板进行初始化
请问这里加载GEL有什么作用?
2.其他核加载symbol是什么意思?
我在配置OpenMP的时候并没有给其他核加载任何东西
只是让其与CCS链接,处于等待运行状态
所有核组合成一个group 然后run
load symbols是按照文档C:\ti\omp_1_01_03_02\docs\omp User_Guide.pdf上来的,原文如下:
Load the image onto CORE0 only and load symbols on the remaining cores being used
in the application. If OpenMP.autoDnld is set to true, the master core will reset the slave
core, and run the slave core from _c_int00.
可能是让其他几个core到symbol等待core0的通知,不知道是不是这样