Configure USB to serial port and serial port tool in Ubuntu

Source: Internet
Author: User
Tags dmesg

Welcome to the independent blog:

Http://junkor.info

First of all, standing on the shoulders of giants, the first half is the previous article. I am lucky to be guided by this article, set successfully, and pass the test. The second part is the configuration of the serial port tool. Original article address

$1. Download: sudo apt-Get install minicom2, insert USB to serial port, terminal input: dmesg | grep USB .................................... ........................................ ................ [7415.893942] USB serial: USB serial driver core [7415.931116] USB 3-1: ark3116 converter now attached to ttyusb0 [7415.931141] USB core: registered new interface driver ark3116 [7430.248072] USB 3-1: USB disconnect, Address 2 [7434.588044] USB 3-1: new full speed USB device using uhci_hcd and address 3 .............................. ........................................ ....................... 3. Settings: minicom-Sserial Port setup --> serial device:/dev/ttyusb0 hardware data stream and software data stream control are set to No 4. Save and Exit 5. Run in the Command window: note: by default, Ubuntu has been installed. USB to serial drive (pl2303 ). Mine is ark3116, which is also the default installation 1, # lsmod | grep USB serial if there is USB serial, The system supports USB to serial port. Yzj @ yzj-LAPTOP :~ /Minicom $ lsmod | grep usbserialusbserial 36264 3 ark31162, plug in the USB to serial port, enter the command on the terminal # dmesg | grep ttyusb0, if the connection is successful, it indicates that the Ubuntu system has recognized the device. The usage of the primary key combination is: press Ctrl + a first, then release the two keys, and then press the z key. There are also some common key combinations. (1) s key: send the file to the target system; (2) W key: automatic screen scrolling. When more than one line is displayed, the next line is automatically wrapped. This function is useful when viewing kernel startup information. (3) Key C: Clear the display content on the screen; (4) Key B: view the historical display of minicom; (5) Key X: Exit minicom and a prompt is displayed to confirm exit. $

Okay. After the USB to serial port is configured, It is the serial port tool. Kermit is used here.

  1. Install Kermit

$ Sudo apt-Get install ckermit

  1. Configuration

Here, the configuration is to manually write a configuration file. kermrc, which is placed in the/home/Jun directory (of course, you are definitely not the Jun directory, that is, the current user's home directory)

$ VI. kermrc # The file content is below. Note that this file is stored in/home/Jun.

# In fact, many configuration files of the software you installed are stored in this directory, except that # is hidden. Does it start.

Set line/dev/ttyusb0

Set speed 115200

Set carrier-watch off

Set handshake none

Set flow-control none

Robust

Set file type Bin

Set file name Parameters

Set rec package 1000

Set Send package 1000

Set window 5


Run

$ Sudo Kermit-C

It starts. to close it, press Ctrl + \, press C, enter exit, and press enter to exit.


Below are some of the screen capture tools Shutter for Ubuntu. Haha



Is the output of uboot;


Is the kernel and root file output on the Board;

Download this doc

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.