Pages: 1 2 [3] 4 5
Author Topic: AutoIT script to simplify ME7 binary loading  (Read 86131 times)
guitar24t
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 101


« Reply #30 on: November 28, 2013, 10:41:30 PM »

Hi guys,
Here's a spinoff of the script file that works for Volvo BIN files. You may have to change the processor type depending on what year the ECU is from. I set it up on a GitHub in case I want to make any changes to it later.
https://github.com/guitar24t/VolvoDisassemblyHelper
Logged
prj
Hero Member
*****

Karma: +1072/-481
Offline Offline

Posts: 6037


« Reply #31 on: November 29, 2013, 07:21:57 AM »

Cool, good job.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
B234R
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 75


« Reply #32 on: December 25, 2013, 03:52:51 PM »

Quick remark on the script versions that nyet and maZer.GTi did for IDA 6.x and higher:

They apparently are targeted towards the Qt GUI version of IDA. (idaq.exe)
Unfortunately I did not find a way to make AutoIT send the "alt" key commands properly on Qt based GUIs. At least on my System with Win7 64 Bit.
I tried for some time even with a very simple test script, nothing seems to work. It properly sets the focus to the IDA GUI window, then the script just stops.

Workaround:
Rewrite the AutoIT script, so that it works with the original IDA Gui. (idag.exe)
Of course that will only work for IDA versions that still ship with the old style GUI.

If anyone has any clue why the Qt GUI version acts so weird when AutoIT is involved, please let me know.


Logged
prj
Hero Member
*****

Karma: +1072/-481
Offline Offline

Posts: 6037


« Reply #33 on: January 31, 2014, 03:58:08 PM »

My script is for idag.exe
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
B234R
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 75


« Reply #34 on: January 31, 2014, 05:17:19 PM »

Yes, idag.exe works with AutoIT.
I modified the scripts to make it work.
Logged
prj
Hero Member
*****

Karma: +1072/-481
Offline Offline

Posts: 6037


« Reply #35 on: January 31, 2014, 05:41:27 PM »

It works for me without modification.

The issue is there are many versions of IDA floating out there, and everyone is using a different one.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
prj
Hero Member
*****

Karma: +1072/-481
Offline Offline

Posts: 6037


« Reply #36 on: March 19, 2014, 03:12:13 PM »

Updated and fixed up script for use with idaq.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
dave926
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 36


« Reply #37 on: December 16, 2014, 11:18:07 PM »

I am not doing something right, only getting ~15 segments lol
Logged
dave926
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 36


« Reply #38 on: December 17, 2014, 08:46:16 PM »

I am not doing something right, only getting ~15 segments lol

Once I 'Load ROM', after it does the initial analyzing when I click on 'Load Flash' nothing happens.

Disassembly is well beyond what I understand, but I need to start somewhere.
Logged
lsalt100
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 12



« Reply #39 on: January 01, 2015, 05:13:31 PM »

dear friends

thanx for loadbin_idaq.au3.
I found that my button LOAD ECU to load RAM variables in IDA 6.1 works only after this correction on line192/col54 .a3u file.


Func SetVarName($name, $addr)
   Send("MakeNameEx(" & $addr & ", """ & $name & """,, 0x01){ENTER}")
EndFunc

maybe help to someone....


I try to disassemble
me7.1
022906032EM
ecu: 0261 208 440
sw : 1037 368 653
due to correct .xdf, but still no luck ;-(


Logged

ford galaxy 2,8 V6 LPG (2004)
gt-innovation
Sr. Member
****

Karma: +60/-91
Offline Offline

Posts: 449


« Reply #40 on: November 16, 2015, 06:35:22 AM »

Once I 'Load ROM', after it does the initial analyzing when I click on 'Load Flash' nothing happens.

Disassembly is well beyond what I understand, but I need to start somewhere.

Close script and open again and press load flash.
Logged
prj
Hero Member
*****

Karma: +1072/-481
Offline Offline

Posts: 6037


« Reply #41 on: November 27, 2015, 06:25:15 PM »

Script needs update for IDA Pro 6.5 most likely.

I seldom use it anymore though, as I have written some python functions for IDA to do what this script does, except much quicker.
When it is in a shape to be released I'll do so.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
hackish
Full Member
***

Karma: +1/-1
Offline Offline

Posts: 56


« Reply #42 on: December 22, 2015, 12:29:37 PM »

Interesting way to do an IDA script. I've never used autoit before but I've given it a go with the latest IDA. Well actually a no-go. I think they changed the main window type.

I suppose I could write a real IDA script to do this but is there something I'm overlooking that autoit can do and the internal scripting language can't?
Logged
prj
Hero Member
*****

Karma: +1072/-481
Offline Offline

Posts: 6037


« Reply #43 on: December 27, 2015, 05:54:41 PM »

I suppose I could write a real IDA script to do this but is there something I'm overlooking that autoit can do and the internal scripting language can't?
No.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #44 on: December 27, 2015, 08:54:47 PM »

No.

It can be done to shift segments etc not sure about the super speed disam (brill)  might be in the user guide.
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
Pages: 1 2 [3] 4 5
  Print  
 
Jump to:  

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