RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Thu Dec 25, 2025 1:40 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: JTAG hard flashing
PostPosted: Sun Nov 05, 2006 1:13 am 
Offline
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 :shock: ), 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
 Profile  
 
 Post subject:
PostPosted: Fri Nov 10, 2006 9:13 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Fri Nov 10, 2006 9:23 pm 
Offline
Administrator
User avatar

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
 Profile  
 
 Post subject:
PostPosted: Fri Nov 10, 2006 9:32 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Fri Nov 10, 2006 9:45 pm 
Offline
Experienced

Joined: Fri Feb 10, 2006 4:41 pm
Posts: 483
Location: toggle switch envy, PA
so far, I have found a british company offering a jtag solution for just the SH7055F
(evo and 04 DBW only, iirc) for 1950 euros (yeah, not gonna happen)

http://www.codescape.com/processors.htm

and this...
about super H jtag support in a linux distro.
but it seems like they are also talking about needing to build a miniboard to do it, which would be a PITA.

http://linuxdevices.com/news/NS5079625122.html

and renesas lists a bunch, but I'm guessing there was some kickbacks involved in this listing process, they are all commercial software packages.

http://eu.renesas.com/fmwk.jsp?cnt=debu ... bug_tools/

so, the search continues.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 12:29 am 
Offline
RomRaider Developer

Joined: Tue Jul 11, 2006 9:25 pm
Posts: 1025
http://openwince.sourceforge.net/jtag/

Seems to be used in the realm of Wince devices.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 12:45 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 12:50 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 12:54 am 
Offline
Experienced

Joined: Fri Feb 10, 2006 4:41 pm
Posts: 483
Location: toggle switch envy, PA
I present the macraigor wiggler (rofl, I had typed waggler out of habit :lol:) jtag interface, linked in that jtag tools site tgui found
http://jtag-arm9.sourceforge.net/hardware.html


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 12:57 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 1:04 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 1:06 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 1:16 am 
Offline
RomRaider Developer

Joined: Tue Jul 11, 2006 9:25 pm
Posts: 1025
Maybe someone on the forums who hasn't gotten into a recent car accident could be kind enough to open up their DBW ECU??

:) :) :) :) :) :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 8:26 am 
Offline
Administrator
User avatar

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
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 1:40 pm 
Offline
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!
:D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 8 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

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl