alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

odroid-uart-serial.txt (1184B) [raw]


      1 Connecting to the Odroid HC4 via UART
      2 =====================================
      3 Thu Dec 30 11:11:15 EST 2021
      4 
      5 In the process of trying to flash OpenBSD on my Odroid HC4 (still
      6 not achieved.. but the FAQ says the chip is supported...), I
      7 needed to connect via the serial console.
      8 
      9 The board has a UART Console with the following pins:
     10 
     11 
     12 	_____UART____
     13 	|Pin 4 - GND|
     14 	|Pin 3 - RXD|
     15 	|Pin 2 - TXD|
     16 	|Pin 1 - VCC|
     17 	\___________|
     18 
     19 	CON5
     20 	3.3V LVTTL
     21 
     22 -> Source: https://wiki.odroid.com/odroid-hc4/hardware/hardware
     23 
     24 
     25 And I have a USB to Serial with the following wires (your colors
     26 may vary!):
     27 
     28 	--red----[VCC]
     29 	--green--[RXD]
     30 	--white--[TXD]
     31 	--black--[GND]
     32 
     33 To the best of my research, these stand for:
     34 
     35 - VCC: power
     36 - RXD: receive
     37 - TXD: transmit
     38 - GND: ground
     39 
     40 I had success connecting _without the power_, hooking up only
     41 GND, RXD, and TXD.
     42 
     43 The connectors on my serial are a bit too large, too, so I had to
     44 turn them diagonal so the squares would fit in the notches, but
     45 it worked!
     46 
     47 On OpenBSD (host OS), I was able to connect like so:
     48 
     49 	$ doas cu -l cuaU1 -s 115200
     50 
     51 (cuaU1 is the serial USB device--not 0 on my machine since my
     52 motherboard has its own serial out that takes up cuaU0).