Page tree
Skip to end of metadata
Go to start of metadata


运行OpenAMP_TTY_echo应用

OpenAMP_TTY_echo应用是演示如何使用OpenAMP MW和虚拟串口创建IPCC的通道与Linux Cortex-A7侧通信。

# cd /usr/local/Cube-M4-examples/STM32MP157C-DK2/Applications/OpenAMP/OpenAMP_TTY_echo
# ./fw_cortex_m4.sh start
# stty -onlcr -echo -F /dev/ttyRPMSG0
# cat /dev/ttyRPMSG0 &
[1] 5793
# stty -onlcr -echo -F /dev/ttyRPMSG1
# cat /dev/ttyRPMSG1 &
[2] 5805
# echo "Hello Virtual UART0" > /dev/ttyRPMSG0
Hello Virtual UART0
# echo "Hello Virtual UART1" > /dev/ttyRPMSG1
Hello Virtual UART1


  • No labels