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.

ndk如何在6678的除核0外的其他核上运行?

Other Parts Discussed in Thread: SYSBIOS

请问,我用TI的例子-C:\ti\mcsdk_2_01_02_05\examples\ndk\helloWorld\evmc6678l,在核0上可以正常运行,但是在核1-核7上单独运行,都不行。现象是:运行后,打印的信息正常,但是不能正常实现通信。我看了资料,说是ndk协议默认在核0上运行。Global.multiCoreStackRunMode lets you control which cores (on a C6000 multi-core processor) run the NDK stack. By default, only core 0 runs the NDK stack.  我修改了这个参数,还是一样的,请问这个是什么原因。我用的ndk版本是TI Network Developer's Kit (NDK) v2.21      ndk_2_21_01_38

另外我在用sysbios的时候发现,sysbios可以在核0上正常运行,但是下载到其他核上,其他功能都正常,但是要用到定时器的功能时就不正常了。我看了ROV,比如我在核1上跑,时钟模块的定时器设置为1,在ROV中确实使用的定时器(TIMER)是1,但是时钟(CLOCK)模块使用的定时器却是0。在其他核上运行也是这样的,时钟(CLOCK)模块使用的定时器都是0,这个是什么原因?使用的版本是CCS5.2。sysbios6.33.5.46

敬请回复

  • 是否有看过下面helloworld在core1核上跑的例子。
    http://processors.wiki.ti.com/index.php/NDK,_PA_Resource_Wiki_for_Keystone_Devices#Q_When_NDK.27s_Helloworld_or_Client_example_is_run_on_other_than_core0.2C_it_gives_the_error_on_CCS_console._Is_it_possible_to_run_on_cores_other_than_core0.3F