STM32H757 / RTOS / OpenAMP / Memory "._user_heap_stack " Size Saturation
Hello
I'm developing RTOS environment of dual-core in STM32H757.
I could refer to the examples provided by STM32, and I read the application note AN5617.
I checked that the error is a exception "err1" under the function "rproc_virtio_create_vdev" in the remoteproc_vrtio.c file. it was caused by the saturation of the memory "._user_heap_stack". Please refers to debugging results and the memory map.
How can I resolve this error?
Is it because I didn't add memory flush logic?
Task ICP(Inter Core Processing) in RTOS handles communication between CM7 and CM4.
the task that is applied HSEM synchronization repeatedly runs from the functions "MAILBOX_Init" and "MX_OPENAMP_Init" to the function "OPENAMP_DeInit".
# PICTURE1. The err1 under the function "rproc_virtio_create_vdev" in the remoteproc_virtio.c file

+) The function "virtqueue_allocate" codes

+) The function "metal_free_memory" codes

# PICTURE2. The debugging results
1) Hexadecimal conversion

2) Test end point

3) Test start point

# PICTURE3. STM32H757 referece manual (RM0399)

# PICTURE4. STM32CubeIDE build analyzer results

Friendly regards, Tau
