View unanswered posts | View active topics It is currently Sat Nov 16, 2019 1:03 am



Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
 IDA Pro 
Author Message

Joined: Wed Dec 05, 2007 11:05 am
Posts: 39
Post IDA Pro
Has anyone used this software to disassemble ECU EPROMs? Is it helpful to understand the ECU data structure? I am particularly interested in (of course) identifying maps, defining axes' values etc. What kind of knowledge should be built before attempting basic stuff with IDA (or any other disassmbler)? Is there a "for dummies" manual to start with?


Wed Dec 19, 2007 2:17 pm
Profile
User avatar

Joined: Thu Nov 29, 2007 2:26 am
Posts: 17
Location: Montreal,Qc
Post 
Yes, look here: http://www.andywhittaker.com/ECU/DisassemblingaBoschME755/tabid/96/Default.aspx

It is not for a diesel ecu, but it is a good how to guide.


Wed Dec 19, 2007 6:01 pm
Profile
- Pro Section -
User avatar

Joined: Sat Nov 17, 2007 8:12 pm
Posts: 4326
Post 
8) Dude, you just made me decide i'm going to waste away another 6 months of my life learning ecu disassembly.

THANKS A LOT :D


Wed Dec 19, 2007 6:52 pm
Profile
*

Joined: Sun Nov 25, 2007 12:44 am
Posts: 800
Location: BE
Post 
When it's shown like this it's understandable how everything works..

If we had a pluging for or ecu's it would be even better..

The nice part is that you can lookup the checksum function.. this is what I would like to have for my vag TDI ecus


Wed Dec 19, 2007 7:28 pm
Profile

Joined: Wed Dec 05, 2007 11:05 am
Posts: 39
Post 
I actually started from that website. I have watched the videos three times already but it still makes little sense to me. What I understand is that there's an instructions section and a data section in the chip - which is standard for a low-level programming code. The videos describe how to identify where is which. But how would one use this information to arrive at map locations, their meaning? Do you think knowledge of asm should help?


Thu Dec 20, 2007 7:48 am
Profile
- Pro Section -
User avatar

Joined: Sat Nov 17, 2007 8:12 pm
Posts: 4326
Post 
I talked to one of the coders at work who uses the program all the time.

He said it's the perfect tool to look for the code and see how the thing works.

I'm gonna have a go at it soon. Just looking up some more stuff first.


Thu Dec 20, 2007 8:54 pm
Profile

Joined: Wed Dec 05, 2007 11:05 am
Posts: 39
Post 
Yesterday I looked at the same file used in the tutorial (Passat B5 I believe). Indeed, the first 64k is the code that ECU is using to manage processes under the hood. The rest of the file is data. I checked the location of a known map, but could not find any reference to that location (maybe I should be looking for an offset?)


Fri Dec 21, 2007 4:21 am
Profile

Joined: Wed Dec 05, 2007 11:05 am
Posts: 39
Post 
For those who are still on the subject. Here is the assembly reference for A166 chips (includes C166/167).


You do not have the required permissions to view the files attached to this post.


Tue Dec 25, 2007 5:43 am
Profile
- Pro Section -
User avatar

Joined: Sat Nov 17, 2007 8:12 pm
Posts: 4326
Post 
I found this somewhere:

Volvo ecu assembler code:


You do not have the required permissions to view the files attached to this post.


Wed Jan 09, 2008 12:23 pm
Profile

Joined: Wed Dec 05, 2007 11:05 am
Posts: 39
Post 
A question for those who's viewed Andy's tutorial videos: In the third video he starts with assigning correct values to dpps: 204h, 205h, 0e0h, 3. DPP1-DPP3 are defined in the reset handler, but I don't get where he got 204h. Anybody?

And a second question. Further nn the same third video he goes to disassembly of subroutines. Which address range should be used? The one he uses in the video (seg010:00020000 and on)? or aywhere in the binary? Is there a rule? How is it defined?

Sorry if my questions are dumb.


Fri Jan 11, 2008 9:45 am
Profile

Joined: Sun Jan 20, 2008 5:02 am
Posts: 33
Post 
I am working on it for disasambly i chose golf5 2.0TFSI ori found in file section. I can keep you posted as work progeses and time allowes.


Thu Jan 24, 2008 7:45 am
Profile

Joined: Wed Dec 05, 2007 11:05 am
Posts: 39
Post 
Do you know assembly of that particular processor?


Thu Jan 24, 2008 12:03 pm
Profile

Joined: Sun Jan 20, 2008 5:02 am
Posts: 33
Post 
If you read online it is motorola processor....if I am not mistaken I had to pull off this project for while

MOTOROLA MPC5xx processor file


Sat Feb 02, 2008 1:27 am
Profile

Joined: Wed Dec 05, 2007 11:05 am
Posts: 39
Post 
I'd like to get back to the topic. After reading tons of microchip and assembly manuals, and with the help of nyet's file in a different thread I thought I could give this another try. I have managed to replicate what Mr. Whittaker is showing in his tutorials. I even looked up the addresses of known functions (like DTC flag activation and lookup fucntions for fuel and ignition). I will now spend time analyzing these functions to be able to find others that reference to maps which are now known. I guess it is also time to find the ECU schematic to know which port does what.


Tue Apr 08, 2008 4:54 am
Profile
- Pro Section -
User avatar

Joined: Wed Jan 02, 2008 3:21 am
Posts: 206
Post 
i-dar wrote:
I'd like to get back to the topic. After reading tons of microchip and assembly manuals, and with the help of nyet's file in a different thread I thought I could give this another try. I have managed to replicate what Mr. Whittaker is showing in his tutorials. I even looked up the addresses of known functions (like DTC flag activation and lookup fucntions for fuel and ignition). I will now spend time analyzing these functions to be able to find others that reference to maps which are now known. I guess it is also time to find the ECU schematic to know which port does what.


Nice already... Good luck..


Tue Apr 08, 2008 1:09 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to: