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.

6678evm 8核ibl镜像烧写失败

使用mad工具通过ibl启动多核镜像大概需要三个步骤:1.使用官方提供的mad工具(map-tool)将多核.out文件合成一个镜像;2.在eeprom中烧入二级引导程序,使用官方i2cparam_0x51_c6678_le_0x500.out;3.将镜像烧写在nor flash中。

建立一个LED的测试工程,想让8核都加载LED.out这个工程,使用mad工具实现多核boot。以下两种map工具环境配置文件,第一种写法appDeployment种均为LED,可以正常启动8个核;第二种写法appDeployment中分别命名为CORE0-CORE7,加载程序都为LED.out一样,mad工具好像会首先分别生成8个镜像,然后再合并在一起,请问为什么这样写程序无法无法启动???

1.当环境配置文件deployment_template_C6678_windows.json配置如下时,8核镜像能正常启动

"applications" : [
{
"name" : "LED",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
}
],

"appDeployment" : [
"LED",
"LED",
"LED",
"LED",
"LED",
"LED",
"LED",
"LED"
]

2.当环境配置文件换种写法,仍然让每个核都加载LED.out这个工程,整个镜像合成、烧写过程没有出错,但是程序跑不起来

"applications" : [
{
"name" : "CORE0",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
},
{
"name" : "CORE1",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
},
{
"name" : "CORE2",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
},
{
"name" : "CORE3",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
},
{
"name" : "CORE4",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
},
{
"name" : "CORE5",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
},
{
"name" : "CORE6",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
},
{
"name" : "CORE7",
"fileName" : "../Input_OutFiles/LED.out",
"libPath" : "../mad-loader/examples/shlibs/build",
"allowedCores" : [0,1,2,3,4,5,6,7]
}
],

"appDeployment" : [
"CORE0",
"CORE1",
"CORE2",
"CORE3",
"CORE4",
"CORE5",
"CORE6",
"CORE7"
]