Mar 31, 2014 0 Comments in Getting Start, Learning, Misc by
Accessing the serial console

Here you can find some suggestions about how to get access to the Cosino’s serial console from an external host computer.

Please note that to get access to the serial console you need a type-B miscro USB cable connected to the proper serial console port on your Cosino’s extension.

GNU/Linux host

On my Ubuntu 13.04 I use minicom to get access to the serial console. I simply plug the serial cable on my PC and then, by using dmesg command, I see which is the serial device I should manage:

So the serial console is on /dev/ttyUSB2. Let’s use minicom on it:

$ minicom -o -D /dev/ttyUSB2

If minicom is not present on your system you must install it according to your GNU/Linux distribution (on Debian/Ubuntu you can use command: apt-get install minicom).

Then verify minicom settings by pressing CTRL-a+o an then selecting Serial port setup in the Configuration menu. You should have:

┌────────────────────────────────────┐
│ A - Serial Device : /dev/ttyUSB2
│ 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 : No

│ Change which setting?
└────────────────────────────────────┘

If the device is correct you should see something on your terminal, otherwise try to hit the ENTER key.

Facebooktwitterlinkedin
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 63 = 65