Serial cable connection WNDR4000

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
mikhan
DD-WRT Novice


Joined: 04 Feb 2014
Posts: 4

PostPosted: Thu Feb 20, 2014 5:40    Post subject: Reply with quote
just my 2 cents
the problem was the same, it was solved the same way
Quote:

1. disassemble your router, solder contacts to jp1 pin 2,5 and 6 (RX, TX and Ground respectively), connect them to usb-ttl cable
2. connect via putty or whatever (115200, 8n1), power on your router, ctrl-c to stop boot process
3. run "nvram erase" then "nvram commit" then start tftp server by "tftpd"
4. upload original netgear firmware by a tftp client, i used tftp2.exe (ip 192.168.1.1, password "password"). don't forget to set your pc ip to 192.168.1.2 before
Sponsor
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Thu Feb 20, 2014 6:02    Post subject: Reply with quote
mikhan wrote:
just my 2 cents
the problem was the same, it was solved the same way
Quote:

1. disassemble your router, solder contacts to jp1 pin 2,5 and 6 (RX, TX and Ground respectively), connect them to usb-ttl cable
2. connect via putty or whatever (115200, 8n1), power on your router, ctrl-c to stop boot process
3. run "nvram erase" then "nvram commit" then start tftp server by "tftpd"
4. upload original netgear firmware by a tftp client, i used tftp2.exe (ip 192.168.1.1, password "password"). don't forget to set your pc ip to 192.168.1.2 before


Very good, and now you have the cable in case you need to debrick in the future or provide a full serial boot log for the developers if they request one.
The usb to ttl adapter should be part of every dd-wrt users toolbox.
jeremiahbarrar
DD-WRT Novice


Joined: 22 Apr 2011
Posts: 2

PostPosted: Mon Feb 24, 2014 17:29    Post subject: Awsome! Reply with quote
Thanks for the directions, it made recovery fast and easy.
ultradj83
DD-WRT Novice


Joined: 08 Jun 2011
Posts: 35

PostPosted: Mon Mar 03, 2014 10:00    Post subject: Reply with quote
Dears, this is what I see on terminal:

!Qcw[—ŸŸŸ¿5-!#‹¿£Ÿ£—åë{-'7¿w=5‹¿W5¿c!¿™Ÿ¿‘‹Ÿ—‹¿yYW¿›ŸŸ¿åëm#-¿}#=åëm#-¿
w5£åë{!!¿=--!#¿-
5¿…¿›“›——¯Ÿ—ŸŸŸŸ­åës!#7¿=#¿YW¿9!%=-;'5¿5='—‘OO¿Ÿ¡ŸŸ
5¿Ÿ‘—Ÿ‹¿—Ÿeo¿y!#''5›ŸŸ£Ÿ£™Ÿ£Ÿåëy_U¿
“¥}¥“‘¥Ÿy¥—Ÿ§¿-=77›£“££§¿%=)¿›••£›••£›••£Ÿåë¿¿¿¿¿¿¿¿1=
¿#!¿5§¿#•£;-'75¿¯199¿5-!#¿—£•£—¿›ŸŸ•›“¿¯'5=5­¿¯g-#=¿qyy¿—£•¥›Ÿ£Ÿ“¥5¿_
sc¿#15‹åë~¿c!='¿¿¿¿¿¿¿¿¿¿Ÿ¿¥ƒ¿¿¿¿“™—åë~¿o-1/e5%¿¿¿¿¿“™—¿¥ƒ¿¿¿¿“™—å55'¿9!%
5…=/3¿#!-#-å=#7'5¿)55'¿=1-#1¿5¿=¿-='¿=77¿ŸŸŸŸŸŸŸŸ§¿59¿……¿ŸŸ“=9
—§¿¿……¿ýŸåën¿Ÿ¿¿¿‹~ŸŸŸŸŸŸŸŸ~ŸŸŸŸŸ~™“5“Ÿ~ŸŸŸŸŸŸŸŸÊën¿—¿¿¿‹~ŸŸŸŸŸŸŸŸ~Ÿ•›
;Ÿ~ŸŸŸŸ•›~ŸŸŸŸŸŸŸŸÊën¿¿¿¿‹~ŸŸŸŸŸŸŸŸ~Ÿ™™9=Ÿ~ŸŸŸŸŸŸŸŸ~ŸŸŸŸŸŸŸŸÊën›¿¿¿‹~ŸŸŸŸ
ŸŸŸŸ~ŸŸŸŸŸŸŸŸ~ŸŸŸŸŸŸŸŸ~ŸŸŸŸŸŸŸŸÊën“¿¿¿‹~•3•9Ÿ~•›;Ÿ~ŸŸŸŸ~Ÿ—“ŸŸŸŸÊën›
Ÿ¿¿¿‹~ŸŸŸŸŸŸ™9~3333333—~ŸŸŸŸŸŸŸŸ~ŸŸŸŸŸŸŸŸÊën›—¿¿¿‹~ŸŸŸŸŸŸŸ~ŸŸŸŸŸŸŸŸ~¿¿¿¿¿¿¿¿~¿¿
¿¿¿¿¿¿Êën)¿‹~ŸŸŸŸŸŸŸŸ~Ÿ™•™•9~ŸŸŸŸŸŸŸŸ~•3•9Ÿ~•3•9Ÿ~•›;Ÿ~ŸŸŸŸŸŸŸŸ~ŸŸ“
9›—Êë~¿¿¿¿¿¿~›•Ÿ~›•Ÿ~3333333—~ŸŸŸŸŸŸŸŸ~•3•9Ÿ~ŸŸŸ—ŸŸŸŸ~Ÿ—›;•ŸŸ~ŸŸŸ
ŸŸŸŸ—Êë~¿¿¿¿¿¿~Ÿ•ŸŸŸŸŸ~Ÿ—“ŸŸŸŸ~ŸŸŸŸŸ™—~ŸŸ“9—5—~ŸŸ;—“9~ŸŸŸŸŸŸŸŸ~Ÿ—›•‘5~ŸŸ
ŸŸŸŸŸ—Êë~¿¿¿¿¿¿~•3•9Ÿ~•3•9Ÿ~ŸŸŸ—ŸŸŸŸ~ŸŸ“9Ÿ~Ÿ—9ŸŸŸŸ~ŸŸ›3Ÿ~——›Ÿ~
Ÿ—•75ŸÊë~¿¿¿¿¿¿~Ÿ•3559~Ÿ•355~ŸŸŸŸŸŸ9—›ŸŸŸ9¿~9——ŸŸ¿~9—™ŸŸŸŸ¿9ŸŸŸŸŸƒ~
5Ÿ›ŸŸŸŸ¿~5Ÿ™ŸŸŸ—¿~ŸŸ—™›;¿~—“ŸŸŸŸ•¿~



What should I do?


Tks.
notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Tue Mar 04, 2014 1:14    Post subject: Reply with quote
You can start by checking your hyper terminal settings.
Baud: 115200
Data bits: 8
Stop Bits: 1
Parity: none
Flow control: none

However...
From Serial Recovery Wiki...
Quote:
Garbage characters on the screen usually is a bad connection, especially a bad ground. Check your connections with a multimeter.


For what it's worth, I originally bought a CA-42 cable that turned out to be garbage and had to purchase a second TTL adapter before I could stop the boot process.
ultradj83
DD-WRT Novice


Joined: 08 Jun 2011
Posts: 35

PostPosted: Wed Mar 05, 2014 16:07    Post subject: Reply with quote
Tried to change cable, same problem.

Same problem getting Vcc from anywhere.

I tried a serial cable connected to RS232 serial port and an cable connected to a USB to RS232 3.3/5V hybrid converter.

How can I check they're working @ 3.3v?


Tks a lot!
notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Wed Mar 05, 2014 16:30    Post subject: Reply with quote
Have you tried connecting tx, rx and ground only... leaving Vcc disconnected?
ultradj83
DD-WRT Novice


Joined: 08 Jun 2011
Posts: 35

PostPosted: Wed Mar 05, 2014 16:31    Post subject: Reply with quote
I've neve connected Vcc.

Should I?
notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Wed Mar 05, 2014 17:01    Post subject: Reply with quote
First line of "Troubleshooting" section of Serial Recovery wiki
Quote:
Some (not all) usb ttl converts need vcc connected.. Some only tx, rx, and ground.


So yeah, why not?
ultradj83
DD-WRT Novice


Joined: 08 Jun 2011
Posts: 35

PostPosted: Wed Mar 05, 2014 19:02    Post subject: Reply with quote
Sure.

But where is Vcc on RS232?

Pin 1?
notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Wed Mar 05, 2014 19:54    Post subject: Reply with quote
Well, that's probably the issue. You need to use a TTL serial adapter. The RS-232 serial adapter isn't going to work.
dynek
DD-WRT User


Joined: 19 Oct 2006
Posts: 131

PostPosted: Fri Mar 07, 2014 22:50    Post subject: Reply with quote
Thank you notorious.dds.

I soldered the cable and used an Arduino USB to Serial adapter to reset my router.

In case I have to do it again and so that I don't have to open the router again, I left them soldered and made a whole in the back of the router to pass cables (right next to the USB port).



wndr4000.JPG
 Description:
 Filesize:  145.66 KB
 Viewed:  13413 Time(s)

wndr4000.JPG


notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Sat Mar 08, 2014 1:49    Post subject: Reply with quote
dynek, thanks for the pic. I actually used it to edit my earlier post since my photos were of such poor quality.

Not a bad idea leaving the leads sticking out of the router... especially if you're going to be flashing test builds.

I left my leads connected to the board, but not sticking out. I'm hoping I don't need them too often Wink
ultradj83
DD-WRT Novice


Joined: 08 Jun 2011
Posts: 35

PostPosted: Sat Mar 08, 2014 18:57    Post subject: Reply with quote
notorious.dds wrote:
Well, that's probably the issue. You need to use a TTL serial adapter. The RS-232 serial adapter isn't going to work.


Got a new TTL adapter.

I perfectly see the serial output but Ctrl+C has no effect, tried tenths of times...

Any other way?


Tks!
notorious.dds
DD-WRT User


Joined: 24 May 2012
Posts: 376
Location: Michigan

PostPosted: Sat Mar 08, 2014 20:23    Post subject: Reply with quote
If you twist the tx and rx wires from you ttl adapter, you should see whatever you type show up in the terminal. If that's true, then check your solder connection to JP1-2.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum