In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
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
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.