cancel
Showing results for 
Search instead for 
Did you mean: 

Reliability of M4 and A7 through RPMSG

Jzhua
Associate III

I wrote an application on the STM32MP157C-DK2, and m4 reads the data of an external adc and sends it to A7 for processing. The entire program got stuck after running for about 15 hours. The console has been outputting the following content

[84306.511840] rpmsg_tty virtio0.rpmsg-tty-channel.-1.0: rpmsg_send failed: -512

[84321.865507] rpmsg_tty virtio0.rpmsg-tty-channel.-1.0: timeout waiting for a tx buffer

Whether it is restarting the program or m4 can not be solved, can only restart the system to solve.

Any suggestions?

4 REPLIES 4
lenonrt
Associate III

Hi!

I can't help you but I would be very happy if you help me.

Are you using VIRT_HAL_Transmit() in the M4?

Can you tell me what functions do you use on the Linux side?

Are you using the file I/O framework like read() and write()?

IYetk
Associate III

Hi!

I also request help for a similar problem please :)

I am reading my temp sensor data on m4 side and sending them with HAL_UART_Transmit() method

How can I get this data on linux side ?

If this method is wrong, which methods did you use on m4 side and how did you receive your data on linux side ?

thanks in advance

use VIRT_UART_Transmit on m4,use write/read on linux

Jzhua
Associate III

use VIRT_UART_Transmit on m4,use write/read on linux