******************************************************************************************************* WRT/JTAG for Windows version (beta .99) ******************************************************************************************************* This utility was written for debrickng your WRT54Gx router. It was written to support the Linksys based 54Gx series of routers but *should* be able to work on any of the SOHO routers based on the Broadcom BCM4702/BCM4710 or BCM4712 chips (important). This version of the utility is written to automatically detect the flash chip part (supported list below) and the size and adjust the flash region and flash windows appropriately as needed. This utility is written to support flash chips in the 2MB to 8MB size range (yes - even one 16MB flash chip thrown in for good measure). I have tested this program on a small handful of routers with different flash parts and broadcom chips and all seem to be working as expected. I have not, however, been able to test on every combination out there - so if you run across any issues - feel free to email me at hairydairymaid@yahoo.com and I will attempt to help if possible. This EJTAG utility is written to support the following flash chips: AMD 29lv160DB 1Mx16 BotB AMD 29lv160DT 1Mx16 TopB AMD 29lv320DB 2Mx16 BotB AMD 29lv320DT 2Mx16 TopB AMD 29lv320MB 2Mx16 BotB AMD 29lv320MT 2Mx16 TopB AMD 29lv320MT 2Mx16 TopB Intel 28F128J3 8Mx16 Intel 28F160B3 1Mx16 BotB Intel 28F160B3 1Mx16 TopB Intel 28F160C3 1Mx16 BotB Intel 28F160C3 1Mx16 TopB Intel 28F160S3/5 1Mx16 Intel 28F320B3 2Mx16 BotB Intel 28F320B3 2Mx16 TopB Intel 28F320C3 2Mx16 BotB Intel 28F320C3 2Mx16 TopB Intel 28F320J3 2Mx16 Intel 28F320J5 2Mx16 Intel 28F320S3/5 2Mx16 Intel 28F640B3 4Mx16 BotB Intel 28F640B3 4Mx16 TopB Intel 28F640C3 4Mx16 BotB Intel 28F640C3 4Mx16 TopB Intel 28F640J3 4Mx16 Intel 28F640J5 4Mx16 MBM29LV320BE 2Mx16 BotB MBM29LV320TE 2Mx16 TopB MX29LV320B 2Mx16 BotB MX29LV320B 2Mx16 BotB MX29LV320T 2Mx16 TopB MX29LV320T 2Mx16 TopB SST39VF320 2Mx16 ST 29w320DB 2Mx16 BotB ST 29w320DT 2Mx16 TopB Sharp 28F320BJE 2Mx16 BotB TC58FVB321 2Mx16 BotB TC58FVT321 2Mx16 TopB ******************************************************************************************************* Building the Xilinx Type III compatible JTAG cable. You will need to connect up wiring as follows: DB25 pin 2 -------> 100ohm resistor -------> JTAG header pin 3 DB25 pin 3 -------> 100ohm resistor -------> JTAG header pin 9 DB25 pin 4 -------> 100ohm resistor -------> JTAG header pin 7 DB25 pin 13 -------> 100ohm resistor -------> JTAG header pin 5 DB25 pin 20 --------------------------------> JTAG header pin 2 DB25 pin 25 --------------------------------> JTAG header pin 2 Using a Female DB25 connector: Connect pin 2 on the DB25 to a 100ohm resistor and then to pin 3 on the JTAG header Connect pin 3 on the DB25 to a 100ohm resistor and then to pin 9 on the JTAG header Connect pin 4 on the DB25 to a 100ohm resistor and then to pin 7 on the JTAG header Connect pin 13 on the DB25 to a 100ohm resistor and then to pin 5 on the JTAG header Connect pins 20 & 25 on the DB25 to pin 2 on the JTAG header Note: Keep the cable length as short as possible (under 8" to be safe) to avoid interference. ******************************************************************************************************* This Windows GUI version of the EJTAG Debrick Uility uses the following (since I didn't want to spend a couple hours writing and debugging a parallel port driver for windows): IO.DLL (c) 1995-2003 Fred Bulback The documentation for IO.DLL can be found at: http://www.geekhideout.com/iodll.shtml ******************************************************************************************************* Note: Since the IO.DLL is supposed to work under all flavors of Windows then this utility should as well; however, I have only personally used it under the XP Pro operating system. ******************************************************************************************************* Written by HairyDairyMaid (a.k.a. - lightbulb) hairydairymaid@yahoo.com ******************************************************************************************************* This program is copyright (C) 2005 HairyDairyMaid (a.k.a. Lightbulb) This program is free software; you can redistribute it and/or modify it under the terms of version 2 the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. To view a copy of the license go to: http://www.fsf.org/copyleft/gpl.html To receive a copy of the GNU General Public License write the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *******************************************************************************************************