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.
器件型号:EVMK2H
工具/软件:Code Composer Studio
使用编辑了 cfg 文件
BIOS.heapSize = 2097152;
BIOS.heapSection ="DDR3";
BIOS.heapTrackEnabled = true;
但是堆不会放置在 DDR3中。 因此大型分配失败。
尝试以下操作 将堆配置为 DDR:
var heapMemParams = new HeapMem.Params (); heapMemParams.size = 0x80000; heapMemParams.sectionName ="systemHeap"; Program.global.heap0 = HeapMem.create (heapMemParams); Memory.defaultHeapInstance = Program.global.heap0; BIOS.heapSize = 2097152; BIOS.heapSection ="systemHeap"; BIOS.heapTrackEnabled = true; Program.sectMap["systemHeap"] ="DDR3";
希望这对您有所帮助。 请告诉我们这是否能解决您的问题。
此致、
Rahul