Bosche ME7.2 Can anyone give me some insight on how my a2l / Damos / OLS files work exactlyq

Discuss Bosch (Porsche, BMW, Volvo, etc) tuning topics here. Request definitions, discuss parameters, etc.

Moderators: robertisaar, dex

Post Reply
zarboz
Posts: 8
Joined: Mon Jan 28, 2019 12:41 pm

Bosche ME7.2 Can anyone give me some insight on how my a2l / Damos / OLS files work exactlyq

Post by zarboz »

I have done lots of reading and am trying to setup an XDF by using my a2l file and ASAP2

Here is the github I am hosting my files at:
https://github.com/zarboz/BMW-XDFs

I am working with an a2l/.hex file located here
https://github.com/zarboz/BMW-XDFs/blob ... A0_000.a2l

https://github.com/zarboz/BMW-XDFs/blob ... 52r3yx.hex


When I am browsing in this a2l file I find the things I would like to setup inside my .xdf file as well as memory locations the underlying issue for me is that I cannot match the memory offset listed in the a2l to a memory offset within the .bin file that is the full read dump (I have also attempted to look in the 64kb sized dumps which are the partial dumps via galletto)



So here is my inquiry:

When I am in the a2l file I find a subsection like this

Code: Select all

/begin CHARACTERISTIC TVUB
			"Spannungskorrektur"
			CURVE
			0x81591E
			KlAUbSstUbWUw
			209.712
			tinjection_sy
			0 209.712
			FORMAT "%8.4"
			/begin IF_DATA ETK  DP_BLOB 0x81591E  0x10
			/end IF_DATA
			/begin AXIS_DESCR
				STD_AXIS
				ub
				spg_ubatt
				5
				0 24.02
				FORMAT "%5.2"
				DEPOSIT ABSOLUTE
			/end AXIS_DESCR
		/end CHARACTERISTIC
I can see the address definition of 0x81 59 1E
But in both 64kb and 512kb .bin files I dont have an offset 0x81 59 1E

How am I to correlate this offset > xdf in order to get the proper location in the .bin file

I have other measurements within the a2l file that have offsets that do in fact exist within a .bin (64kb and 512kb versions) but only match to FF within both .bin versions that I have access to. Example below:

Code: Select all

/begin MEASUREMENT TVUB_R
			"EV-Spannungskorrektur"
			UWORD
			TEQL
			1 100
			0 209.712
			FORMAT "%8.4"
			ECU_ADDRESS 0xF964
			/begin IF_DATA ASAP1B_ADDRESS  KP_BLOB 0xF964
			/end IF_DATA
			/begin IF_DATA ETK  KP_BLOB 0xF964 0x0 0x2
			/end IF_DATA
			/begin IF_DATA ASAP1B_MCMESS
				/begin KP_BLOB 0xF964 INTERN 0x2
				/end KP_BLOB
			/end IF_DATA
		/end MEASUREMENT

is the a2l file calculating its offsets differently?

are these offsets of affected memory not edited memory????

any guidance would be greatly welcomed
zarboz
Posts: 8
Joined: Mon Jan 28, 2019 12:41 pm

Re: Bosche ME7.2 Can anyone give me some insight on how my a2l / Damos / OLS files work exactlyq

Post by zarboz »

the offsets listed in the memory are in active ROM memory

ROM starts at 0x800000 OR at 0x810000

therefore subtract ROM from offset mentioned in a2l and you SHOULD have a location

in my BIN file the locations were not all EXACTLY precise so I adjusted accordingly
Post Reply