OpenWrt Forum Archive

Topic: JTAG pinout of WR850G

The content of this topic has been archived on 30 Jan 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Does anyone know the pinout of the JTAG header on the Motorola WR850G?

I accidentally bricked mine while playing with the NVRAM.

I had the serial console hooked up, and it was responding nicely before I bricked it. 
Now, nothing displays on the serial console and all the green lights are always on. 
I would like to use the JTAG to reset the NVRAM.

Also, can you use a MPCBDM Wiggler on it?

Thanks,

Tim

Alright, after much trial and error I figured out the following.  Hope it's useful to someone!

1. You CANNOT use a Wiggler on this port.  Instead, use the simple cable that HairyDairyMaid includes instructions for.

2. The WR850G JTAG pinout for anyone interested:

EDGE OF BOARD -->|
                              |
                              |
UNUSED X  X  N/C   |
TDI        X  X  N/C   |
TDO       X  X  N/C   |
TMS       X  X  N/C   |
TCK       X  X  N/C   |
N/C       X  X  N/C    |
                              |
                              |

Note that there is no ground connection, therefore you must use the ground connection that is present on the serial header.

-Tim

(Last edited by whitepines on 19 Oct 2005, 07:10)

I seem to have an entirely different board layout on my WRT850G.  I have 2 of them -- bought one that is virgin for reference, and one that is bricked with similar symptoms that you described.  The pins run opposite form the diagram you provided.  You seem to show rows running parrallel to the closest edge of the board.  I have perpendicular rows with pin 1 (square) farthest from the edge and closer to the flash than the even row.

|    flash ^
|
|    x x x x x 1
|    x x x x x x

How did you determine the pinouts for the JTAG connector?

My pin layout correspond to the HairyDairyMaid documentation, except pin 12 is not grounded (2, 4, 6, 8, 10 are).  I did some checking with my trusty new multimeter (I intend to fix this brick despite spending more than it's worth on toys I could convince my wife I need.)  pins 2-10 read <= .2 ohm when probed to the back of the power connector, serial ground, etc.  pin 12 is apparently unconnected, and it appears to run over to a row of components where this particular component is missing.  No idea what it's for.

but anyway, I was wondering if you have had anyluck getting yours back up?  Mine functions only as a switch between the 5 exposed ethernet ports with no wireless.  If I hit reset, sometimes the leds go to a pattern more like I would expect them to behave, but still justa dumb switch (including wan) with no wifi.

Yes, I did manage to get mine up and running.

Unfortunately, I don't have any experience with the layout you're describing.  Mine was a v3, what version is yours?

What I did to figure out the layout was:

1. Hook up the ground to a known ground.

2. Since it is impossible to ruin chips with a logic level signal, I just tried all possible combinations!
    To help with that task, I took the leads coming from the parallel port, tied them to a male header, soldered
    another male header to the JTAG port, and hooked the two up with the little internal sound cables for PCs.

    Each try I ran the debrick utility and looked at the binary string.  It should be a pattern of 1s and 0s, NOT all
    1s or all 0s.

3. When you get close, the screen might display all 1s.  This simply means that the CLK is hooked up right; try
    flipping the TDI and TDO pins, it worked for me!

Hope this helps,

Tim

I have v2 boards; that would probably explain the difference.

I got my JTAG cable working via the general debrick instructions, but I still can't unbrick my routers.  I guess I'll just keep trying.

The discussion might have continued from here.