
See How to use TTY with User Terminal article to find the appropriate tty instance to be used. Hardware flow control is generally set to off (default value is on) and a baud rate of 115200 is usual. The UART configuration that is set with the below command has to match the one from your board: to be checked within board user manual.
If a message indicating Minicom does not exist, then install it:. You need first to check that Minicom is installed on your PC. Pictures describing board connections can be found in Category:ST boards 1.1 On Linux ® PC 1 Remote terminal via serial link (UART/USB)ġ Remote terminal via serial link ( UART/USB) įirst of all, you need to connect your host PC to the board via UART.ĭepending on the board, some additional materials may be needed to physically interconnect the board to the console serial port (extension board or adapter to interconnect the UART from the board to the USB PC input). Installation Install the program with: sudo apt-get install minicom Alternatively, you can get Minicom via the Synaptic Package Manager. It is used to talk to external RS-232 devices such as mobile phones, routers, and serial console ports. Minicom Introduction Minicom is a text-based serial port communications program. Port /dev/ttyUSB0 Press CTRL-A Z for help on special keys iNET (ttyu0) login: iNET (ttyu0) login: nish Password: - JUNOS 10.1R1.8 built 18:31:54 UTC If you wish to exit Minicom, use the command Ctrl A then Z then X. You should be able to login via the console port like the following Welcome to minicom 2.6.1 OPTIONS: I18n Compiled on Apr 28 2012, 19:24:31. Open up minicom by running the command minicom -s and select Serial port setup Reflect the output you saw from dmesg and set it to the Serial Device by pressing AE > C A – Serial Device: /dev/ttyUSB0 E – Bps/Par/Bits: 9600 8N1 Please see the following screenshot for more info. usb 1-1.3: pl2303 converter now attached to ttyUSB0 Make sure you chmod 777 /dev/ttyUSB0 so minicom will allow you to save the config.
Now we know the vendor id and the product id of the USB-Serial Port converter, this will enable us to load the linux kernel module “usbserial” to activate the device, like this Tagscwirc, diy, electronics, homebrew, kernel, linux, linux kernel, morse, morse code, serial, ubuntu, usb, xchat. Dmesg grep USB You will see something similar to this output. Apt-get install minicom Then you need to connect the USB Serial adapter and find out which serial port is it connected to.
I will be using Ubuntu flavored Operating System for demonstration purposes. First of all, make sure you have a program called Minicom installed. The following guide will walk you through on setting up USB Serial Console Cable on a Linux via command line.