alexkarle.com

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

commit 55cd30e6c22a1e77111b7b8e64386e410c7dcded (patch)
parent 28fc25e90d3e8497c02970d68ca5e80786f2d663
Author: Alex Karle <alex@alexkarle.com>
Date:   Thu, 30 Dec 2021 11:38:12 -0500

notes: Add Odroid UART notes

I'm cleaning up my desk, which involves dismantling the UART connection
to the Odroid I was working on, and I figured it'd be good to document
for my future self when I pick the project up again!

Diffstat:
Agopher/notes/all/odroid-uart-serial.txt | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+), 0 deletions(-)

diff --git a/gopher/notes/all/odroid-uart-serial.txt b/gopher/notes/all/odroid-uart-serial.txt @@ -0,0 +1,52 @@ +Connecting to the Odroid HC4 via UART +===================================== +Thu Dec 30 11:11:15 EST 2021 + +In the process of trying to flash OpenBSD on my Odroid HC4 (still +not achieved.. but the FAQ says the chip is supported...), I +needed to connect via the serial console. + +The board has a UART Console with the following pins: + + + _____UART____ + |Pin 4 - GND| + |Pin 3 - RXD| + |Pin 2 - TXD| + |Pin 1 - VCC| + \___________| + + CON5 + 3.3V LVTTL + +-> Source: https://wiki.odroid.com/odroid-hc4/hardware/hardware + + +And I have a USB to Serial with the following wires (your colors +may vary!): + + --red----[VCC] + --green--[RXD] + --white--[TXD] + --black--[GND] + +To the best of my research, these stand for: + +- VCC: power +- RXD: receive +- TXD: transmit +- GND: ground + +I had success connecting _without the power_, hooking up only +GND, RXD, and TXD. + +The connectors on my serial are a bit too large, too, so I had to +turn them diagonal so the squares would fit in the notches, but +it worked! + +On OpenBSD (host OS), I was able to connect like so: + + $ doas cu -l cuaU1 -s 115200 + +(cuaU1 is the serial USB device--not 0 on my machine since my +motherboard has its own serial out that takes up cuaU0).