Ubuntu Interface configuration of Serial Port on minicom:6818 Development Board
Communication: serial, parallel, COM serial port, 485bus, can bus, single bus
Open turns on device configuration device tcsetatttr, tcgetattrWrite, read write / read data close close
one。 Virtual machine serial port settings:
1. Close Ubuntu
two。 Connect the serial port of 6818 development board
3. Opening: Editing virtual machine settin
4. Click below: add
5. Click: serial port
6. Click: finish
7.OK
8. Turn on Ubuntu
II. Minicom configuration under Linux
1. Installation: sudo apt-get install minicom
Sudo minicomctrl+A-> O-> Serial port setupgec@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
+-+
Serial settin
+-- +
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: NoChange which setting?
+-- +
Enter
Save-> 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 | +-+ enter-> Exit from Minicomsudo minicom-> > enter (if the cursor moves down, it is successful, otherwise change to Serial Device: / dev/ttyS2, and add it all the way up.)
Minicom sends files
Enter the minicom terminal: 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 S70045 S000L1 V1 X4 & C1 E1 Q0
-/ bin/sh: C1: not found
-/ bin/sh: AT: not found [root@GEC6818 /] #
[1] + Done (127) AT S700045 S000L1 V1 X4
[root@GEC6818 /] #
[root@GEC6818 /] #
Root@GEC6818 /] # rx write_serial enter
Press ctrl+a + s after typing