How to Set Up a Serial Console for NETGEAR WNDR4500v1

Introduction:

Using serial console setup users can get access to the serial console of their router. Serial console setup finds its most important use in debricking a router. Moreover, developers may use it to extract useful debug information from their routers.

This short tutorial explains how to setup serial console for Netgear WNDR4500v1.

Identify location of Serial pins on your router:

First open the case of your router. You should be able to find pins for serial communications at the location indicated in Figure1(a).

 

Figure1(a): Serial pin location on your router

Note:- Some WNDR4500v1 may not come with pins for serial communications. In such cases, you will have to attach the pins on your own. Go to the location as indicated in Figure1(a), where you will find a connection with the name J252 as shown in Figure 1(b). Solder the pins here carefully.

Figure1(b): Serial pin location on your router

Identify important pins on router for serial communication:

Important pins on the router for serial communication are identified in Figure 2.

Figure 2: Important pins on the router for serial communication

Identify important pins in USB-TTL cable:

Important pins in the USB-TTL cable are indicated in Figure 3.

Figure 3: Important pins in USB-TTL cable

How to connect USB-TTL cable to the pins on the router for serial communication:

The connection between USB-TTL cable and pins on the router for serial communication is explained in Figure 4.

Figure 4

Figure 4: Connection between USB-TTL cable and pins for serial communication

Physical setup of your serial console ends here.

Verification of the setup:

To verify your setup, start serial client on your PC with proper parameters and then power on your router. As soon as you do this, you will be able to see debug information from the router on your screen. If you do not see anything, check that all the connections have been made properly and if in doubt, reattach the cables. Verify that the Serial Client has the proper parameters for the connection.

 


Tags: 

Dustin C
Dustin C's picture
I just successfully soldered

I just successfully soldered some pins onto the WNDR4500 mainboard and connected a USB-TTL adapter to it. Here are my results:

Decompressing...done

CFE for WNDR4500 version: v1.0.3
Build Date: Thu Jul 21 19:28:03 CST 2011
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
Found an ST compatible serial flash with 32 64KB blocks; total size 2MB
Found a Samsung NAND flash with 2048B pages or 128KB blocks; total size 128MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138
CPU type 0x19749: 600MHz
Tot mem: 131072 KBytes

Device eth0: hwaddr 84-1B-5E-E0-08-23, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
load default!
Decompressing...done

CFE for WNDR4500 version: v1.0.3
Build Date: Thu Jul 21 19:28:03 CST 2011
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
Found an ST compatible serial flash with 32 64KB blocks; total size 2MB
Found a Samsung NAND flash with 2048B pages or 128KB blocks; total size 128MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138
CPU type 0x19749: 600MHz
Tot mem: 131072 KBytes

Committing NVRAM...done
Waiting for reset button release...

==========

I'm not pressing the reset button at all, but this message makes me believe that the reset button is broken and stuck on. What do you think?

Subhra
Subhra's picture
Are you getting this message

Are you getting this message every time you reboot your router ??

liaojack11
liaojack11's picture
If you always stop at

If you always stop at "waiting for reset button release", this should be CPU issue.

you need to replace a new CPU to solve problem.