C6678 development board, now I met, multiple cores by IPC run at the same time, using the malloc function allocates space at the same time, the basic
can go wrong, many in the operation of the core will not allocated memory, I because in the e2e should be assigned the same heap, I learned to create
multiple heap and give each nuclear to specify different heap can solve, my BIOS version is 6.35.4.50. I define heap is as follows in my cfg:
Var heapMem0Params = new HeapMem. Params ();
HeapMem0Params. Instance. Name = "H1";
HeapMem0Params. Size = 104857600/3;
HeapMem0Params. The align = 8;
HeapMem0Params. SectionName = "myHeap1";
The Program. The global. Task0Heap = HeapMem. Create (heapMem0Params);
"MyHeap1" Program. SectMap [] = "DDR3";
/ / Program. Global. INTMEM_HEAP = HeapMem. Create (heapMem0Params);
The Memory. DefaultHeapInstance = Program. Global. Task0Heap;
/ / Memory. DefaultHeapInstance = Program. Global. INTMEM_HEAP;
Error phenomenon: when multicore run error by the ROV view to heapmem available memory to zero, but in fact, the memory allocated is enough, don't know what reason to swallowed up
How do I give each nuclear specified heap
To the point, I'd like To know how do I define in the CFG file heapbuf assigned To specific nuclear