Following ryzhov_al's thread on the 64K CFE mod, I went through the process and somehow wrote a corrupted CFE to my router. WAN, LAN1, and LAN2 would glow, while serial would show "Decompressing...error 01" on boot. So, I'm opening this thread for anyone who has experience with jtag software to offer their suggestions, and to share what has been discovered so far.
I am using a Tiao USB MultiProtocol Adapter with zJTAG and have soldered a pin header to J2 on the N66's board. Pinout is as follows:
Connections between TUMPA and J2:
So far I have not been able to successfully erase CFE or NVRAM. zJTAG does not support the 4706 as of yet, but using /fc: and /instrlen: there has been some breakthroughs although with no results. The router seems to like 15Mhz test clock best.
I was able to write CFE using
Looks as though it worked, but still no response from the router. Serial doesn't get ANYTHING now.
Here is the thread at the Tiao forums requesting 4706 support in zJTAG:
http://www.tiaowiki.com/forums/index.php/topic,4102.0.html
I am using a Tiao USB MultiProtocol Adapter with zJTAG and have soldered a pin header to J2 on the N66's board. Pinout is as follows:
Note: Pin 1 has a white square on top of the board and a square solder pad
nTRST 1 2 GND
TDI 3 4 GND
TDO 5 6 GND
TMS 7 8 GND
TCK 9 10 GND
Connections between TUMPA and J2:
RT-N66 J2 TUMPA JTAG
1-----------------3
3-----------------5
4-----------------4 (Ground, to prevent leak current)
5-----------------13
7-----------------7
9-----------------9
So far I have not been able to successfully erase CFE or NVRAM. zJTAG does not support the 4706 as of yet, but using /fc: and /instrlen: there has been some breakthroughs although with no results. The router seems to like 15Mhz test clock best.
I was able to write CFE using
where /L1:1 tells the TUMPA to use 15MHz TCK, and /fc:115 assumes flash chip is a 16MB S29GL128N (I am aware the router has 32MB flash but zJTAG does not seem to have any working code for 32MB chips). Here's the output:zjtag -flash:cfe /l1:1 /noerase /fc:115
==============================================
zJTAG EJTAG Debrick Utility V0.6
==============================================
Set I/O speed to 15000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR Length is 0
Warning: detected/set IR Length isn't same as knew!
(Defined IR length: 5, detected/set: 0)
CPU assumed running under LITTLE endian
CPU Chip ID: 00000000000000000000000000000000 (00000000)
*** Found a AMD manufactured Atheros AR531X/231X REV 01 CPU ***
- EJTAG IMPCODE ....... : 00000000000000000000000000000000 (00000000)
- EJTAG Version ....... : 1 or 2.0
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k MIPS32
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Done
Halting Processor ... <Processor did NOT enter Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
*** Manually Selected a S29GL128N/M29W128G Uni (16MB) from AMD/Spansion
- Flash Chip Window Start .... : 1C000000
- Flash Chip Window Length ... : 01000000
- Selected Area Start ........ : 1C000000
- Selected Area Length ....... : 00040000
*** You Selected to Flash the CFE.BIN ***
=========================
Flashing Routine Started
=========================
Loading CFE.BIN to Flash Memory...
Done (CFE.BIN loaded into Flash Memory OK)
=========================
Flashing Routine Complete
=========================
elapsed time: 83 seconds
*** REQUESTED OPERATION IS COMPLETE ***
Looks as though it worked, but still no response from the router. Serial doesn't get ANYTHING now.
Here is the thread at the Tiao forums requesting 4706 support in zJTAG:
http://www.tiaowiki.com/forums/index.php/topic,4102.0.html