Pages: [1]
Author Topic: First time dissembling  (Read 7467 times)
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« on: March 10, 2017, 11:45:20 AM »

HI,

Trying to wrap my head around disassembling my ECU file so have patient with me.

Right now I have IDA pro 32-bit and i have loaded my .bin file into it. Then a dialogue comes up where i shall select Processor type. My ST10F275  isnt in the list? So i gues i have to define some type of area of the ROM?

I have seen that there are some scripts but dont even know how to load them...

Second is there any tutorials? I have searched but haent found anything that explains..

Help is appreciated Huh..
Logged

E85oholic
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Online Online

Posts: 12271


WWW
« Reply #1 on: March 10, 2017, 11:50:41 AM »

http://nefariousmotorsports.com/forum/index.php?topic=2431.0title=
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #2 on: March 10, 2017, 12:09:11 PM »

Thanks Nyet
Thanks I started to read that thread. But lol im stucked on how to load the script I have googled my ass to find how to load scripts?

Is it suppoed to be loaded via AutoIT?
« Last Edit: March 10, 2017, 12:11:27 PM by Jim_Coupe » Logged

E85oholic
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #3 on: March 10, 2017, 12:13:01 PM »

Guess i have to learn how to start AutoIT first Smiley
Logged

E85oholic
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #4 on: March 10, 2017, 12:47:51 PM »

Ohh it seems that i had an older version of the script..  I Used this below from "TijnCU"..   Now its going through my code here.. At least something happens now
Logged

E85oholic
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Online Online

Posts: 12271


WWW
« Reply #5 on: March 10, 2017, 04:09:03 PM »

The script is more useful as a tool to see what settings to use than anything else.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
TijnCU
Hero Member
*****

Karma: +60/-4
Offline Offline

Posts: 690


flying brick


« Reply #6 on: March 11, 2017, 02:21:34 AM »

Yeah, I would use prj's version first and my version only after you have a succesfull project to add variables for example. Or to add variables to someone elses idb file..
Logged

Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #7 on: March 14, 2017, 01:03:37 PM »

Ok but when i use your script TijnCU a dialogue comes up with "start Analysis" and so on but not when i click on PRJ´s script..

Also  "Load .ecu"  Shall i creatte an .ecu file form my .bin in Me7logger suspect.. I think i read that.  But my bin is ST10F275 will that work
Logged

E85oholic
turbojohan
Full Member
***

Karma: +5/-0
Offline Offline

Posts: 185


« Reply #8 on: March 15, 2017, 12:27:30 AM »

DPP's are different for ST10 ecu.
Logged
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #9 on: March 15, 2017, 11:52:01 AM »

Ok i guess i have no use of that then..  I have managed to analyze the .bin file now.. And now I can se all the code.

The code look very similar to a PLC "structured text" code wich im used to.. I see whats happening but i cant put the code into context. But how do you know what the different sub functions are doing?
Logged

E85oholic
jcsbanks
Full Member
***

Karma: +19/-3
Offline Offline

Posts: 146


« Reply #10 on: March 16, 2017, 01:55:23 PM »

Apart from getting the memory layout correct and marking the code, data and DPPs correctly, it is helpful to understand the funktionsrahmen for your ECU and import the a2l labels for characteristics and measurements.

The a2l usually shows which functions access which characteristics and measurements, so if you want to definitively identify a function, look for the measurements it exports and find references to those in your disassembly.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.019 seconds with 16 queries. (Pretty URLs adds 0.001s, 0q)