I am attempting to get a working UART on my GL-X750C4 and am having some trouble.
Attached is a screenshot of my terminal program and the settings i’ve applied to the serial port dongle. It does appear that i have the baud rate and parity / flow control settings correct (they do match the settings here: UART Serial - GL.iNet Docs)
but despite those settings, here’s what i get out on the UART:
( i will post more pictures in more posts… the forums are limiting me to 1 img per post… grrr
The USB/TTL dongle that i am using is a cheap one used to program the ESP8266 micro controllers; it’s based on the Cyprus 210X chip. From lsusb:
Product ID: 0x7523
Vendor ID: 0x1a86
** The reason ** why i am asking if a pull up resistor is needed is because I get 100% garbled UART except for the last line when i use the web UI to reboot the device. the last line before the device reboots is a standard kernel message log of the format:
[timestamp.microseconds] Device is restarting message here....
And then the device reboots and the uart is garbled again. My theory is that there’s something about the shutdown routine that adjusts the internal pullups on the UART so the last line is clear, but whatever config/register change is applied… it is wiped out on reboot.
I will try to capture a full UART log to show exactly what i mean.
and like above… one more picture… this time, you can see how i’ve wired in the UART. For reference, the USB->TTL dongle is a cheap ESP01 programmer if you wish to google that pinout and confirm my wiring
I have captured a video that shows the UART behavior. I will post it here if interested.
I should have mentioned in OP that I have already tried all sorts of combinations of parity, flow and baud rate. I wouldn’t have gone straight to asking about the pull-up on UART0TXD if i hadn’t already done so.
Same with the 3v3 line, I’ve tried with and without.
As mentioned, for exactly only one line of uArt output there is no garbled output. If all lines but one are garbled, but I made no physical change to the device under test… Then it must be a software component that has changed the config.
So I am asking the community if they’ve gotten a working uArt connection on the x750 or not. Or, if a glinet engineer is reading, please let me know if I need to supply my own pull up.
here is the text that comes from the console when the device is rebooted. I have left notes in between the < $NOTE> blocks: