Ubuntu 14.04 HyperTerminal Minicom connecting the ARM (rpm)

Transfer: https://blog.csdn.net/ajianyingxiaoqinghan/article/details/70209765

The author of the work environment:

PC system: the Ubuntu 14.04 the LTS
the ARM board information:
the Linux kernel version: Linux iMX6-ubuntu-desktop 3.0.35 -g914453f-dirty # 1 SMP PREEMPT Wed Nov 30 18:00:25 PST 2016 armv7l armv7l armv7l GNU / Linux
kernel: Linux
host name: iMX6-ubuntu-desktop
kernel version: 3.0.35-g914453f-dirty
operating system version: armv7l
processor type: armv7l
hardware platform: armv7l
operating systems: GNU / Linux
connection: USB-RS232 connection

First, find the serial devices

I use the USB to RS232 cable, a PC connected to the end plate ARM. First of all I need to find the address of the serial device can be configured.
USB interface plug before and after, the same instructions are performed as follows:

dmesg | grep usb

USB plug is not plugged with the USB, the instruction execution results as follows:

 

 

 

 The figure shows, that the difference information before and after the group:

[  248.810912] usb 3-4: new full-speed USB device number 4 using xhci_hcd
[  248.944945] usb 3-4: New USB device found, idVendor=0403, idProduct=6001
[  248.944948] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  248.944949] usb 3-4: Product: USB Serial Converter
[  248.944950] usb 3-4: Manufacturer: FTDI
[  248.944951] usb 3-4: SerialNumber: FTHJPKVE
[  248.991628] usbcore: registered new interface driver usbserial
[  248.991636] usbcore: registered new interface driver usbserial_generic
[  248.991642] usbserial: USB Serial support registered for generic
[  248.994356] usbcore: registered new interface driver ftdi_sio
[  248.994364] usbserial: USB Serial support registered for FTDI USB Serial Device
[  248.994461] usb 3-4: Detected FT232RL
[  248.994585] usb 3-4: FTDI USB Serial Device converter now attached to ttyUSB0

Among them, ttyUSB0that is, our newly inserted USB port.

Two, Minicom use

1, Minicom installation

Enter the command:

sudo apt-get install minicom

After, minicom will be installed.

2, Minicom be the default setting

Provided Minicom, you need instruction:

sudo minicom -s

After entering, selecting Serial port setup, as shown:

  Entered Serial port setup, the default settings as shown:

 At this point its changes:

(1) Change serial device:
Press "a", the / dev / tty8 to / dev / ttyUSB0, and carriage return;

(2) change the baud rate:
Press "e", the input "a" or "b" to select the setting frequency. Here I use the 115200 8N1. Enter to confirm;

(3) Change the hardware flow control:
Press the "f", is set Yes or No. Here select No.

After the change, as shown:

 When finished, press Enter, to complete the setting.

After that, select Save setup as dfl, and press Enter. as the picture shows:

 Now you select Exit, you can enter Minicomthe program.

3, run Minicom

If selected in the above step is Exit from Minicomthen the following instruction after the input terminal can be used directly in the default settings run Minicom:

sudo minicom

The power at this time. HyperTerminal interface receives the output system startup, as shown:

  So far, it works under Ubuntu 14.04 HyperTerminal Minicom ARM connection is completed.

 

Guess you like

Origin www.cnblogs.com/jiu0821/p/11762154.html