串口调试

dd if=/dev/ttyS7 of=/data/f.txt bs=1 count=3 &
echo 123 > /dev/ttyS7
cat /data/f.txt
原文地址:https://www.cnblogs.com/haoxing990/p/4619267.html