From 55cd30e6c22a1e77111b7b8e64386e410c7dcded Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Thu, 30 Dec 2021 11:38:12 -0500 Subject: [PATCH] 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! --- gopher/notes/all/odroid-uart-serial.txt | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 gopher/notes/all/odroid-uart-serial.txt diff --git a/gopher/notes/all/odroid-uart-serial.txt b/gopher/notes/all/odroid-uart-serial.txt new file mode 100644 index 0000000..c263149 --- /dev/null +++ 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). -- libgit2 1.1.1