Anyone else's UART RX (serial input) stopped working?
#1
Bug 
I installed and was happily running OpenBSD on my RockPro64 v2.1 for many months. At some point I needed to wipe and reinstall everything. When I attached the serial console as usual, I realized that I was only ever able to get serial output FROM the board, but was no longer ever able to send any serial TO the board.

I have performed all of the expected troubleshooting steps many, many times to figure out what the heck I'm doing wrong:
  • rechecked TX, RX, and GND connections
  • rechecked serial terminal baudrate and settings (correct because I'm getting good serial output)
  • swapped out different FTDI USB-serial cables
  • confirmed I was able to use the same FTDI cable to send and receive on a different SBC
  • connected both TX and RX lines to an oscilloscope (with serial decoding) to monitor that I was, indeed, sending and receiving valid serial data to/from the board

At this point I'm starting to think that I must either have inadvertently shorted the UART RX pin to something bad and blown the OC/OV/ESD protection in the silicon, or maybe there is even a manufacturing defect.

As my next debugging step I was going to start writing firmware to manually read the RX pin and see if it picks up signal changes, but I wanted to check with folks here and see if anyone has encountered this and/or if someone can suggest an easier debugging strategy.

Thanks much!
  Reply
#2
Could it be that the RockPro64's unusually high default bit rate is a little too fast for the UART you're using to handle reliably?

Could it be that you need a shorter (or otherwise better) serial cable to handle such a high speed?

I wouldn't expect either of those situations to cause trouble in only one direction, but you never know. It might be worth configuring the serial port for 19200 just to see if it helps. I had to do that until I bought a more expensive serial/USB adapter.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SATA hotplug not working? JPT223 0 385 09-15-2023, 04:20 AM
Last Post: JPT223
  NAS mods: external serial port and power button foresto 4 6,358 10-04-2020, 11:21 PM
Last Post: zer0sig
  UART->RS232 adapter that supports 1.5M? Skirmisher 3 5,006 08-20-2020, 03:46 PM
Last Post: foresto
  Cheap 4-port SATA card working with RockPro64 4Gb andyburn 6 10,551 08-10-2020, 08:36 PM
Last Post: zer0sig
  new WIFI/BT module not working with android 8.1 Firesped 0 1,968 05-12-2020, 10:33 PM
Last Post: Firesped
  No boot with Supermicro AOC-SASLP-MV8 (serial output) kram0000 0 1,732 10-22-2019, 04:00 PM
Last Post: kram0000
  UART ttyS2 on RockPro64 for custom communication meier 2 4,398 08-22-2019, 06:35 AM
Last Post: meier
  80 mm fan not working kromsam 2 3,478 07-01-2019, 08:01 AM
Last Post: kromsam
  video not working greenhobby 0 1,463 03-21-2019, 05:56 AM
Last Post: greenhobby
  PI-2 BUS UART zener 1 2,850 10-06-2018, 08:05 AM
Last Post: zener

Forum Jump:


Users browsing this thread: 1 Guest(s)