在windows下安装tftp服务器
udhcpc 命令使板子重新获取ip
在picocom中输入tftp
# tftp
BusyBox v1.22.1 (2014-08-21 15:41:18 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -gr 1.txt 192.168.9.116 从ip为192.168.9.116的远端pc机的E:\shared\tftp目录获取远端文件1.txt
# tftp -pl 2.txt 192.168.9.116 将设备本地文件 2.txt 传输到 ip为192.168.9.116的远端pc机的E:\shared\tftp目录
udhcpc 命令使板子重新获取ip
在picocom中输入tftp
# tftp
BusyBox v1.22.1 (2014-08-21 15:41:18 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -gr 1.txt 192.168.9.116 从ip为192.168.9.116的远端pc机的E:\shared\tftp目录获取远端文件1.txt
# tftp -pl 2.txt 192.168.9.116 将设备本地文件 2.txt 传输到 ip为192.168.9.116的远端pc机的E:\shared\tftp目录