RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Wed Dec 24, 2025 7:06 pm

All times are UTC - 5 hours [ DST ]





Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 62 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject:
PostPosted: Wed Aug 23, 2006 3:03 pm 
Offline
Experienced

Joined: Sat Feb 11, 2006 6:38 pm
Posts: 134
Location: Beverly,MA
Gone


TMS


Last edited by themadscientist on Wed Aug 23, 2006 5:54 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 23, 2006 3:39 pm 
Offline
RomRaider Developer

Joined: Tue Jul 11, 2006 9:25 pm
Posts: 1025
I know that a torrent isn't the file being referenced, more like a map of available servers. I still think its a bad idea to be posting such things in these forums. Maybe a PM would be better.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 7:32 pm 
Offline
Experienced

Joined: Fri Mar 24, 2006 3:14 pm
Posts: 768
I wonder if we can do a donation thing for pooling money to buy a copy of this software? This is the compiler we need to re-compile HC16 code into a custom ECU ROM for realtime use. I'm not sure the cost but the information is available at this site:

http://www.cosmicsoftware.com/hc16.php


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 8:15 pm 
Offline
RomRaider Developer
User avatar

Joined: Sun Jul 16, 2006 12:09 am
Posts: 644
Location: Brisbane, Australia
Any idea how much it costs? I'd be willing to donate if this will help further the realtime tuning cause.

It'd be great if you could explain at a high level how realtime tuning works and how this fits in.

_________________
Paul.
------------------------------------
MY04 Forester XT (Aus. spec)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 10:01 pm 
Offline
RomRaider Developer

Joined: Tue Jul 11, 2006 9:25 pm
Posts: 1025
I would donate.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 10:48 pm 
Offline
Administrator
User avatar

Joined: Fri Jan 13, 2006 12:33 pm
Posts: 2079
Location: Palo, IA
kascade wrote:
It'd be great if you could explain at a high level how realtime tuning works and how this fits in.

We need to decompile the stock ECU code to find where it looks up the different tables. Then rewrite the code to look to specified locations in RAM (which we could write to while the car is running). We'd also have to deal with ECU resets (all RAM is lost) by having it revert to the original location in ROM if necessary. And then recompile.

_________________
- Jared


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 11:07 pm 
Offline
RomRaider Developer
User avatar

Joined: Sun Jul 16, 2006 12:09 am
Posts: 644
Location: Brisbane, Australia
qoncept wrote:
kascade wrote:
It'd be great if you could explain at a high level how realtime tuning works and how this fits in.

We need to decompile the stock ECU code to find where it looks up the different tables. Then rewrite the code to look to specified locations in RAM (which we could write to while the car is running). We'd also have to deal with ECU resets (all RAM is lost) by having it revert to the original location in ROM if necessary. And then recompile.


great thanks! sounds fine in theory but is it really that simple? I assume rewriting the ECU code is no simple task or is it?

Will this also give greater insight into the function of all the unknown maps/tables? And, I bet you could all sorts of cool things like switchable launch control, switchable maps, and much more

_________________
Paul.
------------------------------------
MY04 Forester XT (Aus. spec)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 11:11 pm 
Offline
Experienced
User avatar

Joined: Mon Sep 18, 2006 10:55 am
Posts: 229
I would donate.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 12:20 am 
Offline
RomRaider Developer

Joined: Tue Jul 11, 2006 9:25 pm
Posts: 1025
kascade wrote:
qoncept wrote:
kascade wrote:
It'd be great if you could explain at a high level how realtime tuning works and how this fits in.

We need to decompile the stock ECU code to find where it looks up the different tables. Then rewrite the code to look to specified locations in RAM (which we could write to while the car is running). We'd also have to deal with ECU resets (all RAM is lost) by having it revert to the original location in ROM if necessary. And then recompile.


great thanks! sounds fine in theory but is it really that simple? I assume rewriting the ECU code is no simple task or is it?

Will this also give greater insight into the function of all the unknown maps/tables? And, I bet you could all sorts of cool things like switchable launch control, switchable maps, and much more


Decompiled code is a pain. Think, really large program without meaningful function or variable names, no comments and most of the time a total lack of organization.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 12:37 pm 
Offline
Experienced

Joined: Fri Mar 24, 2006 3:14 pm
Posts: 768
Basically it's a two part process.

1st We create a base rom that accepts the new code...this part isn't too hard.

2nd We create a utility to FLASH (read/write) the ram with the realtime code and allow realtime tuning to function.

Remember we have a lot of information already out there on RT tuning and it is not that hard to implement some test rom's pretty quickly with tweaks. We've already got a decent RAM reader out from tinywrex (XMLWrite creator) and with a little work we can have it writing soon.

I'm just in need of the cross-compiler that will allow the ASM dump from IDA to be converted to C then re-written to ASM/HEX so it can be re-created as a ROM. I'm pretty sure the Cosmic one is the correct one, I'll ask Colby and see what he used to compile the EcuFlash Kernel.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 2:40 pm 
Offline
Administrator
User avatar

Joined: Mon Jan 30, 2006 9:05 pm
Posts: 774
Location: PA, USA
I'd donate!. . .Anyone know the cost?

_________________
Enjoy,

Jeramie


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 6:02 pm 
Offline
Experienced
User avatar

Joined: Mon Sep 18, 2006 10:55 am
Posts: 229
I'm sure it won't take long to get money together..


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 6:07 pm 
Offline
Experienced

Joined: Fri Mar 24, 2006 3:14 pm
Posts: 768
I'm waiting on a response from Colby to see what he suggests as a compiler/code converter.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 7:09 pm 
Offline
Experienced

Joined: Wed Jul 26, 2006 3:19 pm
Posts: 650
Location: Connecticut, USA
ev8siv3 wrote:
I wonder if we can do a donation thing for pooling money to buy a copy of this software? This is the compiler we need to re-compile HC16 code into a custom ECU ROM for realtime use. I'm not sure the cost but the information is available at this site:

http://www.cosmicsoftware.com/hc16.php
You don't need a C compiler unless you're writing a completely new program (e.g. a bootloader) or you're willing to manually translate assembly code into C code. The latter option is very error-prone.

What you need is an assembler that can successfully assemble the output from whatever disassembler you're using (e.g. IDA Pro).

Actually, you probably don't even really need the assembler to implement realtime maps.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 7:15 pm 
Offline
Experienced

Joined: Fri Mar 24, 2006 3:14 pm
Posts: 768
Do you have an alternate suggestion on how to implement realtime maps without changing code to look for it? I will look into compilers.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 62 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl