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:50] – [Netgear WGT634U] admin | projects:routers:netgear:wgt634u [2013/02/01 11:35] (current) – [JTAG software] admin | ||
---|---|---|---|
Line 28: | Line 28: | ||
</ | </ | ||
+ | ==== JTAG on router ==== | ||
+ | Following text is from [[http:// | ||
+ | < | ||
+ | R66 (pin 3) 10KΩ | ||
+ | R65 (pin 5) 33Ω | ||
+ | R67 (pin 7) 10KΩ | ||
+ | R68 (pin 9) 10KΩ | ||
+ | R73 (pin 11) 33Ω | ||
+ | </ | ||
+ | Information about the pinout on the wgt634u can be found [[http:// | ||
+ | <csv hdr_rows=1> | ||
+ | function, | ||
+ | nTRST, | ||
+ | TDI,3,4,GND | ||
+ | TDO,5,6,GND | ||
+ | TMS,7,8,GND | ||
+ | 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 ==== | ||
+ | In the openmoko wiki they tell how to use openocd with the Debug Board to flash the openmoko Freerunner gsm phone; but there' | ||
+ | <code bash> | ||
+ | svn co -r 1855 http:// | ||
+ | cd urjtag | ||
+ | sh autogen.sh --enable-cable=ft2232 --enable-lowlevel=ftdi | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | |||
+ | You need to enhance the data installed to / | ||
+ | <code bash> | ||
+ | echo -e " | ||
+ | mkdir / | ||
+ | echo -e " | ||
+ | cp / | ||
+ | </ | ||
+ | |||
+ | Then, you can finally flash your WGT. Download the [[http:// | ||
+ | <code bash> | ||
+ | cable ft2232 vid=0x1457 pid=0x5118 | ||
+ | detect | ||
+ | initbus ejtag_dma | ||
+ | detectflash 0x1fc00000 | ||
+ | eraseflash 0x1fc00000 3 | ||
+ | flashmem 0x1fc00000 wgt634uCFE.bin | ||
+ | </ | ||
+ | |||
+ | ===== Links and information ===== | ||
+ | * [[http:// |