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.

6678的SYSBIOS 多个核地址分配问题

Other Parts Discussed in Thread: SYSBIOS

你好:

          在使用6678调试过程中,使用SYSBIOS建立了RTSC的工程,通过使用下列类型的函数,进入不同的分支处理。  使用.cfg来配置地址的分配。     

main()

{

coreID = GetCoreID();//DSP的DNUM寄存器

switch(coreID)

{

case core0:

task_core0(...);

break;

case core1:

task_core1(...);

break;

...

default:

break;

}

}

 .cfg地址分配方法如下

//Program.sectMap[".text"] = "MSMCSRAM";

Program.sectMap[".text"] = "DDR3";

 

问题1:

   在同一工程下,如何区分不同核的L2SRAM?

   比如

    a).data1在core0的L2SRAM

      Program.sectMap[".data1"] = "L2SRAM";

    b) .data2在core1的L2SRAM

      Program.sectMap[".data2"] = "L2SRAM";

   在同一个.cfg中,是否能指定不同核的L2SRAM的段。

问题2:

     对于不同核完成不同功能的程序,是否必须建立不同的工程,生成不同的.out文件,而不能通过分支DNUM寄存器判断不同的核运行程序。