|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
05GarnetLGT
|
Post subject: JTAG hard flashing Posted: Sun Nov 05, 2006 1:13 am |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
this is an area which I think we should get into. I mean, the ECUFlash tools are great, but s*** happens (seems to be happening quite frequently as of 11/15  ), and a bad flash is really hard to recover on 05+ DBW cars with the immobilizer.
using the JTAG interface common to the SH7058 microcontroller used in our ECUs, it should be possible to do a complete read of the ENTIRE ROM so that if we lose power during normal flashing, we have a backup method to get our ECUs back.
for some background info on the JTAG interface:
http://en.wikipedia.org/wiki/Jtag
apparently, there are tons of open-source JTAG programs, most of them dealing with debricking WRT54G routers. Maybe we can get some synergy going among open-source projects?
update 11/15:
possible candidate program found! (tgui found it!) http://openwince.sourceforge.net/jtag/
parallel (ugh...) jtag cable schematics found! http://jtag-arm9.sourceforge.net/hardware.html
I am probably gonna order the parts from digikey tomorrow or so and get crackin on this.
again, anyone have just a picture of an open DBW pcb? seriously, I have never even seen one! I have NO idea where it is in the car either...
things that would be a big help:
failing that, a good picture of the entire DBW PCB would be good...
(this is more realistic, anyone have any?)
Thanks.
Last edited by 05GarnetLGT on Wed Nov 15, 2006 1:03 am, edited 1 time in total.
|
|
| Top |
|
 |
|
NoCtrl
|
Post subject: Posted: Fri Nov 10, 2006 9:13 pm |
|
 |
| Newbie |
Joined: Wed Aug 23, 2006 12:07 pm Posts: 12
|
|
This post deserves a bump!
Im hoping to use the jtag on the JECS ECUs.. (M32r cpu family)
|
|
| Top |
|
 |
|
qoncept
|
Post subject: Posted: Fri Nov 10, 2006 9:23 pm |
|
 |
| Administrator |
 |
Joined: Fri Jan 13, 2006 12:33 pm Posts: 2079 Location: Palo, IA
|
LGT, you aren't too busy to do this are you?  I don't have a clue when it comes to that stuff..
_________________ - Jared
|
|
| Top |
|
 |
|
05GarnetLGT
|
Post subject: Posted: Fri Nov 10, 2006 9:32 pm |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
|
it might be held off a little, with the accident and me just getting a bike, but I'm looking into software that actually supports the superH architecture...
then I can get into making the physical cable.
|
|
| Top |
|
 |
|
05GarnetLGT
|
Post subject: Posted: Fri Nov 10, 2006 9:45 pm |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Wed Nov 15, 2006 12:29 am |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
|
| Top |
|
 |
|
05GarnetLGT
|
Post subject: Posted: Wed Nov 15, 2006 12:45 am |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
cool, it supports superH processors!
now I wonder if it supports the ones we need;
and too bad it hasn't been updated in 3 years
hmmm
I need to construct a cable.
thats the next step here.
I'll see what I need to make one of the supported cables
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Wed Nov 15, 2006 12:50 am |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
|
Do you have a link for cable construction? Maybe I missed it in the above posts.
Also.... splain to me. I've got an 04 STi, which proc is it? SH7058 processor (SH2 family)?
You should update and organize all the info gathered into your first post. I agree this would be one of the most beneficial additions to RomRaider.
|
|
| Top |
|
 |
|
05GarnetLGT
|
Post subject: Posted: Wed Nov 15, 2006 12:54 am |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Wed Nov 15, 2006 12:57 am |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
|
Huh, cool.
How would something like that cable interface with our ECUs?
|
|
| Top |
|
 |
|
05GarnetLGT
|
Post subject: Posted: Wed Nov 15, 2006 1:04 am |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
|
it has pins that have to be alligator clipped to our microcontroller chips, most likely.
hopefully (and if I can get some detailed pictures of an open ecu I can confirm...) subaru has unmasked JTAG vias or even pin headers for initial programming. that would simplify things quite a bit.
|
|
| Top |
|
 |
|
05GarnetLGT
|
Post subject: Posted: Wed Nov 15, 2006 1:06 am |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
Tgui wrote: Do you have a link for cable construction? Maybe I missed it in the above posts.
Also.... splain to me. I've got an 04 STi, which proc is it? SH7058 processor (SH2 family)?
You should update and organize all the info gathered into your first post. I agree this would be one of the most beneficial additions to RomRaider.
you have an SH7055, which is essentially the same but only has 512k flash instead of 1024k flash.
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Wed Nov 15, 2006 1:16 am |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
|
| Top |
|
 |
|
qoncept
|
Post subject: Posted: Wed Nov 15, 2006 8:26 am |
|
 |
| Administrator |
 |
Joined: Fri Jan 13, 2006 12:33 pm Posts: 2079 Location: Palo, IA
|
|
I'll see if we can't get a pic of my buddy's 04 STi.
_________________ - Jared
|
|
| Top |
|
 |
|
05GarnetLGT
|
Post subject: Posted: Wed Nov 15, 2006 1:40 pm |
|
 |
| Experienced |
Joined: Fri Feb 10, 2006 4:41 pm Posts: 483 Location: toggle switch envy, PA
|
colby says the functionality for this is ALREADY BUILT INTO ECUFLASH!
this is excellent news!

|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 4 guests |
|
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 post attachments in this forum
|
|