Pages: 1 ... 3 4 [5] 6 7 ... 11
Author Topic: ASM based map locator platform  (Read 141377 times)
prj
Hero Member
*****

Karma: +1067/-476
Offline Offline

Posts: 6004


« Reply #60 on: November 22, 2012, 02:02:13 AM »

The only thing unique for the PROKON codewords is the word variable and the bit value, generally.

My suggestion was to use a pattern to locate the bit (B_cdxxx), then search for the codeword pattern and match RAM address/ bit value to confirm codeword. Or something along those lines. I haven't gotten the chance to play with your utility yet, so I don't really know if this is feasible.

Ok, so you want to locate a certain location, and then use the address as part of another pattern?
So let's say you find B_CDXXX, say you get two bytes 0x5467 (random pick), and you want to include these in the main pattern literally?
This could be done.
Logged

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

Karma: +1067/-476
Offline Offline

Posts: 6004


« Reply #61 on: November 22, 2012, 05:52:02 AM »

I have pushed a new version.

The lookup of patterns is now multithreaded.
This is the operation that always takes the longest, and it will get worse as more patterns are added.

Now all patterns are pre-cached via a thread pool, and already there is a small performance increase.
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 #62 on: October 07, 2013, 04:52:08 AM »

I'd like to contribute to the XML library.

prj do you have the screens from the original xml explanation post?  I'm fairly new to IDA and those will help me understand the process.

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
prj
Hero Member
*****

Karma: +1067/-476
Offline Offline

Posts: 6004


« Reply #63 on: October 09, 2013, 01:37:13 AM »

I don't think I have them unfortunately Sad
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 #64 on: October 13, 2013, 02:10:15 AM »

Hi Prj,

That's a pity.
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
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #65 on: December 01, 2013, 02:33:16 PM »

Hello prj.  Progress has been made.

The offsets on Volvo are different.  Map address is not offset by 0x80000 like in vag, it's 0.

Anyway, is there a quick hack to tell the software not to apply the vag offset?  I'm hoping to avoid java/maven witchcraft Smiley
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
ddillenger
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #66 on: December 01, 2013, 06:10:47 PM »

CDHSH XML attached. HSHE is right after HSH in pretty much every binary, so 2 for 1 here.
Logged

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 experience!

Email/Google chat:
DDillenger84(at)gmail(dot)com

Email>PM
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #67 on: December 02, 2013, 02:18:00 AM »

CDHSH XML attached. HSHE is right after HSH in pretty much every binary, so 2 for 1 here.

Hi,

Thanks for taking the time but you got the wrong end of the stick, probably my explanation.  Volvo's bin's do not need offset like VAG so the calcs are wrong on Volvo bins.

Stunning software though prj, well done!!
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
ddillenger
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #68 on: December 02, 2013, 05:27:46 AM »

That was for VAG. You bumping the thread just make me think to post it.
Logged

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 experience!

Email/Google chat:
DDillenger84(at)gmail(dot)com

Email>PM
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #69 on: December 02, 2013, 06:02:27 AM »

That was for VAG. You bumping the thread just make me think to post it.

Ah sorry.

You might want to commit that to the github.
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
ddillenger
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #70 on: December 02, 2013, 06:21:44 AM »

dream3r:

I have something that might help you. It works by referencing a library of files against one you have chosen (and provided the address for the map/variable you are searching), and looking for a pattern that applies to ALL of them. It's cmd line of course. You're going to have to email me with some similar binaries and a known address so I can verify it'll work for volvo.
Logged

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 experience!

Email/Google chat:
DDillenger84(at)gmail(dot)com

Email>PM
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #71 on: December 02, 2013, 06:26:02 AM »

dream3r:

I have something that might help you. It works by referencing a library of files against one you have chosen (and provided the address for the map/variable you are searching), and looking for a pattern that applies to ALL of them. It's cmd line of course. You're going to have to email me with some similar binaries and a known address so I can verify it'll work for volvo.

That sounds interesting!  I'm going to give compiling this with changes a shot, it looks like it will be able to report memory locations on different bins, which is really what I was hoping it could do, for the logger.  Why recreate the wheel and all that ...

I've got to grips with assembly, thankfully, and am in the process of defining my file and creating a RAM map with IDA Pro.  There's some interesting bits of code for sure.

The really good news is that I think TunnerPro RT is interoperable with my Microcontrller code, which is amazing if it works.  I wrote a basic Rs232 interface for controlling it from Windows and using that it should work...

I'm also working on a J2534 version when time allows.
« Last Edit: December 02, 2013, 06:28:35 AM by dream3R » 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
guitar24t
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 101


« Reply #72 on: December 02, 2013, 09:50:42 AM »

I created a pull request for an update to the Xml plugin to allow correct operation on Volvo binaries.
I've attached the source change here as well, for anyone who wants to compile it. The more testing, the better.

Oh, and I should note that the XML files need to be renamed to .audi.xml and ones for volvo will be named .volvo.xml.
I updated the pull to reflect those changes.
« Last Edit: December 02, 2013, 10:02:49 AM by guitar24t » Logged
guitar24t
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 101


« Reply #73 on: December 02, 2013, 11:27:28 AM »

I created a pull request for an update to the Xml plugin to allow correct operation on Volvo binaries.
I've attached the source change here as well, for anyone who wants to compile it. The more testing, the better.

Oh, and I should note that the XML files need to be renamed to .audi.xml and ones for volvo will be named .volvo.xml.
I updated the pull to reflect those changes.

Here's a compiled version of the software with these changes integrated.
Logged
prj
Hero Member
*****

Karma: +1067/-476
Offline Offline

Posts: 6004


« Reply #74 on: December 04, 2013, 09:25:37 AM »

I need to accept the request, been so busy...
If you want straight out access to the repository as a contributor let me know and I'll add you.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
Pages: 1 ... 3 4 [5] 6 7 ... 11
  Print  
 
Jump to:  

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