2024-12-11 09:09 PM - edited 2024-12-11 09:29 PM
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
2024-12-16 12:55 AM
Hello @SofLit
Is my post generally ambigious to get replies, by any chance?
How to get an answer to my problem? I'm wondering what things are needed to get an answer to my question.
2024-12-16 01:13 AM
Hello,
You can contact the ST online support over this link: https://ols.st.com/