Posted: Thu Oct 14, 2010 2:10 Post subject: WRT-310N
Hi,
I'm trying to flash my Linksys WRT 310-N device and had no success yet. For some reason I put there wrong firmware and screwed device, after that I tried to flash it but EJTAG tool becomes frozen at the erasing step.
My flash chip is not detected automatically, so I'm using /fc option to specify it. I have EON EN29LV320AB-70TCP chip and I'm using EJTAG 3.0.1
=========================
Flashing Routine Started
=========================
Total Blocks to Erase: 11
Erasing block: 1 (addr = 1fc00000)...
When I'm trying to run newer version of tool (3.0.2 rc2), it fails to detect my jtag cable which is simple one with 4 resistors even though I'm specifying /cable:dlc5
Intial value of Control register is 0000000C
Intial value of status register is 00000068
01101000 (00000068)
Status bit 7 Busy Inverted pin 11 = 1
Status bit 6 *Ack pin 10 = 1
Status bit 5 Paper-out pin 12 = 1
Status bit 4 Select pin 13 = 1
Status bit 3 *Error pin 15 = 1
* means low = true, e.g., *Error
VCC connected
values of Control register after init 0x0000000C
value of status register after init 0x00000068
system reset complete
Detected IR chain length = 0
Number of device(s) = 0
Probing bus ... Done
Instruction Length set to 5
CPU Chip ID: 11111111111111111111111111111111 (FFFFFFFF)
*** Unknown or NO CPU Chip ID Detected ***
*** Possible Causes:
1) Device is not Connected.
2) Device is not Powered On.
3) Improper JTAG Cable.
4) Unrecognized CPU Chip ID.
So, if anybody can share some knowledge regarding jtag process and this router in particular, I would be glad to accept it.
How much time it usually takes to flash cfe? Maybe I'm too inpatient.
BTW I can backup my current cfe.bin and it contains zeros and it takes about 5 minutes to run.
Joined: 31 Aug 2009 Posts: 2448 Location: Third Rock from the Sun
Posted: Thu Oct 14, 2010 2:59 Post subject:
@gabber2k
If your hooking up to the header pins that are on the board your at the wrong port, JTAG port is the pads next to it. _________________ Peacock Thread-FAQ -- dd-wrt Wiki
Joined: 07 Jun 2006 Posts: 2087 Location: Odessa, Ukraine
Posted: Thu Oct 14, 2010 3:09 Post subject:
@gabber2k
Tjtag 3.0.1 is not capable of flashing your 320n, only 3.0.2 is, and its still a little buggy, I thnk I have found the problem with it and will post another RC3 today. Then you may be able to recover you router. _________________ Want JTAG support - Donate a router
or Donate with PayPal !
Finally, I debricked my router using serial conenction and by pressing ctrl-c and then by uploading firmware using tftp. Thank you very much for your help and information. When I was connected to the correct jtag port I was able to backup cfe, did it 2 times and backup files were identical. Flash memory chip was automatically detected by the EJTAG tool (ver 3.0.1). Hovewer, I was unable to erase nvram and kernel, for some reason it stopped working and stopped detecting chip after second backup of cfe.
Joined: 29 Nov 2009 Posts: 354 Location: Dark Side of the Moon
Posted: Thu Nov 04, 2010 22:15 Post subject:
Just wondering about RC3 getting Device not connected error with RC2 and not with 3.0.1 so I'm connected right. Any help appreciated. _________________ E4200 w/ mega build 23838
Joined: 29 Nov 2009 Posts: 354 Location: Dark Side of the Moon
Posted: Thu Nov 04, 2010 22:31 Post subject:
barryware wrote:
duncanidahoe wrote:
Just wondering about RC3 getting Device not connected error with RC2 and not with 3.0.1 so I'm connected right. Any help appreciated.
What router, processor and flash type? Tornado would need to know.
It's a wrt320n. He said in an earlier post that he's have RC3 back out in a couple of days and that it would help on the 320. _________________ E4200 w/ mega build 23838
Joined: 26 Jan 2008 Posts: 13049 Location: Behind The Reset Button
Posted: Fri Nov 05, 2010 0:01 Post subject:
duncanidahoe wrote:
barryware wrote:
duncanidahoe wrote:
Just wondering about RC3 getting Device not connected error with RC2 and not with 3.0.1 so I'm connected right. Any help appreciated.
What router, processor and flash type? Tornado would need to know.
It's a wrt320n. He said in an earlier post that he's have RC3 back out in a couple of days and that it would help on the 320.
I got a 320 that is kicking my ass but I believe the flash chip is fubar.. The owner said he pin shorted. So I ordered a new chip. Hopefully it is either the chip or the utility. If neither, then the pin short took out the data lines in the processor. Then it is junk.
LOM used jtag on his 320 developing the e2000 port so it works (software). _________________ [Moderator Deleted]
Joined: 29 Nov 2009 Posts: 354 Location: Dark Side of the Moon
Posted: Fri Nov 05, 2010 1:30 Post subject:
Jtag3 works on this 320, but the chip isn't supported it's supported in RC2 which is telling me that I'm not connected or have the wrong cable etc. I've converted another 320 to a e2k and it works better that way, but my 160's still out perform it. _________________ E4200 w/ mega build 23838
Posted: Sat Nov 06, 2010 9:38 Post subject: Re: Bricked WRT54GC
Andy2edb wrote:
I have a bricked WRT54GC v2 router with same 88W8510 CPU and Macronix type flash. But with a still functional WRT54GC I've made a full flash backup (with H-JTAG software).
Just to let you know I've developed a small mod to the old version 3.01 to better support Ti AR7 routers such as Linksys ADSL2MUE and Netgear DG834GV3. More details in a post over at RouterTech forums http://www.routertech.org/viewtopic.php?f=19&t=3732 - as they offer 3rd party firmware for these non-ddwrt ADSL routers, and hopefully they can support that specific hardware.
Appreciate probably too late for you to incorporate in 3.02, but it 'works for me', so I'll port to 3.02 if needed, as and when.
Same copy of the attachment here.
Note: There was one hardcode of the Broadcom FLASH_MEMORY_START address in chip_erase at line 2485 in tjtag.c - not sure if important but just commented it out for now...
tjtag3-0-1RT.zip
Description:
Small mod to tjtag to better support Ti AR7 routers