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.

TDA4VM: Shared memory overwriting

Part Number: TDA4VM

Hello,

I am using SDK 7.1 and IPC services.

When I used the IPC between A72 and R5F(mcu2_1), sometimes the data in shared memory was overwritten.

When I checked the appInit(), it seems like that every core share the area as a global heap.

heap_prm = &mem_init_prm.heap_info[APP_MEM_HEAP_DDR];
heap_prm->base = g_ddr_shared_mem;
strncpy(heap_prm->name, "DDR_SHARED_MEM", APP_MEM_HEAP_NAME_MAX);
heap_prm->size = DDR_HEAP_MEM_SIZE;
heap_prm->flags = APP_MEM_HEAP_FLAGS_IS_SHARED;
I will check more but if anybody knows a method to check conflict or overwriting, please, advise me.
Thank you very much.