WNR-1000v2 UART Communication through Bus Pirate

On August 23, 2013, in Uncategorized, by Matt Defenthaler

Connect the bus pirate’s MISO (rx), MOSI (tx), and Ground pins to the UART header on the router as shown [ NC | MISO | MOSI | GND ]:

wnr1000v2UARTpinout

 

Log into minicom or another terminal and use the following settings…

Set the mode to UART
HiZ> m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. KEYB
9. LCD
x. exit(without change)
(1)> 3

Set the baud rate to 115200
Set serial port speed: (bps)
1. 300
2. 1200
3. 2400
4. 4800
5. 9600
6. 19200
7. 38400
8. 57600
9. 115200
10. BRG raw value
(1)> 9

Set 8N1, idle 1 (defaults)
Data bits and parity:
1. 8, NONE *default
2. 8, EVEN
3. 8, ODD
4. 9, NONE
(1)>
Stop bits:
1. 1 *default
2. 2
(1)>
Receive polarity:
1. Idle 1 *default
2. Idle 0
(1)>

Set output type to use 3.3V & Ground
Select output type:
1. Open drain (H=Hi-Z, L=GND)
2. Normal (H=3.3V, L=GND)
(1)> 2
Ready

Now, exit minicom without resetting and you’ll have access to the router’s file system.

 

Leave a Reply

Your email address will not be published. Required fields are marked *