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 Sat, Mar-02-2013, 10:06:31 PM   #2131
chris325ix
Registered User
 
Join Date: Jan 2012
Posts: 861
Reputation: 0 chris325ix is on a distinguished road

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

Quote:
Originally Posted by hakentt-mss54 View Post
What type of sockets do you have can you post a photo?
the flat/slider style. I posted a pic a few pages back.

the other thing holding me back is error #150. still not sure why that is showing up. I wonder what will happen if I delete that..
Jump to top chris325ix is offline   Reply With Quote
Sponsored Links
Register now and remove these ads
Old Sun, Mar-03-2013, 06:41:01 AM   #2132
terraphantm
Moderator
 
Join Date: Dec 2010
Posts: 11,148
In the garage:
Reputation: 11 terraphantm is on a distinguished road
Location: Philadelphia

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

Quote:
Originally Posted by carpediem View Post
I agree! Tunerpro will actually also do checksums. There is a checksum function in it but you have to know how it is calculated and add the equation into it. I don't know how to do it but it would make life easy to figure this out and put our efforts into building a xdf collectively as this will be the end product we are looking for. By doing it in other ways and then redoing it into an xdf just duplicates work. We can skip winols fully.

I think we need to make 3 xdf's in total, one for the latest MSS54 (7837941), one for MSS54HP (7837805) and one for the common MSS54HP CSL (7834981). I know that these are not the actual latest programs but they are the latest that include software for all the countries. There are newer USA only versions but if we only work on these we will exclude the effort from members like me who are not in the USA and also they will be of no use for those American boys that want to run euro software like SA861...

I am good with making XDFs but it still takes a long time. I am happy to give some quick start instructions on how to make entries in the xdf files. All you need to know is this:
-name of table
-hex address of data start
-8 or 16 bit data
-#row/#columns
-hex address of start of axis labels and 8 or 16 bit
-any conversion factors of data or labels

I am happy to add entries into an xdf if you want to send me this info and I can post regular updates of the XDFs.
I could be missing something, but I'm not seeing how to do it with TunerPro. The included checksum plugin doesn't seem to be capable of generating CRC16s, which are required for the MSS5x DMEs. Also doesn't seem to be capable or rearranging the data to generate the checksum as required for the MSS54HP.

I don't think we can build a plugin without having access to their SDK
__________________
Jump to top terraphantm is offline   Reply With Quote
Old Sun, Mar-03-2013, 01:06:15 PM   #2133
p0lar
Naturally Agitated
 
p0lar's Avatar
 
Join Date: Sep 2005
Posts: 3,553
In the garage:
Reputation: 0 p0lar will become famous soon enough

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

Quote:
Originally Posted by terraphantm View Post
I don't think we can build a plugin without having access to their SDK
I'm having the same experience. I wrote an eMail, we'll see how involved it is. I also sent a message to the MSS52 checksum owner as well.

Edit: Scratch that!!! I think I just found a way. It will still require an external 'module' - aka software, but I also found a way to compile my perl code into a self-contained executable for windows.

If you go into Tools -> Custom Tools -> Edit Custom Tools..., then click on 'New', we can push the bin to an external script (or executable in this case) and it will return a .bin file. Since my perl script is already written to do exactly that, it just needs to be compiled.

The latest iteration is actually quite advanced in terms of recognition and command line switches.

Code:
./checksum.pl -i=modified_binary.bin -o=corrected_binary.bin
-or-

Code:
./checksum.pl -i=modified_binary.bin --writeover
That will simply correct the checksums inline. It doesn't matter if it's a MSS50, MSS52 or MSS54/HP, it works on all of them. Why couldn't we simply use that instead?

Last edited by p0lar; Sun, Mar-03-2013 at 01:13:21 PM.
Jump to top p0lar is offline   Reply With Quote
Old Sun, Mar-03-2013, 03:22:25 PM   #2134
p0lar
Naturally Agitated
 
p0lar's Avatar
 
Join Date: Sep 2005
Posts: 3,553
In the garage:
Reputation: 0 p0lar will become famous soon enough

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

How to add E36 M3, E39 M5, and E46 M3 checksum correction to TunerPro v5.00.8075 (current as of this post):
  1. Download checksum.exe (unary Windows binary checksum correction command line tool for all aforementioned platforms)
  2. I placed it on the desktop, you can place it wherever you like, as long as you point to it correctly in the Custom Tools definition.
  3. Open TunerPro, open the proper XDF, open your binary calibration file, make the desired edits, and then save your binary file.
  4. Click on Tools -> Custom Tools -> Edit Custom Tools...

  5. Click New


  6. Under Menu Text, enter 'MSS50/MSS52/MSS54/MSS54HP Checksum Correction'
  7. Under Tool Path, click Browse, and point to the downloaded checksum.exe executable
  8. Under Cmd Line Params, enter exactly as follows:
    Code:
    -i="$(CurBinPath)" -s -w

  9. Click OK
  10. Click Apply

  11. Click OK
  12. Now Click Tools -> Custom Tools -> MSS50/MSS52/MSS54/MSS54HP Checksum Correction

A small black box will open, execute the tool with the included path to your binary, and subsequently close. Your file will be corrected inline, which is to say that your saved .bin file will now have corrected checksums and be ready to flash.

It should go without saying, but if you make more changes in TunerPro thereafter, the checksums will no longer be correct and you will need to run the tool again.

THIS IS BETA!!! PLEASE VERIFY BEFORE USING IN PRODUCTION.

Last edited by p0lar; Sun, Mar-03-2013 at 04:19:00 PM.
Jump to top p0lar is offline   Reply With Quote
Old Sun, Mar-03-2013, 05:06:34 PM   #2135
MartynT
Registered User
 
MartynT's Avatar
 
Join Date: Aug 2012
Posts: 576
In the garage:
Reputation: 0 MartynT is on a distinguished road

United Kingdom




Default Re: Comprehensive MSS54/MSS54HP DME Information

Great work Steph
Jump to top MartynT is online now   Reply With Quote
Old Sun, Mar-03-2013, 05:09:01 PM   #2136
SliM3
Registered User
 
SliM3's Avatar
 
Join Date: May 2012
Posts: 2,619
In the garage:
Reputation: 0 SliM3 is on a distinguished road
Location: Atlanta

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

Forget WinOLS.

Great work p0lar
__________________

///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 Sun, Mar-03-2013, 05:16:04 PM   #2137
p0lar
Naturally Agitated
 
p0lar's Avatar
 
Join Date: Sep 2005
Posts: 3,553
In the garage:
Reputation: 0 p0lar will become famous soon enough

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

For the love of motorsports, gents - do test before putting this into production, though!

Suggestions are welcome too... the code is easy to modify and recompile. I used three tools (plus my script):
Simply download and install Strawberry Perl, then go to the Start Menu -> Strawberry Perl -> Tools -> CPAN Client.

type:
Code:
install Digest::CRC
install PAR::Packer
That step will take a while, and loads of text will fly by.

Then go to the directory where you saved my perl checksum calculation/correction script and type in a command prompt:
Code:
pp -o checksum.exe checksum.pl
That was all it took - in all fairness, it was so easy it wasn't funny, look at the timestamps between the conjecture and results. :o It was staring us in the face the whole time. I actually caught a pretty serious bug in the write routine by converting the script to windows compatibility, so overall, it was a good endeavour.

Last edited by p0lar; Sun, Mar-03-2013 at 05:23:16 PM.
Jump to top p0lar is offline   Reply With Quote
Old Sun, Mar-03-2013, 06:41:23 PM   #2138
smooth11981
Registered User
 
Join Date: Dec 2012
Posts: 251
Reputation: 0 smooth11981 is on a distinguished road
Location: Phoenix

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

Very nice work!

Chris>Shoot me an email. That wouldn't be a software fault, but it would have told you if there was an error response from the DME during the process.
Jump to top smooth11981 is offline   Reply With Quote
Old Sun, Mar-03-2013, 06:53:07 PM   #2139
m3new
Banned
 
Join Date: Sep 2011
Posts: 646
Reputation: 0 m3new is on a distinguished road

United States




Default Re: Comprehensive MSS54/MSS54HP DME Information

TAP....


Chant XDFS.......XDFS.......XDFS!!!!

Bring it onnnnn!!!
Jump to top m3new is offline   Reply With Quote
Old Sun, Mar-03-2013, 08:56:01 PM   #2140
tap
Registered User
 
Join Date: Dec 2012
Posts: 258
Reputation: 0 tap is on a distinguished road
Location: SoCal

United States




Default

Wow! Nice work.

Sent from my PG86100 using Tapatalk 2
Jump to top tap 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 04:35:50 PM.


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 Comprehensive MSS54/MSS54HP DME Information 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)