Skip to main content
Visitor II
August 30, 2019
Question

Reliability of M4 and A7 through RPMSG

  • August 30, 2019
  • 2 replies
  • 1034 views

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?

    This topic has been closed for replies.

    2 replies

    Visitor II
    August 30, 2019

    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()?

    JzhuaAuthor
    Visitor II
    September 2, 2019

    use VIRT_UART_Transmit on m4,use write/read on linux

    Visitor II
    August 31, 2019

    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

    JzhuaAuthor
    Visitor II
    September 2, 2019

    use VIRT_UART_Transmit on m4,use write/read on linux