Category Archives: Arduino

Debricking NETGEAR WNR3500L using Arduino

Some time ago I had problem to access my router Netgear wnr3500L using ethernet.

I solved  using an Arduino Uno and the sketch below, to access router console via serial TTL interface.

void setup ()
{
pinMode (0, INPUT);
pinMode (1, INPUT);
}
void loop ()
{
}

Just compile and upload to arduino card.

Or remove atmega chip. The arduino board work as serial TTL 5v without atmega528p.

You can get TTL pinout from http://wiki.openwrt.org/toh/netgear/wnr3500l
I just puted an 1K resistor between Arduino and router.

Arduino | WNR3500L
———————
RX(0) —–1KΩ—- TX
TX(1) —–1KΩ—- RX
GND ———— GND

Open prefer serial console. I used screen on *nix. (screen /dev/tty.usbmodem411 115200,8,n,1)

And voila.

CFE for WNR3500L version: v1.0.38
Build Date: Wed Mai 24 18:40:04 CST 2013
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
Found a 8MB ST compatible serial flash
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.28
CPU type 0x19740: 453MHz
Tot mem: 65536 KBytes

Device eth0: hwaddr XX-XX-XX-XX-XX-XX, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Startup canceled
CFE>

Then I can get new bin firmware via TFTP.

Now my wnr3500L works fine again.

References:
http://wiki.openwrt.org/toh/netgear/wnr3500l
http://www.myopenrouter.com/page/howto