HiKey UART for Noobs


#1

Hello,

I have an 2xUART and 2xHiKey (1xDebian 1xAndroid) boards, but no idea on how to use the UART nor any idea what to expect after I connect to them.

The UART adapter is the one from 96Boards UART.

What I did till now:

  1. Plugged the UART boards in like described here 96Boards UART Userguide. I did not change any jumper settings.
  2. Used dmesg | grep tty to identify the ttyUSB port. I get the following message usb 2-1.2: FTDI USB Serial Device converter now attached to ttyUSB0. Therefor it is /dev/ttyUSB0.
  3. Used screen /dev/ttyUSB0 to connect to the device, but I always get [screen is terminating]

What do I do wrong?
What would be the expected output of the UART connection?


#2

Hi @jeeppler,

Is this your first time to use Serial console?
The Serial console is extremely useful to see the boot messages and to login to the dev boards.

I see you already have “/dev/ttyUSB0” being recognized which is a good sign that USB-UART adapter is working correctly, so please follow the instruction on this link.

http://www.96boards.org/forums/topic/short-intro-to-start-your-hikey-with-serial-console/


#3

@Akira Tsukamoto, thanks that was really helpful :slight_smile: