2019-08-29 07:26 PM
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?
2019-08-30 11:31 AM
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()?
2019-08-30 08:32 PM
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
2019-09-01 06:33 PM
use VIRT_UART_Transmit on m4,use write/read on linux
2019-09-01 06:34 PM
use VIRT_UART_Transmit on m4,use write/read on linux