USB to TTL Tips - HOW TO FIX Garbage/Garbled PuTTY output

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1248
Location: Illinois Moderator

PostPosted: Thu Apr 02, 2020 15:06    Post subject: USB to TTL Tips - HOW TO FIX Garbage/Garbled PuTTY output Reply with quote
Well, after countless hours reflowing solder and pulling my hair out, I did some more googling and found the real reason why my usb to ttl has garbage or garbled or weird characters...

The solution is to change a setting in putty.

First and foremost, run putty 0.73 or newer as older versions do not have this option.

Set up your correct com port, then under the connection > serial settings make sure to use:

Code:

baud: 115200
databits: 8
stopbits: 1
parity: None
Flow Control: None (or Xon/Xoff seems to work ok too)


THEN THIS SETTING IS THE SOLUTION
Code:
Window > Translation > "Enable VT100 line drawing even in UTF-8 mode".

_________________
TIPS/TRICKS: Best QCA Wifi Settings | QCA WIFI WIKI | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]44374 nightly (Main Router)
[EA8500]43192 nightly (2xOffsite)
[R7800]taking a nap
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare here napping)


Last edited by msoengineer on Tue Apr 07, 2020 16:33; edited 2 times in total
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 1494

PostPosted: Thu Apr 02, 2020 15:13    Post subject: Reply with quote
Wow, great find.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 7203
Location: Texas, USA

PostPosted: Thu Apr 02, 2020 15:46    Post subject: Reply with quote
Thanks for that. Normally, it's a connection issue. I always check and upgrade to the latest PuTTY. Minicom (Linux) luckily doesn't have this issue, but it is defaulted to a VT100 emulator, if I am not mistaken. Just have to update my PuTTY configs on my laptop and the workbench machine.
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 3796
Location: UK, London, just across the river..

PostPosted: Thu Apr 02, 2020 16:00    Post subject: Reply with quote
huh i use good old 'kermit for windows' never had issue...
even with putty too..recently putty-ed to one of my 1043v2 as i locked out myself testing some shit Razz but yep thanks for letting us know..hate those serial moments Razz awww

_________________
Atheros
TP-Link WR740Nv1 ------DD-WRT 44251 BS AP,NAT
TP-Link WR740Nv4 ------DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ----DD-WRT 444406 BS AP,NAT,AP Isolation,Firewall,Local DNS,Forced DNS,DoT,VPN
TP-Link WR1043NDv2 ----DD-WRT 44340 BS AP,NAT,AD Block,Firewall,Local DNS,Forced DNS,DoT,VPN
TP-Link WR1043NDv2 ----Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -------DD-WRT 44340 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -------DD-WRT 44340 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,DoT,VPN
------------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7221
Location: Columbus, Ohio

PostPosted: Thu Apr 02, 2020 16:15    Post subject: Reply with quote
Thanks.
_________________
I am far from a guru, I'm barely a novice.
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 811

PostPosted: Thu Apr 02, 2020 19:41    Post subject: Reply with quote
Nice
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6194
Location: Netherlands

PostPosted: Fri Apr 03, 2020 12:33    Post subject: Reply with quote
Nice I will add it to the setup guides, it was about a year ago I used serial with putty, maybe the default settings changed in newer putty builds?

Kermit, yes that was from long ago, did not know it is still around Smile

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 3796
Location: UK, London, just across the river..

PostPosted: Fri Apr 03, 2020 13:27    Post subject: Reply with quote
http://www.kermit.wwarthen.com/Download.htm
_________________
Atheros
TP-Link WR740Nv1 ------DD-WRT 44251 BS AP,NAT
TP-Link WR740Nv4 ------DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ----DD-WRT 444406 BS AP,NAT,AP Isolation,Firewall,Local DNS,Forced DNS,DoT,VPN
TP-Link WR1043NDv2 ----DD-WRT 44340 BS AP,NAT,AD Block,Firewall,Local DNS,Forced DNS,DoT,VPN
TP-Link WR1043NDv2 ----Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -------DD-WRT 44340 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -------DD-WRT 44340 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,DoT,VPN
------------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 1494

PostPosted: Fri Apr 03, 2020 13:46    Post subject: Reply with quote
Let us party like it's 1998, with 1994 server specs.

http://www.kermit.wwarthen.com/WebSite.htm



kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 7203
Location: Texas, USA

PostPosted: Fri Apr 03, 2020 16:14    Post subject: Reply with quote
People would sh*t their pants if they saw some of my workbench hardware and what it's running. Twisted Evil
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum