|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
themadscientist
|
Post subject: Posted: Wed Aug 23, 2006 3:03 pm |
|
 |
| 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 |
|
 |
|
Tgui
|
Post subject: Posted: Wed Aug 23, 2006 3:39 pm |
|
 |
| 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 |
|
 |
|
ev8siv3
|
Post subject: Posted: Tue Sep 19, 2006 7:32 pm |
|
 |
| 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 |
|
 |
|
kascade
|
Post subject: Posted: Tue Sep 19, 2006 8:15 pm |
|
 |
| RomRaider Developer |
 |
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 |
|
 |
|
Tgui
|
Post subject: Posted: Tue Sep 19, 2006 10:01 pm |
|
 |
| RomRaider Developer |
Joined: Tue Jul 11, 2006 9:25 pm Posts: 1025
|
|
| Top |
|
 |
|
qoncept
|
Post subject: Posted: Tue Sep 19, 2006 10:48 pm |
|
 |
| Administrator |
 |
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 |
|
 |
|
kascade
|
Post subject: Posted: Tue Sep 19, 2006 11:07 pm |
|
 |
| RomRaider Developer |
 |
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 |
|
 |
|
fasterthanurwrx
|
Post subject: Posted: Tue Sep 19, 2006 11:11 pm |
|
 |
| Experienced |
 |
Joined: Mon Sep 18, 2006 10:55 am Posts: 229
|
|
| Top |
|
 |
|
Tgui
|
Post subject: Posted: Wed Sep 20, 2006 12:20 am |
|
 |
| 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 |
|
 |
|
ev8siv3
|
Post subject: Posted: Wed Sep 20, 2006 12:37 pm |
|
 |
| 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 |
|
 |
|
Jeramie
|
Post subject: Posted: Wed Sep 20, 2006 2:40 pm |
|
 |
| Administrator |
 |
Joined: Mon Jan 30, 2006 9:05 pm Posts: 774 Location: PA, USA
|
|
I'd donate!. . .Anyone know the cost?
_________________ Enjoy,
Jeramie
|
|
| Top |
|
 |
|
fasterthanurwrx
|
Post subject: Posted: Wed Sep 20, 2006 6:02 pm |
|
 |
| Experienced |
 |
Joined: Mon Sep 18, 2006 10:55 am Posts: 229
|
|
I'm sure it won't take long to get money together..
|
|
| Top |
|
 |
|
ev8siv3
|
Post subject: Posted: Wed Sep 20, 2006 6:07 pm |
|
 |
| 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 |
|
 |
|
Jon [in CT]
|
Post subject: Posted: Wed Sep 20, 2006 7:09 pm |
|
 |
| 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.phpYou 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 |
|
 |
|
ev8siv3
|
Post subject: Posted: Wed Sep 20, 2006 7:15 pm |
|
 |
| 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 |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 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
|
|