E1000 V2 Jtag help

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
arekm
DD-WRT Novice


Joined: 27 Jul 2008
Posts: 12

PostPosted: Sat Apr 14, 2012 19:51    Post subject: Reply with quote
Paid version also didn't work :/ Now the question is, was that waste of money or my jtag iface is "crap"?

Quote:


C:\>tjtag3.exe -probeonly /cable:wiggler

================================================
EJTAG Debrick Utility v3.0.2.1 Tornado-MOD
================================================

Selected port = 0x378

Detected IR chain length = 0
Number of device(s) = 0

Probing bus ... Done

Instruction Length set to 5

CPU Chip ID: 11111111000000010001100001111111 (FF01187F)
*** 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.

C:\>
Sponsor
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sat Apr 14, 2012 20:20    Post subject: Reply with quote
contact tornado and link him to this thread.. He has a V2.. I looked for my output (could not find it).. I helped him support this router.. It works.. Redhawk0 tested and helped support the V2.1.. (maybe the other way around)

he may have accidently sent the wrong version.. I have 3.0.2 - RC3..

_________________
[Moderator Deleted] Shocked
arekm
DD-WRT Novice


Joined: 27 Jul 2008
Posts: 12

PostPosted: Sat Apr 14, 2012 21:03    Post subject: Reply with quote
Done, will see what comes out of this.

There is one thing that could matter. I'm using such jtag device (http://ep.com.pl/files/4085.pdf - text in polish but look at schematics).

It's a bit modified here to match wiggler (so for example 14 and 17 db25 pins got connected to GND to get 72HC244 1 and 19 pins low as in wiggler... but wiggler doesn't have these connected to 14/17 pins in DB25 while mine version does have such connection).

Don't think this should matter unless rjtag makes some assumptions on unused (in wiggler) db25 pins like 14 and 17.

Also all connections to the device use lines that match wiggler (so for example I used DB25 pin 5 as TDI (wiggler) and not TCLK (description in pdf)).

In summary: it's wiggler but DB25 pins 14/17 are connected to GND while in "pure" wiggler these are NC.
arekm
DD-WRT Novice


Joined: 27 Jul 2008
Posts: 12

PostPosted: Sat Apr 21, 2012 9:50    Post subject: Reply with quote
Was finally able to recover using dumb, unbuffered cable!
Thanks for all your help.

Conclusions:

- buying tjtag means you are buying version only for single OS! (windows, linux 32bit, linux 64bit). Reminds me crappy M$ licensing scheme. Good that you don't have to pay for let say tjtag AMD cpu version, Intel cpu version and other cpu versions.

- tjtag error handling is very limited. It for example could print messages that it programs flash chip while in reality flash chip is not being programmed.

- is good to write a script that will try to run tjtag in loop and then power on E1000 since it seems things are very timing sensitive. For example if power on E1000 and then run tjtag then I end up with misdetected CPU.

- tjtag hangs on "InitPrAcc", "Enabling Memory Writes", "Enter SPI Flash Probe" (flash detection), so you have to try multiple times. Finally at some point in succeeds. I guess timing issues again.

- you need fresh tjtag (3.0.2 final or newer)




Joined: 01 Jan 1970
Posts:

PostPosted: Wed Jul 25, 2012 18:55    Post subject: Reply with quote
I just got the dim-LEDs probelm, so it’s encouraging to see that some have managed to fix it (even if it does require going to great lengths and expense).
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Wed Jul 25, 2012 19:12    Post subject: Reply with quote
buggles wrote:
I just got the dim-LEDs probelm, so it’s encouraging to see that some have managed to fix it (even if it does require going to great lengths and expense).

99.9999999% of the time, the router can be recovered with serial and needs no special software other than a terminal program. You will need to 5 dollar ttl adapter though.

_________________
[Moderator Deleted] Shocked
nhsqr
DD-WRT Novice


Joined: 14 Nov 2008
Posts: 37

PostPosted: Tue Aug 21, 2012 9:14    Post subject: Re: jtag Reply with quote
arekm wrote:
@cmacia06: where did you get jtag pinouts from for version v2? I have bricked v2.1 and I hope jtag pinouts will be the same for v2 and v2.1 (v2.1 isn't the same board as v1).


Same question?
Did someone got an answer?

_________________
1 x WRT54GL v1.1 - DD-WRT v24-sp2 (10/10/09) std - build 13064
1 x WRT610N v2 - DD-WRT v24-sp2 (02/13/13) stdkong - build 20575M with OptWare
1 x WR1043ND v1.8 - OpenWrt Attitude Adjustment 12.09-rc1
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Wed Aug 22, 2012 13:04    Post subject: Re: jtag Reply with quote
nhsqr wrote:
arekm wrote:
@cmacia06: where did you get jtag pinouts from for version v2? I have bricked v2.1 and I hope jtag pinouts will be the same for v2 and v2.1 (v2.1 isn't the same board as v1).


Same question?
Did someone got an answer?

the pinouts are the same as for any other linksys:

1 = nTrst
3 = tdi
5 = tdo
7 = tms
9 = tck

2 ~ 10 = ground

if there is a 12 pin header (I believe there is), pin 11 is nSRST.

_________________
[Moderator Deleted] Shocked
nhsqr
DD-WRT Novice


Joined: 14 Nov 2008
Posts: 37

PostPosted: Wed Aug 22, 2012 16:04    Post subject: Reply with quote
Thank you barryware. It worked! Smile
_________________
1 x WRT54GL v1.1 - DD-WRT v24-sp2 (10/10/09) std - build 13064
1 x WRT610N v2 - DD-WRT v24-sp2 (02/13/13) stdkong - build 20575M with OptWare
1 x WR1043ND v1.8 - OpenWrt Attitude Adjustment 12.09-rc1
cmacia06
DD-WRT Novice


Joined: 20 Mar 2012
Posts: 8

PostPosted: Fri Dec 14, 2012 18:22    Post subject: Reply with quote
Sorry to being back a dead tread. I still have my e1000 v2 and still dont have it working. It seems that i have lost my documentation on the pin out and cannot find it anymore. Would anybody be able to point me to the correct pinout for this router. I still would like to make this router work. when it worked with ddwrt it was stable and actually did what it was supposed to do without droping its wifi like the original linksys firmware.
cmacia06
DD-WRT Novice


Joined: 20 Mar 2012
Posts: 8

PostPosted: Fri Dec 14, 2012 19:00    Post subject: Reply with quote
Ok nevermind so much for that router. Just messed up the jtag pings. I might just buy another one. I ruined it by boosting the wifi power and now permanently broke it with the jtag. Thanks for the help anyways.
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum