您好,登錄后才能下訂單哦!
通信:串行, 并行, COM串口, 485總線,can總線, 單總線
一.虛擬機串行端口設置:
1.關閉Ubuntu
2.接好6818開發板串口
3.打開:編輯虛擬機設置
4.點擊下方:添加
5.點擊: 串行端口
6.點擊:完成
7.OK
8.開啟Ubuntu
二.Linux下minicom配置
1.安裝 :sudo apt-get install minicom
gec@ubuntu:~$ sudo minicom -s +-----[configuration]------+ |
Filenames and paths | File transfer protocols | ------>>>> |
Serial port setup | Modem and dialing | Screen and keyboard | Save setup as dfl | Save setup as.. | Exit | Exit from Minicom | +--------------------------+ 串行設置 +-----------------------------------------------------------------------+ |
A - Serial Device : /dev/ttyS2 | 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? |
+-----------------------------------------------------------------------+
保存 -----> Save setup as dfl
+-----[configuration]------+
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
---> >>>> | Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+--------------------------+
Minicom發送文件
進入minicom終端 : sudo minicom
Welcome to minicom 2.5
OPTIONS: I18n
Compiled on May 2 2011, 00:39:27.
Port /dev/ttyS2
Press CTRL-A Z for help on special keys
[root@GEC6818 /]#AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
-/bin/sh: c1: not found
-/bin/sh: AT: not found[root@GEC6818 /]#
[1]+ Done(127) AT S7=45 S0=0 L1 V1 X4
[root@GEC6818 /]#
[root@GEC6818 /]#
root@GEC6818 /]#rx write_serial 回車
輸入完后按ctrl+a +s
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。