Skip to main content
Visitor II
July 20, 2019
Solved

[OpenAMP] Cannot initialize ttyRPMRSG0 configuration

  • July 20, 2019
  • 2 replies
  • 1404 views

I am programming a STM32MP157C-DK2 board using System Workbench. I have been able to run the OpenAMP_TTY_echo example project without trouble. Then I created a new project and generated OpenAMP middleware from CubeMX. No trouble while compiling and uploading the firmware. But I have been able to test the firmware because of this error (see image below).

0690X000009YwgxQAC.png

Am I missing something? Please share any hint that could help!

Thanks,

Tristan

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    Hi @Community member​ 

    /dev/ttyRPMSG0 is only created after call to VIRT_UART_Init(&huart0) ... which is not part of code generated automatically by CubeMX.

    Hope it help,

    Olivier

    2 replies

    Visitor II
    July 22, 2019

    Hello, I tried it on my PC it works well, I think you have to try it with System Workbench for STM32.

    1- Connect the card to the PC

    2- Download the firmware

    3- Open the console on the serial device0690X000009Yx8wQAC.png

    I also tried it with SSH instead of the System Workbench console.

    And it works:

    0690X000009Yx91QAC.png

    Thank you

    Technical Moderator
    July 22, 2019

    Hi @Community member​ 

    /dev/ttyRPMSG0 is only created after call to VIRT_UART_Init(&huart0) ... which is not part of code generated automatically by CubeMX.

    Hope it help,

    Olivier