Hi ,
I get the following error when i run my code to test the IPC :
ti.sdo.ipc.heaps.HeapMemMP: line 948: assertion failure: A_noHeap: Region has no heap xdc.runtime.Error.raise: terminating execution
Issue is happening at the HeapMemMP_create() function .
please find the code snippet below :
HeapMemMP_Params_init(&heapBufParams); heapBufParams.regionId = 0; heapBufParams.name = HEAP_NAME; heapBufParams.sharedBufSize = 0x00100000 ; System_printf("Heap Create Starting\n"); heapHandle = HeapMemMP_create(&heapBufParams);
My shared memory information from the .cfg file is :
SharedRegion.setEntryMeta(0, { base: 0x0c000000, len: 0x00100000, ownerProcId: 0, isValid: true, cacheEnable: cacheEnabled, cacheLineSize: cacheLineSize, /* Aligns allocated messages to a cache line */ createHeap: true, name: "internal_shared_mem", });