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核心板,将堆物理存储设置为DDR3,网络初始化不成功,配置如下
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var heapMemParams = new HeapMem.Params();
heapMemParams.size = 0x8000000;
heapMemParams.sectionName = "systemHeap";
Program.global.heap0 = HeapMem.create(heapMemParams);
/* This is the default memory heap. */
Memory.defaultHeapInstance = Program.global.heap0;
Program.sectMap["sharedL2"] = "MSMCSRAM";
Program.sectMap["systemHeap"] = "DDR3";
调试会出现如下错误:
Timeout waiting for reply from PA to Pa_addMac command
如果堆堆物理存储设置为MSMCSRAM,初始化正常通过,配置如下:
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var heapMemParams = new HeapMem.Params();
heapMemParams.size = 0x8000000;
heapMemParams.sectionName = "systemHeap";
Program.global.heap0 = HeapMem.create(heapMemParams);
/* This is the default memory heap. */
Memory.defaultHeapInstance = Program.global.heap0;
Program.sectMap["sharedL2"] = "MSMCSRAM";
Program.sectMap["systemHeap"] = "MSMCSRAM";
DDR3初始化应该是成功了,不明白为什么堆的存储位置为什么会影响网络初始化;
对比调试evm6678评估板,堆使用DDR3,不会出现问题;
同样的代码在evm6678上,网络初始化可以通过是吗?请问您板子上的DDR3和EVM板一样吗?有在GEL文件中初始化DDR3吗?调试时,有设成no boot模式吗?