Skip to main content
浩侯.1
Visitor II
December 30, 2020
Question

Problems with the stm32_rpmsg_sdb.c

  • December 30, 2020
  • 2 replies
  • 1739 views

I find the kernel Panic when I mmap 16 shared memory regions.(4KB/memory)

0693W000006H93lQAC.jpg

This topic has been closed for replies.

2 replies

Olivier GALLIEN
Technical Moderator
January 4, 2021

Hi,  

Please confirm you are trying to play with provided example https://wiki.st.com/stm32mpu/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_example

In which ecosystem context are you ?

Please check that memory mapping is consistent between kernel dts and MP4 firmware for shared memory.

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
TBlec.1
Visitor II
March 10, 2021

running into the same issue it looks like there's a simple buffer overflow in the `sprintf` when trying to print an index larger than 9:

https://github.com/STMicroelectronics/meta-st-stm32mpu-app-logicanalyser/pull/3/commits/14b3ddbda9cf7d2413479fb7fbd6aebc0d626a0f