UART switch not working [EDIT: I got it working]
#1
So I'm attempting to boot OpenBSD on my PBP, which requires serial console access. So I have a serial adapter, and I've flipped the UART switch on the main board. According to the wiki, the sound should be disabled and I should be getting output on the serial port. However, the sound is not disabled and I get no output on the serial port. I checked the electrical function of the switch and it seems to be switching appropriately. Is this just a firmware problem? Has anyone else encountered this?

EDIT: I forgot Rx and Tx have to be switched on the host device to communicate with the target device. I have it working now! Thanks to @KC9UDX for the help.
  Reply
#2
So you are still getting sound?

Are you sure you have a good interface cable and are using the correct settings on the terminal end?
:wq



[ SRA accepts you ]

Everyone wants me to quit using NetBSD
  Reply
#3
(10-24-2021, 06:45 PM)KC9UDX Wrote: So you are still getting sound?

Are you sure you have a good interface cable and are using the correct settings on the terminal end?

I think so, I'm using the baud settings reported in the wiki. Are there other settings that are necessary that aren't reported there? I don't think my interface could be the problem...

I was under the impression that while the switch is turned on, no sound comes out of the device regardless of whether an interface is connected, is that wrong?
  Reply
#4
You should still have sound from the main speakers, just not from the headphone jack. Where did you get the cable? There are cables that are wrong and Pine64 even used to sell them. The correct one is 3.3V, the wrong one is 5V. It might be possible a wrong cable has RX and TX swapped, too.

Make sure your terminal is set for 1.500.000 baud. I know the first time I did it, I misread it as 150.000 baud.
:wq



[ SRA accepts you ]

Everyone wants me to quit using NetBSD
  Reply
#5
(10-24-2021, 10:40 PM)KC9UDX Wrote: You should still have sound from the main speakers, just not from the headphone jack.  Where did you get the cable?  There are cables that are wrong and Pine64 even used to sell them.  The correct one is 3.3V, the wrong one is 5V.  It might be possible a wrong cable has RX and TX swapped, too.

Make sure your terminal is set for 1.500.000 baud.  I know the first time I did it, I misread it as 150.000 baud.

I made a cable from old headphones and a Tigard tool switched to 3.3V, and I double checked the values with a meter. I think I had 1.5M baud set correctly, but I'll try again tomorrow.

Thanks for the clarification about the sound behavior, that wasn't obvious from what I had read!
  Reply
#6
If it still doesn't work, try swapping TX and RX. I don't have a good reason to doubt the wiki on that but it can't hurt to try it.
:wq



[ SRA accepts you ]

Everyone wants me to quit using NetBSD
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  New Working nVME gilwood 1 644 11-17-2024, 04:24 AM
Last Post: reukiodo
  Explaination for UART through-hole pads? wishindo 3 1,955 04-13-2023, 07:11 AM
Last Post: KC9UDX
  keyboard and usb ports not working User 24565 3 3,319 02-15-2022, 10:12 AM
Last Post: wdt
  pinebook pro trackpad randomly stops working chewie 5 6,762 08-10-2021, 04:33 PM
Last Post: chewie
  Some Keys No Longer Working pietenpol 0 2,024 06-05-2021, 05:39 PM
Last Post: pietenpol
Question External Monitor not Working sciolus 5 6,106 05-05-2021, 02:05 AM
Last Post: aurora.borealis
  Some keyboard keys not working oddsocks 10 12,746 04-20-2021, 08:33 AM
Last Post: dsimic
  Microphone not working on Pinebook Pro vfr400racer 2 4,700 03-21-2021, 02:56 AM
Last Post: vfr400racer
  Anyone have a microphone working on a Pinebook Pro? Rachel Stone 5 5,738 02-20-2021, 05:21 AM
Last Post: dsimic
  Brand-new Pinebook Pro - keyboard not working guy100 8 12,112 10-09-2020, 10:49 AM
Last Post: guy100

Forum Jump:


Users browsing this thread: 1 Guest(s)