BMW M3 Forum
BMW M3 Forum BMW M3 Gallery BMW M3 Reviews BMW M3 Social Groups BMW M3 Chat M3Forum Sponsors >>
Loading


Mobile M3forum
Go Back   BMW M3 Forum.com (E30 M3 | E36 M3 | E46 M3 | E92 M3 | F80/X) > BMW M3 Discussions > E46 M3 (2001-2006) > Coding and Tuning
Tire Rack Buy Winter Tires Now!
Not a member? Register Now!
Register Gallery All Albums Garage Search Today's Posts Mark Forums Read Calendar FAQ

Coding and Tuning Discuss all avenues of coding and tuning here!


Reply
 
Thread Tools Display Modes
Old Mon, Feb-15-2016, 09:52:52 PM   #1
ac427
Registered User
 
Join Date: Jun 2008
Posts: 470
Reputation: 0 ac427 is on a distinguished road
Location: London

United Kingdom




Default Generating full and partial ECU tunes from daten files

I would like to generate the OEM CSL binary from the original BMW utilities.

I could just download the CSL file from Paffy's site but i would like to know how to compile the binary for my own knowledge.

Do i just need the BMW utilities and the latest daten files to do it?
Jump to top ac427 is offline   Reply With Quote
Sponsored Links
Register now and remove these ads
Old Tue, Feb-16-2016, 07:22:21 AM   #2
NZ_M3
Registered User
 
Join Date: Apr 2005
Posts: 759
Reputation: 0 NZ_M3 will become famous soon enough





Default Re: Generating full and partial ECU tunes from daten files

Which version do you need!?? I can create every single version you want with a generic vin number and no ews info and perhaps post the lot up for everyone??
Jump to top NZ_M3 is online now   Reply With Quote
Old Tue, Feb-16-2016, 12:35:32 PM   #3
paulclaude
Registered User
 
paulclaude's Avatar
 
Join Date: Dec 2014
Posts: 388
Reputation: 0 paulclaude is on a distinguished road

Scotland




Default Re: Generating full and partial ECU tunes from daten files

Quote:
Originally Posted by NZ_M3 View Post
Which version do you need!?? I can create every single version you want with a generic vin number and no ews info and perhaps post the lot up for everyone??
Sounds good

I would also be interested in knowing how these are generated from the datens though.
Jump to top paulclaude is online now   Reply With Quote
Old Tue, Feb-16-2016, 12:47:17 PM   #4
cossie1
Registered User
 
Join Date: Dec 2013
Posts: 454
Reputation: 0 cossie1 is on a distinguished road

United Kingdom




Default Re: Generating full and partial ECU tunes from daten files

and me
Jump to top cossie1 is offline   Reply With Quote
Old Tue, Feb-16-2016, 03:15:40 PM   #5
SliM3
Registered User
 
SliM3's Avatar
 
Join Date: May 2012
Posts: 2,564
In the garage:
Reputation: 0 SliM3 is on a distinguished road
Location: Atlanta

United States




Default Re: Generating full and partial ECU tunes from daten files

Populating a tune from daten files is pretty easy, but paffy's file includes the specific boot sector for CSL; which is why you couldn't use WinKFP for the flash process.

For the longest time we had no access to a CSL DME boot sector until the guys cracked it. As big, and somewhat unorganized as that mega thread is, we got into this a couple years back. A lot of "prerequisites" had to come to fruition, and the stigma that the DME could never be hacked by non-tuners dismissed.

I took so many notes back then it's ridiculous, but here's a "cliff notes" excerpt from one of terra's posts concerning the data/program section breakdown, circa 2013

Quote:
0x0-0x3FFFF in the 0PA matches 0x10000-0x4FFFF in master (1st half of full dump). -- I should note that 0x31A67-0x3FFFF (or 0x41a67-0x4ffff in the actual dump) is blank anyway (by blank, I mean sea of FFs)

0x40000-0x7FFFF in the 0PA matches 0x10000-0x4FFFF in the slave (2nd half of full dump)

Corresponding data sections occupy 0x8000-0xFFFF in each half.

To summarize the master:
0x0-0x3FFF is the bootloader. <<<< this was the missing link to run CSL SW
0x4000-0x4800 is FF.
0x4800-0x4878(?) is the flash counter.
0x4878(?)-0x5D11 = FF
0x5D12 - ~0x8000 = AIF, VIN, possibly EWS and other identifying info
0x8000-0xFFFF = data section
0x10000-0x4FFFF = Program
0x4FFFF-0x7FFFF = FF


I haven't taken a close look at the second half yet, but I expect it to be similar.


Armed with this knowledge, I'm reasonably assured we can adapt other full dumps to run on our own DMEs without worrying about EWS. For an MSS54HP, replace 0x0-0x4000, 0x8000-0x4FFFF, 0x80000-0x84000, and 0x88000-0xFFFFF with the corresponding sections of the donor dump. (0x0-0x4000 and 0x80000-0x84000 should only differ between MSS54HP and MSS54HPCSL). Leaving the rest alone *should* leave EWS, VIN, UIF, etc... intact. Probably best to clear adaptions before actually starting the car/
__________________

///M3 '06 Carbon Black

DEMOCRACY is two wolves and a lamb voting on what to have for lunch.
LIBERTY is a well-armed lamb contesting the vote.
-Benjamin Franklin


- Checksum corrections for modified DME partial & full bin files

- CSL SMG Engine Parameters (DME) by Slim

- Fuel adaptations explained

- Checksum Verification
Jump to top SliM3 is offline   Reply With Quote
Old Tue, Feb-16-2016, 06:29:49 PM   #6
terraphantm
Moderator
 
Join Date: Dec 2010
Posts: 11,292
In the garage:
Reputation: 11 terraphantm is on a distinguished road
Location: Philadelphia

United States




Default Re: Generating full and partial ECU tunes from daten files

^ One thing that should be amended is that the ISN is located at 3FE4 (or maybe 3FE6) on the slave. Didn't figure that out initially since OBD reads omit the ISN
__________________
Jump to top terraphantm is offline   Reply With Quote
Old Wed, Feb-17-2016, 04:57:06 AM   #7
NZ_M3
Registered User
 
Join Date: Apr 2005
Posts: 759
Reputation: 0 NZ_M3 will become famous soon enough





Default Re: Generating full and partial ECU tunes from daten files

Here are all the versions and the links to download the full bins I created.

VIN is set as WBSBL12345AB12345 and there are no EWS sync data on it whatsoever - easily corrected in the bin or via tool32

Japan version

- 7837336 (7837337) - standard Jap version software
https://mega.nz/#!k5VkjI7I!TxGHMyBqL...jEFbNmMf23T5k8
- 7837338 (7837339) - v-max unregulated
https://mega.nz/#!EgVhwaDK!aDS7r8fbc..._dy_PsCgX_tTSw

EOBD Variants

- 7837328 (7837329) - standard EOBD version
https://mega.nz/#!4t9UFI5J!RJpI2mQAx...xI_IALer_fpL-8
- 7837330 (7837331) - EOBD v-max unregulated
https://mega.nz/#!RwUXgbKb!48-0tmd6V...J1knn-oVQC5GBQ

Data Record without EOBD variants

- 7837332 (7837333) - standard non EOBD version
https://mega.nz/#!Mkd0EKRY!f5vatNe_u...BLWiSDh7jGWYoU
- 7837334 (7837335) - v-max unregulated
https://mega.nz/#!QxNBAQwB!6OEYRCRmn...rSDbnApIM499lU

Last edited by NZ_M3; Wed, Feb-17-2016 at 06:56:10 AM.
Jump to top NZ_M3 is online now   Reply With Quote
Old Wed, Feb-17-2016, 09:38:39 AM   #8
terraphantm
Moderator
 
Join Date: Dec 2010
Posts: 11,292
In the garage:
Reputation: 11 terraphantm is on a distinguished road
Location: Philadelphia

United States




Default Re: Generating full and partial ECU tunes from daten files

Hmm. Just compared the Japanese and EOBD variants, and they are nearly bit for bit identical. Only the version string and checksum differ.
__________________
Jump to top terraphantm is offline   Reply With Quote
Old Wed, Feb-17-2016, 09:41:59 AM   #9
cossie1
Registered User
 
Join Date: Dec 2013
Posts: 454
Reputation: 0 cossie1 is on a distinguished road

United Kingdom




Default Re: Generating full and partial ECU tunes from daten files

Quote:
Originally Posted by terraphantm View Post
Hmm. Just compared the Japanese and EOBD variants, and they are nearly bit for bit identical. Only the version string and checksum differ.
I did the same with all delimited versions.

Minimal differences between all 3.
Jump to top cossie1 is offline   Reply With Quote
Old Wed, Feb-17-2016, 11:29:30 AM   #10
ac427
Registered User
 
Join Date: Jun 2008
Posts: 470
Reputation: 0 ac427 is on a distinguished road
Location: London

United Kingdom




Default Re: Generating full and partial ECU tunes from daten files

Quote:
Originally Posted by NZ_M3 View Post
Here are all the versions and the links to download the full bins I created.

VIN is set as WBSBL12345AB12345 and there are no EWS sync data on it whatsoever - easily corrected in the bin or via tool32

Japan version

- 7837336 (7837337) - standard Jap version software
https://mega.nz/#!k5VkjI7I!TxGHMyBqL...jEFbNmMf23T5k8
- 7837338 (7837339) - v-max unregulated
https://mega.nz/#!EgVhwaDK!aDS7r8fbc..._dy_PsCgX_tTSw

EOBD Variants

- 7837328 (7837329) - standard EOBD version
https://mega.nz/#!4t9UFI5J!RJpI2mQAx...xI_IALer_fpL-8
- 7837330 (7837331) - EOBD v-max unregulated
https://mega.nz/#!RwUXgbKb!48-0tmd6V...J1knn-oVQC5GBQ

Data Record without EOBD variants

- 7837332 (7837333) - standard non EOBD version
https://mega.nz/#!Mkd0EKRY!f5vatNe_u...BLWiSDh7jGWYoU
- 7837334 (7837335) - v-max unregulated
https://mega.nz/#!QxNBAQwB!6OEYRCRmn...rSDbnApIM499lU
Thanks NZ_M3. How did you generate these files though ?

Sorry for being thick but what is the difference between Data Record with and without with EOBD ?

Last edited by ac427; Wed, Feb-17-2016 at 11:33:17 AM.
Jump to top ac427 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 09:22:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
M3Forum.com and M3forum.net is in no way sponsored, endorsed or affiliated by or with BMW NA / BMW AG or any of it's subsidiaries or vendors.
BMW and M3 (E90 M3 | E92 M3 | E93 M3 | E46 M3 | E36 M3 | E30 M3) are registered trademarks of BMW AG.
M3Forum Terms of Service
Copyright 1999-2017 M3Forum.com
Discussing Generating full and partial ECU tunes from daten files in the Coding and Tuning Forum - Discuss all avenues of coding and tuning here! at BMW M3 Forum.com (E30 M3 | E36 M3 | E46 M3 | E92 M3 | F80/X)