ok we have some rom dump, how to "hack" it?

Announcements, dicussion about any topic that would have broad interest to the forum members

Moderator: Freon

ok we have some rom dump, how to "hack" it?

Postby Nemis » Mon Sep 12, 2005 9:19 am

now in this forum we can see come ecu rom dump

but how about ignition table, or fuel table?
how to change the map in this file?

someone have found where the map are, and what map are?
bye
Nemis
 
Posts: 66
Joined: Thu Dec 30, 2004 3:58 am
Location: italy

Postby calvinc » Mon Sep 12, 2005 10:53 pm

guys we are doing this the hard way. i realize people want to get 'fiddling' with their ecu data but if we analyze each and every ecu dump looking for individual maps it will take us ages to build up the database.

i'm 100% that the map locations, including axis size definitions, are in the rom itself. if we can find out the header structure for the rom we will save months of research time.

calvin.
calvinc
 
Posts: 163
Joined: Sun Apr 24, 2005 10:18 am
Location: south africa

Postby cboles » Wed Sep 14, 2005 5:14 pm

calvinc wrote:i'm 100% that the map locations, including axis size definitions, are in the rom itself. if we can find out the header structure for the rom we will save months of research time.
calvin.


I disagree. All of the ECU code that I have looked at just directly accesses data in the flash without another layer of indirection. I certainly don't keep track of where my tables are located in ROM when I write C or ASM, so I'm not sure why the Denso engineers would bother either, performance issues aside. That's the job of the compiler (or the linker, really). If you have evidence otherwise, I'd be interested to see it though...

Of course it is useful to add indirection if you want to do live tuning where, for example, the code would lookup a pointer in RAM which tells it where to actually find the table. If the pointer is validated, it can find that table in RAM where you are modifying the values on the fly. If not, it can get the table from the usual place in ROM. This way you can overcome the limitation that there is not enough RAM in the WRX ECU to put all of the ROM tables in RAM for live modification by selectively mapping what you need into RAM on the fly.
cboles
Site Admin
 
Posts: 1233
Joined: Wed Dec 29, 2004 5:45 pm
Location: Seattle, WA

Postby cboles » Thu Sep 15, 2005 2:30 pm

[I moderated Spiider's MAP offset posts to the respective model years in the reverse enginering forums...]
cboles
Site Admin
 
Posts: 1233
Joined: Wed Dec 29, 2004 5:45 pm
Location: Seattle, WA

Postby calvinc » Fri Sep 16, 2005 12:05 am

if you re-use the same processing code then it makes sense to have adjustable table definitions in the flash memory. it is after all the maps that make the car run...
calvinc
 
Posts: 163
Joined: Sun Apr 24, 2005 10:18 am
Location: south africa

Postby cboles » Thu Sep 22, 2005 10:02 am

I'm looking at some stuff related to OBD Diagnostic Trouble Codes (DTCs) in the Subaru ROM right now, and appears that there is a lookup table for how many parameters (including the DTCs) map into the RAM space... Stay tuned.
cboles
Site Admin
 
Posts: 1233
Joined: Wed Dec 29, 2004 5:45 pm
Location: Seattle, WA

Postby calvinc » Thu Sep 22, 2005 10:20 pm

great work colby! keep it up...

am i correct in assuming that the.tpu file contains the processing code?
calvinc
 
Posts: 163
Joined: Sun Apr 24, 2005 10:18 am
Location: south africa

Postby cboles » Fri Sep 23, 2005 5:13 am

what do you mean by processing code? the TPU memory area is only executed when you are in the kernel loading mode - it isn't used in normal operation of the car.
cboles
Site Admin
 
Posts: 1233
Joined: Wed Dec 29, 2004 5:45 pm
Location: Seattle, WA

Postby calvinc » Sun Sep 25, 2005 10:33 pm

the code that administers the RAM area and gets the values from the ROM tables.
calvinc
 
Posts: 163
Joined: Sun Apr 24, 2005 10:18 am
Location: south africa

Postby richip » Wed Sep 28, 2005 8:21 pm

cboles wrote:I'm looking at some stuff related to OBD Diagnostic Trouble Codes (DTCs) in the Subaru ROM right now, and appears that there is a lookup table for how many parameters (including the DTCs) map into the RAM space... Stay tuned.

Any updates?
richip
 
Posts: 36
Joined: Sun Aug 07, 2005 8:33 am

Postby cboles » Sun Oct 02, 2005 10:55 am

Haven't had a chance to get at it again. I will try to write up what I have figured out so far though.
cboles
Site Admin
 
Posts: 1233
Joined: Wed Dec 29, 2004 5:45 pm
Location: Seattle, WA

Postby richip » Sun Oct 02, 2005 1:55 pm

cboles wrote:Haven't had a chance to get at it again. I will try to write up what I have figured out so far though.

Thanks. Anything to keep the momentum going (at least for me :P )
richip
 
Posts: 36
Joined: Sun Aug 07, 2005 8:33 am

Postby evo » Fri Oct 07, 2005 2:49 am

Hi guys

im obviously new here, but my experiences extend back 5+yrs to the inception of the honda PGMFI forums.

Does anyone have the opcodes/mnemonics for the MCU chips.

unless im on the wrong tangent here, this is the only proper way to read the DASM correctly.

sorry if i've missed anything, ive spent a few hrs reading the forum, and couldnt find these codes.

Any help, much appreciated.
evo
 
Posts: 4
Joined: Thu Oct 06, 2005 11:24 pm

Postby ahains » Fri Oct 07, 2005 6:22 am

Colby posted a HC16 module for IDA, including source.
I'm an assembly newb, but I would assume that even if you don't have IDA you should be able to easily find the opcodes in his source code. Post is here:
http://forums.openecu.org/viewtopic.php ... ght=module

-Adrian

evo wrote:Hi guys

im obviously new here, but my experiences extend back 5+yrs to the inception of the honda PGMFI forums.

Does anyone have the opcodes/mnemonics for the MCU chips.

unless im on the wrong tangent here, this is the only proper way to read the DASM correctly.

sorry if i've missed anything, ive spent a few hrs reading the forum, and couldnt find these codes.

Any help, much appreciated.
ahains
 
Posts: 83
Joined: Mon Jun 06, 2005 12:59 pm
Location: Renton, WA


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 45 guests