1.) It has a 14 pin JTAG header (I soldered the header in place)
2.) The router is designed to use, and shipped with, DD-WRT. I was able to solder in and use the 4 pin UART serial port next to the JTAG port.
3.) The board uses the following chips:
Code: Select all
Wireless proc:
Atheros
AR9283 - AL1A
N4B274 . 00B
1108
Proc:
Atheros
AR7242-AH1A
G12196 . 1C
1025
Proc Stats:
Uses EJTAG - https://forum.openwrt.org/viewtopic.php?id=34993
Uses SPIFLASH or NAND (Most likely the former as I saw a datasheet for Nanyan and 25L128 stating those are SPI)
Ethernet switch chip:
Atheros
AR8316-AK1E
D1H1788
1108
Flash:
MXIC
X110346
MX25L12845EMI-10G
3F204800
MXIC
X110246
MX25L12845EMI-10G
3F225700
Flash:
Nanyan
1043
NT5TU32M16C6-25C
023033Z0GL 7 TW (TW = Taiwan?)
I also saw 2 Buffalo routers using IRLength of 8, but I forget what IRLength is. IIRC it's how long the string is when it identifies the chip. (Ex. The values USB JTAG NT always tells you to report or the IDCODE and whatnot.) Anyway, I selected 8 for that reason. It's also the same reason I set DMA to Yes and ProbTrap to 1.
As I want to get the unit to talk to USB JTAG NT before I go any further, I just left the addresses as they were set for the config I copied to modify for the unit. However, with Debug Off, it really doesn't help much to have a config file yet at all if I'm understanding how USB JTAG NT works. Also, I rechecked my soldering joints and tried again, but it still says "Debug Off." Also, Pins 2,4,6,8, and 10 all go to ground.
I must have bricked the unit when I played with the serial port. I unplugged the router before I unplugged my serial adapter from the USB port, thus not allowing the unit to fully power down properly. Now when I use the serial port, it only shows the following stuff. It doesn't even make it to the TFTP server to repair it any way other than JTAG.
Code: Select all
BUFFALO U-BOOT Ver 1.03
== CPU:400MHz, DDR:400MHz, AHB:200MHz ==
PB93 (ar7241 - Virian) U-boot
DRAM: 64 MB
WAN port disabling: done
Top of RAM usable for U-Boot at: 84000000
Reserving 265k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
Stack Pointer at: 83f6bf98
Code: Select all
<Test>
<Name>WZR-HP-G300NH2</Name>
<Cat>Router</Cat>
<Protocol>EJTAG</Protocol>
<Endian>Big</Endian>
<DLL>router.dll</DLL>
<IRLength>8</IRLength>
<DMA>Yes</DMA>
<ProbTrap>1</ProbTrap>
<Programram>0x80200000</Programram>
<Memorys>
<Memory>
<Name>u-boot</Name>
<Type>1</Type>
<Address>0x9f000000</Address>
<Size>0x30000</Size>
</Memory>
<Memory>
<Name>bootenv</Name>
<Type>1</Type>
<Address>0x9f030000</Address>
<Size>0x10000</Size>
</Memory>
<Memory>
<Name>KERNEL</Name>
<Type>1</Type>
<Address>0x9f040000</Address>
<Size>0x770000</Size>
</Memory>
<Memory>
<Name>NVRAM</Name>
<Type>1</Type>
<Address>0x9F7B0000</Address>
<Size>0x40000</Size>
</Memory>
<Memory>
<Name>Config</Name>
<Type>1</Type>
<Address>0x9F7F0000</Address>
<Size>0x10000</Size>
</Memory>
</Memorys>
<Inits>
</Inits>
</Test>