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.

单核中 SRIO 与NDK 如何共存



在C6670的EVM板,用仿真器为SEED-XDS560v2,软件环境为MCSDK 2.1.2.6 和 CCS 5.2.1

我 用的是系统自带的 SRIO_LoopbackTestProject 示例和udpHelloworld示例,想 SRIO  和NDK  同时运行,遇到一个问题:

  SRIO_LoopbackTestProject  把.cinit 、.data等段放在L2SRAM 中,NDK因为要加载的项目多 把相关的段放在DDR3,此时

在两个不同工程中两个功能都可以正常运行;现在要SRIO和NDK在同一工程下运行,若把.cinit 等段放在DDR3 ,程序运行

异常,只能一次收发SRIO数据正确:

  

[C66xx_0] ******* DIO Socket Testing (Core 0) *********
[C66xx_0] **********************************************
[C66xx_0] Debug(Core 0): Starting the DIO Data Transfer Test Src 0x@9001d3e0 Dst 0x@9001d4e0
[C66xx_0] Debug(Core 0): DIO Socket Send for iteration 0 Passed
[C66xx_0] Debug(Core 0): DIO Transfer Data Validated for iteration 0
[C66xx_0] Debug(Core 0): DIO Socket Send for iteration 1 Passed
[C66xx_0] Error(Core 0): Data Validation error expected 0x31 got 0x0 @ index 0
[C66xx_0] Error: DIO Tests failed

麻烦请教下出现该结果的原因 以及 若想SRIO 和NDK 在同一工程运行该如何配置,谢谢。