03-20-2019, 04:59 PM
Has anyone had any luck getting the serial console to work? I'm not having any luck.
Serial Console
|
03-20-2019, 04:59 PM
Has anyone had any luck getting the serial console to work? I'm not having any luck.
You'll need to use the UART0 pins, which are labelled PB8 and PB9 on the schematic rather than the UART2 pins. They're pins 7 and 8 on the header diagram.
03-21-2019, 10:00 AM
(This post was last modified: 03-29-2019, 07:20 PM by AZClusterboard.)
(03-21-2019, 08:06 AM)mdmbc Wrote: You'll need to use the UART0 pins, which are labelled PB8 and PB9 on the schematic rather than the UART2 pins. They're pins 7 and 8 on the header diagram. Step 1: Power off the clusterboard completely Step 2: Connect RX/TX to 7 and 8 (4 and 14 on the silkscreen) Ground to 6 (13 on silkscreen) Step 3: For the console programmer on the Pine store: https://www.pine64.org/?product=padi-serial-console Move the jumper to 3.3v, Use ground, RX, TX as labeled then plug in your usb Step 4: On your terminal program (I used PuTTY for windows) set it to the appropriate com port (found in device manager) and the speed is 115200. Start the connection then power on the clusterboard. Thanks for your help!
03-21-2019, 12:09 PM
Oh, and fair warning: The USB tries to power the board so you might have to play with it a little to get it to communicate properly.
03-21-2019, 05:11 PM
(03-21-2019, 12:09 PM)AZClusterboard Wrote: Oh, and fair warning: The USB tries to power the board so you might have to play with it a little to get it to communicate properly. Don't connect the 5v power. All you need are gnd and the two signal leads (rx/tx). Connecting the power can actually damage things... (unlikely, but possible).
03-24-2019, 10:15 AM
(03-21-2019, 05:11 PM)PigLover Wrote:(03-21-2019, 12:09 PM)AZClusterboard Wrote: Oh, and fair warning: The USB tries to power the board so you might have to play with it a little to get it to communicate properly. I did some testing and it looks like you don't need the power but you do need the ground. I'll update my instructions after I get done trying to fix armbian today.
03-26-2019, 05:29 AM
(03-24-2019, 10:15 AM)AZClusterboard Wrote:(03-21-2019, 05:11 PM)PigLover Wrote:(03-21-2019, 12:09 PM)AZClusterboard Wrote: Oh, and fair warning: The USB tries to power the board so you might have to play with it a little to get it to communicate properly. That's correct. At minimum to make a bidirectional serial connection (that's not differential voltage,) you need RX, TX, and GND.
You almost always need ground to be common (i.e. all grounds connected together) in electrical circuits, as it's the reference that makes other voltages 'positive'. And even when you don't connect the 5v of the usb uart or serial console cable, you may have fun with the tx line of the usb uart/serial console cable supplying just enough power to make your device not want to boot properly... I used to just leave the tx connection off if I was only wanting to monitor (i.e. receive) or capture boot logs, or only connect a few seconds after powering up the board.
|