Connecting via serial cable

Udoo features a built in USB to serial interface which is very useful for various reasons: You can use it to connect Udoo via SSH without a network connection, programming the Sam3x (arduino) and access the debug console for troubleshooting purposes.

Connecting via serial will practically result in a shell console, the same as the one you’ll obtain through SSH connection (http://en.wikipedia.org/wiki/Secure_Shell).

Connecting via Serial from Windows

 

Connecting via Serial from Linux

 

  • Connect the serial port of UDOO (CN6) to your PC using the micro USB cable.
  • Type
    dmesg
  • You should see this line at the end
    usb 2-2.1: cp21x converter now attached to tty

    Linux1

  • Install minicom:
    sudo apt-get update
    sudo apt-get install minicom
  • Open Minicom and configure it (only the first time) using the following command:
    sudo minicom -sw
  • Go to “Serial port setup” and edit as follow:
    Serial Device: /dev/ttyUSB0 (type a key)
    Hardware Flow Control: No (type f key)
    Software Flow Control: No (type g key)
    Linux2
  • Press exit and “Save setup as dfl”
  • Exit from Minicom
  • Let’s give proper access permissions to serial port with:
    sudo chmod 666 /dev/ttyUSB0
  • Now we can start listening with:
    sudo minicom -w
  • Power cycle UDOO to see the boot process and connect it to serial console shell

Connecting via Serial from Mac

By:

Submit a comment