Using ZModem on NuttX to transfer files
2024-4-6 19:53:33 Author: acassis.wordpress.com(查看原文) 阅读量:10 收藏

On NuttX side run “rz” command to receive files:

nsh> rz
**B0900000000a87c
**B0800000000022d


On Linux side run:

$ stty 115200 cs8 -parenb -crtscts -F /dev/ttyACM0

$ sz –zmodem nuttx_logo.txt > /dev/ttyACM0 < /dev/ttyACM0

You will see:
Sending: nuttx_logo.txt
Bytes Sent: 1942 BPS:196

On NuttX side you can see the received file:

nsh> cd /tmp

nsh> ls/tmp:

nuttx_logo.txt


文章来源: https://acassis.wordpress.com/2024/04/06/using-zmodem-on-nuttx-to-transfer-files/
如有侵权请联系:admin#unsafe.sh