This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:routers:netgear:wgt634u [2013/01/20 00:56] – [Free Software] admin | projects:routers:netgear:wgt634u [2013/02/01 11:35] (current) – [JTAG software] admin | ||
---|---|---|---|
Line 29: | Line 29: | ||
==== JTAG on router ==== | ==== JTAG on router ==== | ||
- | Following text is from [[http:// | + | Following text is from [[http:// |
- | Once upon a time, when the WGT634U wasn't yet EOL'd, OpenWrt had a bug that caused the flash partition containing the CFE to be erased. As the CFE is the boot loader, you then had a paperweight. | + | |
- | + | ||
- | There were rumors one of the two headers on the PCB was a JTAG port, but nobody found out how to utilize it. | + | |
- | + | ||
- | Some weeks ago I came across [[http:// | + | |
- | How to repeat this? | + | |
- | + | ||
- | First, you need to populate the 2x7 header on the front side and the resistor pads on the backside. These resistor values worked for me: | + | |
< | < | ||
R66 (pin 3) 10KΩ | R66 (pin 3) 10KΩ | ||
Line 45: | Line 37: | ||
R73 (pin 11) 33Ω | R73 (pin 11) 33Ω | ||
</ | </ | ||
+ | Information about the pinout on the wgt634u can be found [[http:// | ||
+ | <csv hdr_rows=1> | ||
+ | function, | ||
+ | nTRST, | ||
+ | TDI, | ||
+ | TDO, | ||
+ | TMS, | ||
+ | TCK, | ||
+ | nSRST, | ||
+ | n/ | ||
+ | </ | ||
+ | A buffered cable such as the Wiggler requires an external Vcc voltage supply. The 14-pin header conveniently supplies this voltage on pin 14. The typical unbuffered cable, however, does not require an external voltage in order to function. Formally, the pin 14 is called VREF and used to indicate a JTAG signal levels: 5V, 3.3V or 2.5V. On the most devices this pin is tied to the device' | ||
==== JTAG software ==== | ==== JTAG software ==== | ||
In the openmoko wiki they tell how to use openocd with the Debug Board to flash the openmoko Freerunner gsm phone; but there' | In the openmoko wiki they tell how to use openocd with the Debug Board to flash the openmoko Freerunner gsm phone; but there' | ||
Line 64: | Line 67: | ||
</ | </ | ||
- | Then, you can finally flash your WGT: | + | Then, you can finally flash your WGT. Download the [[http:// |
<code bash> | <code bash> | ||
cable ft2232 vid=0x1457 pid=0x5118 | cable ft2232 vid=0x1457 pid=0x5118 | ||
Line 74: | Line 77: | ||
</ | </ | ||
+ | ===== Links and information ===== | ||
+ | * [[http:// |