看网上一些经验帖子介绍对sysbios使用时的内存配置用法有些疑问,期待专家解答下,谢谢
1、比如对于vlfft例子,对L2SRAM地址进行如下配置:
{
L2SRAM (RWX) : org = 0x800000, len = 0x400000
MSMCSRAM (RWX) : org = 0xc000000, len = 0x200000
DDR (RWX) : org = 0x80000000, len = 0x200000
DDR_1 (RWX) : org = 0x80200000, len = 0x4000000
MSMCSRAM_1 (RWX) : org = 0xc200000, len = 0x100000
MSMCSRAM_2 (RWX) : org = 0xc300000, len = 0x100000
L2SRAM_1 (RWX) : org = 0xc00000, len = 0x5a000
}
Local L2sram 范围不是0x800000~0x87FFFF吗,怎么能配置长度0x400000
2、在IPC例程中配置shared memory
<div>
var SHAREDMEM = 0x0C000000;
var SHAREDMEMSIZE = 0x00800000;
execontextinstance0.memoryMap["MSMCSRAM"].len = 16777216;
sharedmemory不是4M吗,size可以配置到16M?
<div>var execontextinstance0="xdc.lookup('xdc.platform.ExeContext.Instance#0');
一周热门 更多>