Data Tracing

Submit feature suggestions for future versions of TunerPro here.

Moderators: Mangus, robertisaar, dex

Post Reply
Mick
Posts: 4
Joined: Sun Mar 18, 2007 12:42 am
Location: Australia

Data Tracing

Post by Mick »

I see in the current software of TunerPro RT there is a feature called ALDL Data Tracing.

I see that this is assocated with the new v2 OSTRICH from Craig Moates.

I was just wondering if anybody was using this feature and what there findings were.

I'm also lead to beleive that Craig's Roadrunner LS1 Real Time PCM has the same capability.

I was wondering if these features would be included into TunerPro in the future.

I'm a very curious sort of guy, I hope I don't ask to much...:)

Cheers

Mick
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

ALDL data tracing takes the ALDL output and traces any corresponding maps (as defined by the definition). The address hit tracing implemented in the Ostrich 2 is a bit different.

Yes, I have a test app working with address tracing, but do not have it integrated into TunerPro. I will eventually.
***************************************
TunerPro Author
1989 Trans Am
Lafuente
Posts: 12
Joined: Tue Apr 22, 2008 5:30 am

Post by Lafuente »

Mangus wrote:ALDL data tracing takes the ALDL output and traces any corresponding maps (as defined by the definition). The address hit tracing implemented in the Ostrich 2 is a bit different.

Yes, I have a test app working with address tracing, but do not have it integrated into TunerPro. I will eventually.
Hi Sir,

It would be a great news if you do it :D

Best regards,
Manu
KaliE36
Posts: 10
Joined: Fri Oct 12, 2007 3:29 am

Post by KaliE36 »

this adress tracing will be a great feature for any DIY tuner ... when can we expect to have this in TunerPro?
can we also test this "test" app ? :)
Lafuente
Posts: 12
Joined: Tue Apr 22, 2008 5:30 am

Post by Lafuente »

Mangus wrote:ALDL data tracing takes the ALDL output and traces any corresponding maps (as defined by the definition). The address hit tracing implemented in the Ostrich 2 is a bit different.

Yes, I have a test app working with address tracing, but do not have it integrated into TunerPro. I will eventually.
Hi Mangus.

I wonder if you plant to release this fonction in TunerPro RT. In fact, I am waiting this to get an registered version :P

Bests,
Manu
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

Yes, it's planned for TunerPro RT.
***************************************
TunerPro Author
1989 Trans Am
Lafuente
Posts: 12
Joined: Tue Apr 22, 2008 5:30 am

Post by Lafuente »

Mangus wrote:Yes, it's planned for TunerPro RT.
YES !!!

And when do you plant to release it ?

Bests,
Manu
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

Lafuente wrote:And when do you plant to release it ?
When it is ready. :D

I am working on it. At a varying pace, but I am working on it. :) Merci pour votre intérêt!
***************************************
TunerPro Author
1989 Trans Am
Lafuente
Posts: 12
Joined: Tue Apr 22, 2008 5:30 am

Post by Lafuente »

Mangus wrote: When it is ready. :D

I am working on it. At a varying pace, but I am working on it. :) Merci pour votre intérêt!
De rien mon ami => You're welcome !!
Lafuente
Posts: 12
Joined: Tue Apr 22, 2008 5:30 am

Post by Lafuente »

If you need any tester, I have an ostrich and a well tuned XDF for my car (siemens ECU fenix1B). I'll have to do my maps soon and can help you to go through with trace fonction if you need/hope.

Bests,
Manu
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

Lafuente wrote:If you need any tester, I have an ostrich and a well tuned XDF for my car (siemens ECU fenix1B). I'll have to do my maps soon and can help you to go through with trace fonction if you need/hope.

Bests,
Manu
Excellent! Could you email me the XDF and matching bin for your Siemens ECU? What year and models is it for? Can I post it on the TunerPro web site?
***************************************
TunerPro Author
1989 Trans Am
Lafuente
Posts: 12
Joined: Tue Apr 22, 2008 5:30 am

Post by Lafuente »

Mangus wrote: Excellent! Could you email me the XDF and matching bin for your Siemens ECU? What year and models is it for? Can I post it on the TunerPro web site?
Yes you could my friend :D
In fact, you should !

Bests
Manu
kepsus
Posts: 3
Joined: Sun Aug 31, 2008 11:54 am

Post by kepsus »

WOW cant wait to try this... Please let me know if you need any testpilot, to test it :-D
sideways danny
Posts: 9
Joined: Sun Aug 31, 2008 3:44 pm

Post by sideways danny »

awesome. Currently have a Ostrich 1.0 but i'll upgrade to 2.0 if tunerpro RT can work with a trace function. I'm running on a Nissan CA18DET with a JECS ECU. Can provide the xdf I have if needed :)
User avatar
Six_Shooter
Posts: 590
Joined: Sun May 06, 2007 7:32 am

Post by Six_Shooter »

Mangus wrote:ALDL data tracing takes the ALDL output and traces any corresponding maps (as defined by the definition). The address hit tracing implemented in the Ostrich 2 is a bit different.

Yes, I have a test app working with address tracing, but do not have it integrated into TunerPro. I will eventually.
I've been curious why the Ostrich 2.0 firmware would need to be updated for ALDL tracing. The way I understand it works aqnd have seen it work is strickly from the ALDL input and show up in the tables of the current bin shown in TP RT.

What effect is the Ostrich 2.0 going to have? How does this relate to the tune?
User avatar
dex
The Ford Guy
Posts: 614
Joined: Thu Oct 07, 2004 6:38 am

Post by dex »

ALDL has nothing to do with the Ostrich2 and is the data stream from the ecu.

The Ostrich2's data tracing is independant of the ecu and tracks calls to rom addresses only.
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

sideways danny wrote:awesome. Currently have a Ostrich 1.0 but i'll upgrade to 2.0 if tunerpro RT can work with a trace function. I'm running on a Nissan CA18DET with a JECS ECU. Can provide the xdf I have if needed :)
I'm always interested in adding definitions to the web site if you'd allow. Feel free to email it to me along with vehicle compatibility list to mark at tunerpro dot net
***************************************
TunerPro Author
1989 Trans Am
kepsus
Posts: 3
Joined: Sun Aug 31, 2008 11:54 am

Post by kepsus »

Do we hve any time estimate (if) this fuction get in to tunerpro rt
kepsus
Posts: 3
Joined: Sun Aug 31, 2008 11:54 am

Post by kepsus »

Sorry to keep ask , i know you do all this for free (almost), but it would really be a cool feature
sideways danny
Posts: 9
Joined: Sun Aug 31, 2008 3:44 pm

Post by sideways danny »

Any news on a data trace yet? :)
audichap
Posts: 16
Joined: Wed Jan 07, 2009 3:41 am

BUMP - Any updates ?

Post by audichap »

Greetings all - I am a noob on here. Regsitered user of the RTPro package and I have the mighty Ostrich 2.0 up and running...

I too would really love to know when any kind of trace functionality will be available via RTPro. I will happily take Alpha or Beta test builds.

I need tracing to do a couple of basic things -

1. Create a sequenced list of address hits from power up of the ECU - until its shut down, or when it hits some sort of limit - file size or timer. This is going to be a huge help in reverse engineering undocumented ECUs. I would happily take a standalone hack/application that can do this now - I just need all the address hits so I can sanity check my disassembly and attempts to understand my ECU a lot better.

2. Highlight address hits in real-time while viewing maps graphically. This will be a revelation for RT mapping with visual confirmation of where the ECU is working inside a live map view - much less guesswork - especially when the map scales are not yet known.

PS - RT TunerPro is great... I have spent a long time building XDFs for the ECUs I work with - it has been a bit labourious but the stability of the package and ease of operation is fantastic.

Getting the trace function up and running will be so cool - it is the reason I bought Ostrich and this software as my best hope for progression.
audichap
Posts: 16
Joined: Wed Jan 07, 2009 3:41 am

Post by audichap »

BUMP - Any update from the makers of TunerPro RT on the availability of a trace function ?

Sorry to moan on about this, but even a message that said its 6 months away is better than hearing nothing.

I've been trying to get some direct connectivity with Ostrich for its claimed trace command set using various serial port programs but its proving pretty tedious as it seems I need TunerPro to initialise the comms properly, but then it hogs the COM port making it impossible to get reliable comms with another package to attempt some trace commands.

Even if a quick / dirty dialog box could be grafted onto TunerPro as a means to exercise the trace commands before any graphical or tabular support is provided - that would be awesome for people like me trying to reverse engineer some of these undocumented Bosch Motronic ECUs.
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

The next version of TunerPro will not ship w/o tracing. The plan is to have two forms of tracing data visualization availble:

1) a raw list of address hits in an arbitrary window that the user specifies. This will be the most performant means of getting data from the unit, and the method least likely to miss data

2) visual tracing bubble on the active table. The user opens up a table to visualized, clicks "trace", and address hits are highlighted in the table.

I'm fixing a couple of hardware interfacing issues at the moment with the Roadrunner, and as soon as that's done, I'm moving on to tracing (for the love of God =). I've finally got my test bench back, which is what I've been waiting on to get this implemented.

I appreciate everyone's patience.
***************************************
TunerPro Author
1989 Trans Am
audichap
Posts: 16
Joined: Wed Jan 07, 2009 3:41 am

Post by audichap »

Mark,

Thanks for the update on this one... I really appreciate it.

I think the two methods you suggest are just what I need - Method 1 to help reverse engineer an unknown ECU and Method 2 to give visualisation of where the ECU is hitting a specific map in real-time.

My only request for Method 1 would be that it should be possible to specify a range of the entire address space and have a sequence dump of all the address hits into a text file for offline investigation - thats going to be a big help to confirm the behaviour of any reverse engineered / disassembled code... Watching how the chip is accessed at startup/reset for example or it traverses multiple maps, making various calculations to obtain a final result for injector times or whatever... Spare a thought for any of us trying to unlock some of the Bosch Motronic secrets. We need all the help we can get !

Really looking forward to support for trace, and only too happy to offer any services as an Alpha / Beta tester if it helps the wider userbase.
Rogue_Ant
Posts: 10
Joined: Tue Feb 10, 2009 9:14 pm

Post by Rogue_Ant »

audichap,
I'm also working on the motronic. I'm dealing with my 86 Porsche 944 Turbo which uses the motronic 3.1. What version are you working on?

And yes the data-tracing will help a lot! I'm really looking forward to its release :)


-Rogue
audichap
Posts: 16
Joined: Wed Jan 07, 2009 3:41 am

Post by audichap »

Cool - we should compare notes on moates then :)

Mine is Bosch DME 2.3.2 - I'm not 100% sure on that but its an 8051 based thing that is keeping me awake at night with code disassembly.

I have written a PHP script for finding maps - if you like I can parse your Porsche binary for maps - assuming you know what labels to look for... I don't think they are the same across different applications.

My idea of the script is to eventually get it to create the XDF file that describes the locations of all the maps found - to save LOTS of time versus building the XDF manually.
Rogue_Ant
Posts: 10
Joined: Tue Feb 10, 2009 9:14 pm

Post by Rogue_Ant »

Well if your DME is 8051 based as well, then we are looking at similar dis-asm... What are you using to dis assemble? What size is your binary? I'm using a modified version of Dis51 and my binary is 8k.

Does your binary have a jump table? I know the locations of pretty much every map on the binary I have. If you know the jump table location - you just follow the jumps. Then just looking for familiar header information to help identify the table.

Do you have a link to your thread on moates.net?


-Rogue
audichap
Posts: 16
Joined: Wed Jan 07, 2009 3:41 am

Post by audichap »

I have been using DIS8051 - which is OK, but takes a lot of hand coding for good results.

Tonight I got a quick run thru with IDAPro and the quality in output is amazing - it also found all the datablocks automatically - no stupid TAG files here.

Based on the binary I gave it, it called out an 8051 variant that had no internal ROM - which makes sense to me as that would conflict with me finding reset and interrupt routines in one of the two external EPROMs.

Yes some of the code uses jump tables - and that definitely helps a lot locate those maps which don't have the motronic labels.

It will take a while to learn my way round IDA Pro, but it looks great. I can work on your binary if you like... Just send me a PM with an Email address and we'll go from there.
Rogue_Ant
Posts: 10
Joined: Tue Feb 10, 2009 9:14 pm

Post by Rogue_Ant »

audichap,
My binary should also be a 8051 variant with no internal ROM.

You have a PM.


-Rogue
audichap
Posts: 16
Joined: Wed Jan 07, 2009 3:41 am

Post by audichap »

PM sent back... Since my previous post I have been inside my ECU for a closer look as I couldn't figure how an Intel 8051 (built in 1980) was accessing so much external EPROM space.

Turns out my ECU has an 8051 running from internal ROM, and it also has 2 x AMD/Siemens 80535 micros - one for fuel/timing and the other for boost control. What a beast !

Anybody see why I need the trace function so badly :)

Seriously though - whilst I have a really nice package for code disassembly, its going to take a long time to completely map out both the external chips and properly understand when each map gets used. The trace function is going to be a vital assistant for that.
soldave
Posts: 3
Joined: Sun Mar 16, 2008 7:31 pm

Post by soldave »

Am I right in thinking then that the ALDL mapping will not be available for people with the Ostrich 1?
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

soldave wrote:Am I right in thinking then that the ALDL mapping will not be available for people with the Ostrich 1?
ALDL mapping is irrespective of emulation hardware. If you can get ALDL data, you can potentially set up ALDL tracing.

Address tracing, on the other hand, is an Ostrich 2 and Romulator feature (TunerPro will support the Romulator, but emphasis will beon Ostrich 2).
***************************************
TunerPro Author
1989 Trans Am
soldave
Posts: 3
Joined: Sun Mar 16, 2008 7:31 pm

Post by soldave »

Mangus wrote:
soldave wrote:Am I right in thinking then that the ALDL mapping will not be available for people with the Ostrich 1?
ALDL mapping is irrespective of emulation hardware. If you can get ALDL data, you can potentially set up ALDL tracing.

Address tracing, on the other hand, is an Ostrich 2 and Romulator feature (TunerPro will support the Romulator, but emphasis will beon Ostrich 2).
Sorry, I meant address tracing. Getting a little confused there.

Well that serves me right for going the cheap route all those months back and picking up an Ostrich 1! :( An upgrade may be in the cards when the latest Tunerpro release is out.
moon_walk
Posts: 17
Joined: Wed May 06, 2009 4:56 am
Location: Sweden
Contact:

Post by moon_walk »

any news on the address tracing yet?
revlimit
Posts: 202
Joined: Thu Mar 19, 2009 6:41 pm

Post by revlimit »

moon_walk wrote:any news on the address tracing yet?
address tracing works but it needs more work to get it just right so just wait till the version 5 comes out and don't forget to donate.
moon_walk
Posts: 17
Joined: Wed May 06, 2009 4:56 am
Location: Sweden
Contact:

Post by moon_walk »

revlimit wrote:
moon_walk wrote:any news on the address tracing yet?
address tracing works but it needs more work to get it just right so just wait till the version 5 comes out and don't forget to donate.
eny expected eta ? btw already have donated ;)
WhizzMan
Posts: 3
Joined: Mon Aug 10, 2009 4:40 am

Post by WhizzMan »

It may sound a bit dull, but I could really use the address tracing for my ostrich 2. It's been sitting on the shelf for about a year waiting for this feature in tunerpro RT to appear. Is there an update on the time frame, or a (non public) beta I could try?
thecris
Posts: 1
Joined: Mon Jul 13, 2009 6:27 am

Post by thecris »

we all are here and waiting for realtime map traking!!!!!!
i really need this. but i need to know if this feature became real in few time or not.

please give me some information about.

a lot of fast cars hope and wait...
if beta version is made, please post it and we try!!!!!!!!!!!!!!!!!!!!!!!!!!!!

CRIS FROM ITALY
User avatar
Six_Shooter
Posts: 590
Joined: Sun May 06, 2007 7:32 am

Post by Six_Shooter »

Public Beta has been released, for over a month now, check the main page for the link.
Post Reply