Does the GL-X750C4 need a pullup resister on the UART?

Hi there.

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:

çAàU≠»ÎÒ†.)≤¥ã.Ú°åV™›-.K—yB"ïcí“Ä.ä¬Ä.Ç ö嶂ôä®
äxó
j‚ß͆ÍÀ’π.ï’†¶."IA≠'.~C°é•.äÍÎ’π.ï’Ä&.*äa¥Î%—≤ïπÂ¥⁄±Ω£ÀKÂß) ™©'Bä∂lKe†..I†Z´—ç·a.Î5ÂÕflVï≈ıYkÂ∫桵≤5.¢ër™ óä°bĶ≤*ät·.=ǬA0Ǭêöç!U¡†âΛ¨B•›®JÍÇ®¬Â,†¬…3©C!U¡ ∂8KïÕ†O¢êE∂.Ǭ≈6åÇ∏Lì.Ç‚E∂J»±..*.
·¶+ÕhÄ≥πu¶Jë ê’¶."’∂⁄¨VJ¡Ä¬—0å"ïv©¨.
E†¬≈8ç°.+Õ¡†Nã’†Üjâ¨öïÕ¥KÅcØ.KAΩ™±&»*ä.∫≈≤+ΛÄ..≈§.Içå™Õ≈Æ."ïôa]ã.ek•…oÀïπtC°H¯∞ÎïÈÄ.ÅP¨
∫≈¥.zı¥VkAùdž.+˘†ÓWãç¡Ä◊.⁄ç·°.Îuµa£Uπe¥ïπi¥ö±i∫.È≤ç·Œ.≤≈ÏZ.äë—≤ôÆA©.2—°.ÎǵNΛÄVãïë X.VïÕ≥C!Tñç°ikÅ≠ê(
ëd.÷Õ VΩµ†¬Â¶ñ.¬êS®a¥ÎuµÖ„UπïÙïπ•ÙZ±•˙Y'íïÕ•.j≈≥ç.a≤.ÇÇç·®ÀKÂ.BY.j-K…ö…7†Öeiç·S≤.í’ÁJπÂ¥C!Ç£ˆ≈ ∞a0.¡êdž¨÷I†¬›1±≥àe..“Ç0∞'⁄:∑V¬9∫.Èa‰C·e¥.. ¡ç!ÍπÂ^.ïÂj™ç+.Ç≠∞( Ä*¶.Ç!•†eàSí.íïù†Z´—ç!Q°“™⁄öíïs•..Àù†Æ⁄
äA‘JµI∑'⁄I∑íïÕÂ.ÇΩÓY»:†å÷e†¬·0∞.Ǭ∞.ô›≤ǯS 4ç·e¥+“Ç∞“0¨≤A:.“§,'¬ç·

(coolterm won’t let me copy the HEX encoded data, so please see the attached screenshot for that)

( 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.

because i’m limited to just one pic per post, here’s the picture showing the data that i get on the UART on device boot

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

The garbled UART is generally caused by a mismatch in the baud rate. You can take the 3.3v line and try it out. You only need three wires to connect.

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:


<The device was booted; i was connected to it's WIFI AP and using the GL web ui, not LUCI to reboot the router.  I have trimmed the data from the console up to this point. Below you see exactly what my console has about 3 seconds after i click the "yes" button on the "do you want to reboot?" prompt.>

[ 1407.620000] reboot: Restarting system
.
äC°U)ΩΩtä≤ëâjöI∂X,÷*]≠V.—πBƒY,í≤í¬ëÇ≠Çπ'⁄öSJ*ä#·¯ì¬-¥.™ »À+†(V.≤..…¡S'.ç°…•ç!ÍπÂ^.ïÂí≤0ç·a.ÎEë…flZ´—ÈXÎ5ΩŸ¶ö.)  )∫B 6‚ZW."—≤.JŸ©Wà°.Î5Âsøñïqµ9+Âi†£’†ì¬ ‰VÅ5π.ä°‚í 6ç·t°AΩÇ‚A∞Ǭ0∞f»T·Å(ν¨¬•›®
ÍÇà¬Â,Ĭ…3â.!U¡ .—µô.ÍÄ.¬eñ.ǬE6.¬∏.ì.ÇxLS©àë&.*âç·FÏÿ..j≈Æ..
ë ¬’¶."’∂ö,Vä¡ ∞Q0."ïvZ¨6
E†¬≈8ç°.+Õ¡ÄN´ï.3&J1 .÷—o.öΩuKÅù™±fà*ä%∫Ö…ÓZk.≠.Ö놮51†]ÆÀkA§.Vı¨.*Ÿ∂.ÆÀµeK.ä.·∞ÎïrÄ=ÅP¨
∫•—Ëz’—‰Z.͆.¬°Â.⁄›ÈW°.Ù.⁄
äa.Îuµ≈„Uπ’ÙïπÂÙ⁄±Â∫Y…Úç·NØ≤Öl©.
ëëÚYÆ.J˘†.+Õ®.™Õ©ÎÅf©ï‰
ëëÚYÆNàF•◊°≈Æ.jÖÉ
ë—≤ôÆA¶ŒÎA∞eÊ÷¡0∞ì»aÙÎ5ı·Ï.˘Â˜U˘È7+ÒÈoñÇÚŸÆ..™Ös-ö¡2&¬†.·HØ´ÂA¢ô.™çãÈZI7Ç!Â*C·S¶.íZ´—ç°.öô›ëǯÇ0,¬êÇ£ˆ… ∞]1LSH¯Â..“†Ç:ö“óñÇ öíÈa§.·•..ǵ5
Íπïy.ïï K©j>.*Ö√äÇ≥¶.B°ŸR*äìÊ.íïgÄ.ã—5
P.JïI∑'í’≥YóÂÆ.öI∑C·AîJ5•∫Ú ÛÊ.íïÌ•."›Æôà:.Ÿß.Ǭ·0.a∞dž¨÷I†¬›2±≥»eÙ+Ú ∞“0¨≤A:.“§å ¬ç·e¥+.™¡
ä9..b†Y.+j
ëù±ÕØõ.
—hYÆkÅS–R2ÖŒ..…Èó…1†ï…ÕÈÀ.ÇÆL¢c©í¬1¥.J’·kΩıÌ
—·ÂÓkA…kπ
äX.Î5·©ÂÖŸ§UçÕ∫.Ωı¨ñk‚.e.…¨.JŸ¥.Æ+± Q®h»SÂó•˘ÁÇxL ëì.aÄ◊.¬∏ìÂ7°.Ç*ä*KÅá.kÇ¥.ö—Ωp
’—o¨Î—:.“Ä.à.äÇà..¬†.°HÆ."’∂ö¨÷ÅaW≈¨.,´5
‘´πd
©îi°’£MÀ›†L±≈¢N—≈Ø.öÒ°WWYÆ©àD•W+’†+Ÿ’ÄL±≈¢N—’§i°’£MΛÄV÷≈£.¢’≥.öÒ°WWYé©®D•W+’Ä+ŸeÄWV—ïd)°ïc-Àù S
.añ…ïsÆ…r
!T÷•Õ•BÖŸ•j.ç†Xñ…•Ó±C®Ÿ¨+Îù.‰YWkïA¶+Õ·†.W—µÆ…Úç!‘Ÿ©l.˙πl^ÇÖvY≤Ωr2—°.À.ΩoWÀù .WπdX..í•Ú[W…Â2…ΩÌrΩ…†ñ+ÕË……jäËΗÈÎÅiÌÿVA·WÇ0¯N.≤∞Ǭ
äTÚ^Àù†Y..j
•..Ǩ.´A§Îπ.äT%ëç·T≤fiÀ›†Y.+j
eKÒëÇΩÈ¥.™·ç·d]Aëö¡’•.ä¬êjäU.Àù Y.+.¢ïv©¨ñHËk—.±N&)≤¬Æ..Ç©.
—©W÷H¥Æ•nß™—hê#!.°∞b•πÎ"Ω›ÓC!T%±ç·¥Æ•nß™—hë#·U≥.kÅ•..ǧ..kï
!ï—–2…ΩÌöï…ˆY.äπ¶)≤∏.≤í'z’…†R.
ë—≤ŸÆA©.ä ≤)≤¬Æ.)*äTÀ’ÆòkAß.ïŸ∑.◊ȱ-›5∞.”Y¢.k≤ç.Í≈§äë—≤ôÆi†¬·0∏Ç∞Ç*
Ã+ëÂÓVÇ*àÉ$.ΩΩÙZk.È[ùï†X. Ê≤¬êdž……jä.†R+ùÂrÖµÂ'ÇÄ≥
µ.œïn.Ò†*Àı∏.ì)r 2∞C!.†®ïÖÙYñ.†.Ç ≤ä‚-∞j 6†.⁄:µLß™†U’5ä.ÇIÌÿVA‘^ïi†.*•–*"ÂÓ]ÅKÂÆ+Ò†“+›ÂBl/+.cÀ·≤ôÆ’§ä® Ä"ÖÒ°.•È•..ÇÄåì óç&.ÂtY.Í ä≤ïj.
ädžÍ+—†Pñ…•ÓÈ ∏Ç6Ǭê.!ÇÄ.K…†ı•πÙ'ÇòÇ∂Ç∞j
ÄÇñYÆÀÂiÆ..°ï„≠’µ†X.ǯN.≤∞¢¬ Æ…˘œ)» †™πçÔ[…ïÛ.Àù†)ñπÂ.*µ·ñÅ.Æ.˛

< and it continues to be garbled... Until I repeat the reboot>

Seems you need to use another UART adapter. This is generally caused by this.

The device IO voltage is 2.5V and sensitive compared to those devices with 5V IO.

I have tried two. Both the same chipset. They are 3v3 devices, not 5v.

That still does not explain one un garbled line.

I ordered a new FTDI based USB to Serial converter and am no longer having issues w/ the UART.

To answer my original question: no pullups are needed.

This post can be closed :slight_smile: