******** ******** ******** ******** ******** ******** ******** ******** ******** ********
我用apt-get install minicom的方式安装了minicom。
并且配置了:
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyUSB0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
| |
| Change which setting? |
+-----------------------------------------------------------------------+
******** ******** ******** ******** ******** ******** ******** ******** ******** ********
get-apt install minicom的时候自动安装了lrzsz, 现在执行apt-get install lrzsz, 输出下面的内容:
[应该是说lrzsz已经安装到最新版了吧...]
Reading package lists... Done
Building dependency tree
Reading state information... Done
lrzsz is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-3.5.0-17 linux-headers-3.5.0-17-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
******** ******** ******** ******** ******** ******** ******** ******** ******** ********
我 " ctrl + alt + t " 打开一个新的 终端 , sudo minicom进入minicom后:
1. 使用 ctrl+a+s的组合, 进入模式选择
2. 选择zmodem或者xmodem...
3. 之后进入"zmode upload"界面, 显示: sh: rz: not found.如附件.
******** ******** ******** ******** ******** ******** ******** ******** ******** ********
我用 " ctrl + alt + t " 打开一个新的终端, sudo minicom进入minicom后:
1. 使用 ctrl + a + r的组合, 进入模式选择
2. 选择zmodem或者xmodem...
3. 之后进入"zmode download"界面, 显示: rz waiting to receive.
4. 再开打一个新得终端, 输入 sz filename... 之后minicom界面显示[见附件]:
|rz waiting to receive.Retry 0: Got TIMEOUT
|Retry 0: Got TIMEOUT
|Retry 0: Got TIMEOUT
******** ******** ******** ******** ******** ******** ******** ******** ******** ********
我的问题:
1. 我在Ubuntu 12.10下用终端进入minicom: " sudo minicom " 后, 不论用"ctrl + a + s"还是"ctrl + a + r" 都没办法和Ubuntu通信...板子的连接应该是没有问题的.lrzsz也安装了.
2. 我在网上看如果要在开发板上使用rz/sz的话, 得在开发板上也安装lrzsz, 得用上交叉编译, 是这样? 我在咱们论坛里搜索minicom, 似乎没有介绍用xmodem/zmodem的实战例子, 我要传的文件从200kb到250M不等...如果要交叉编译的话, 得怎么弄呢?