Pages: [1]
Author Topic: a2l for MED9.1  (Read 9491 times)
Basano
Full Member
***

Karma: +90/-3
Offline Offline

Posts: 192


« on: September 17, 2014, 07:57:06 AM »

Hello NefMoto friends,

Can anyone help with an .a2l for the below?

Audi S3 8P MY2008
MED9.1
8P0907115H
0261S02342
387951

As I’ve been learning, I’ve been collecting addresses from various places (comparisons against defined bins, disassembly in IDA, plain old guesswork etc).  I wanted to get this all down in one place and format that I could easily update and since the a2l is in text format, it was neat and simple. I took one of the generic 2.0 TFSI .a2l files on here and deleted all but the maps I was interested in. Then I updated the addresses therein  to match the maps in my own bin and imported the result into WinOLS (I tend to use the 3.xx demo version of WinOLS for day to day stuff and just use the 2.24 version for checksums, .a2l imports and .kp exports). It’s a work in progress.

All I’m using the .a2l for is an input to WinOLS, but obviously there is a lot more to it than just that. There’s an excellent a2l browser that I discovered as well.

However, I was particularly intrigued by the measurements section towards the bottom of the .a2l file. I noticed that this contained the RAM addresses of items like nmot_w, zwout etc. All the RAM variables in fact.

Here’s nmot_w as an example

Code:
/begin MEASUREMENT

    nmot_w
    "Motordrehzahl"
    UWORD
    nmot_uw_q0p25
    1
    100
    0.00
    10000.00

    
    FORMAT "%8.2"
    
    ECU_ADDRESS 0x8035DC
    /begin IF_DATA ASAP1B_CCP KP_BLOB 0x00 0x8035DC 2 /end IF_DATA
    /begin IF_DATA ASAP1B_ADDRESS  KP_BLOB 0x8035DC /end IF_DATA
    /begin IF_DATA ETK  KP_BLOB 0x8035DC INTERN 0x2 /end IF_DATA
    /begin IF_DATA ASAP1B_KWP2000  KP_BLOB  0x8035DC  INTERN  0x2  /end IF_DATA

/end MEASUREMENT

I have my Arduino ram logger that I use for logging and I’d love to have an .a2l file with all the RAM locations predefined! If anyone can share, I’d be most grateful.

I’ve also wondered if this is how ME7logger gets the ram locations Huh

Attached is the original bin and a generic example .a2l (they don’t match, which is what this post is about).

Many thanks
« Last Edit: September 17, 2014, 08:01:36 AM by Basano » Logged
Basano
Full Member
***

Karma: +90/-3
Offline Offline

Posts: 192


« Reply #1 on: September 17, 2014, 08:03:44 AM »

Sorry, the 12Mb generic .a2l keeps timing out on the upload...
Logged
ddillenger
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #2 on: September 17, 2014, 08:30:51 AM »

I think I have the bin to that a2l if that helps. I just can't find the a2l. Upload it and I will verify Smiley
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
Basano
Full Member
***

Karma: +90/-3
Offline Offline

Posts: 192


« Reply #3 on: September 17, 2014, 08:51:41 AM »

Thanks D,

I don't know why I didn't think to zip it up before ?

Attached is the generic .a2l.

I think it's a very common one that's been around here for a while. It also appeared in the big damos pack that was going around a couple of weeks ago.

I just wish the a2l for my particular bin had been in it :-(
Logged
ddillenger
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #4 on: September 17, 2014, 05:55:44 PM »

Here is the bin that matches that A2L.

Can you share your IDA settings please? Even if in private Tongue
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
Basano
Full Member
***

Karma: +90/-3
Offline Offline

Posts: 192


« Reply #5 on: September 18, 2014, 01:47:50 AM »

Is this what you are after?

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

Logged
neuro
Full Member
***

Karma: +24/-9
Offline Offline

Posts: 73


WWW
« Reply #6 on: November 15, 2014, 11:51:35 PM »

MAP FOUND: KFMIOP 11x16 @ 0x1CD0C8
MAP FOUND: KFZWOP1 11x16 @ 0x1CD228
MAP FOUND: KFZWOP2 11x16 @ 0x1CD2D8
MAP FOUND: KFZWOP3 11x16 @ 0x1CD388
MAP FOUND: KFZWOP4 11x16 @ 0x1CD438
MAP FOUND: KFZWOP5 11x16 @ 0x1CD4E8
MAP FOUND: KFZW 12x16 @ 0x1C8484
MAP FOUND: KFZW2 12x16 @ 0x1C8544
MAP FOUND: KFZW3 12x16 @ 0x1C8604
MAP FOUND: KFZW4 12x16 @ 0x1C86C4
MAP FOUND: KFZW5 12x16 @ 0x1C8784
MAP FOUND: KFZW6 12x16 @ 0x1C8844
MAP FOUND: KFMIRL 12x16 @ 0x1CC9A0
MAP FOUND: KFFDLBTS 12x16 @ 0x1D41EC
MAP FOUND: KFLBTS 12x16 @ 0x1D42AC
MAP FOUND: KFLBTSLBK0 12x16 @ 0x1D436C
MAP FOUND: KFLBTSLBK1 12x16 @ 0x1D442C
MAP FOUND: KFLBTSLBK2 12x16 @ 0x1D44EC
MAP FOUND: KFLBTSLBK3 12x16 @ 0x1D45AC
MAP FOUND: KFLBTSLBK4 12x16 @ 0x1D466C
MAP FOUND: KFLBTSLBK5 12x16 @ 0x1D472C
MAP FOUND: KFLBTSLBK6 12x16 @ 0x1D47EC
MAP FOUND: KFPZU 8x8 @ 0x1C9DC9
MAP FOUND: KFPZU2 8x8 @ 0x1C9E09
MAP FOUND: KFMDBGRK 4x4 @ 0x1DE0AE
MAP FOUND: LAMFA 6x15 @ 0x1D6886
MAP FOUND: LAMFA2 6x15 @ 0x1D68FE
MAP FOUND: LAMFA3 6x15 @ 0x1D6976
MAP FOUND: KFLDHBN 8x8 @ 0x1CECE8
MAP FOUND: KFVPDKLD 12x10 @ 0x1CE0CC
MAP FOUND: KLDLUL 8x1 @ 0x1CE158
MAP FOUND: KFLDIMX 8x16 @ 0x1CEF64
MAP FOUND: KFLDRL 10x16 @ 0x1CF064
MAP FOUND: LDRXN 1x16 @ 0x1CED4A
MAP FOUND: LDRXNZK1 1x16 @ 0x1CED8C
MAP FOUND: LDRXNZK2 1x16 @ 0x1CEDCE
MAP FOUND: LDRXNZK3 1x16 @ 0x1CEE10
MAP FOUND: LDRXNZK4 1x16 @ 0x1CEE52
MAP FOUND: LDRXNZK5 1x16 @ 0x1CEE94
MAP FOUND: NMAXDVG 1x30 @ 0x1DE1DE
MAP FOUND: NMAX 1x1 @ 0x1CA86A
MAP FOUND: NMAXF 1x1 @ 0x1DDF66
MAP FOUND: DNMAXH 1x1 @ 0x1C9C42
MAP FOUND: CDKAT 1x1 @ 0x1DCEAC
MAP FOUND: CWDLSAHK 1x1 @ 0x1D5E6A
MAP FOUND: CDHSH 1x1 @ 0x1DCEA8
MAP FOUND: CDHSHE 1x1 @ 0x1DCEA9

double check map because  they may have fault in multiple map like ldrx
Logged
Pages: [1]
  Print  
 
Jump to:  

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