Tunerpro automatically calculates checksum? Really?
Moderators: Mangus, robertisaar, dex
-
- Posts: 52
- Joined: Mon Nov 09, 2009 4:57 am
Tunerpro automatically calculates checksum? Really?
I'm a little confused here. I've read that tunerpro automatically corrects the checksum, but I don't see how or where it does so? All the XDFs I've downloaded to check out the Checksum scalar have no 'conversion' calculation in them, so it seems to be primarily a viewer. I'm assuming that I'm off my rocker here, but just in case I'm not...anyone have any info?
I'm primarily working with an older VW management (digi-1) that has no need for checksum correction, but am branching out to Motronic 2.9 (32kb version, 4 cylinder engine not VR6) and am encountering very little info about the checksum I need to calculate. The VR (64kb) file is well documented, and WinOLS has a plugin for it...but the 4 cyl (32kb) file has no such plugin available (WinOLS says nothing available). I haven't tried to work without changing the cks yet, since I don't have a car to test on, but it's better to be prepared.
I'm primarily working with an older VW management (digi-1) that has no need for checksum correction, but am branching out to Motronic 2.9 (32kb version, 4 cylinder engine not VR6) and am encountering very little info about the checksum I need to calculate. The VR (64kb) file is well documented, and WinOLS has a plugin for it...but the 4 cyl (32kb) file has no such plugin available (WinOLS says nothing available). I haven't tried to work without changing the cks yet, since I don't have a car to test on, but it's better to be prepared.
-
- Author of Defs
- Posts: 962
- Joined: Sat Feb 21, 2009 3:18 pm
- Location: Camden, MI
-
- Posts: 52
- Joined: Mon Nov 09, 2009 4:57 am
-
- Author of Defs
- Posts: 962
- Joined: Sat Feb 21, 2009 3:18 pm
- Location: Camden, MI
-
- Posts: 52
- Joined: Mon Nov 09, 2009 4:57 am
This is something that would need to be added. however, your checksum is even more complex. Hopefully we can find a solution down the road.Quattro wrote:Hi there guys,
Howdo you get TP to perform the not function for the checksum , it only does 1's and 2's compliment apart from addition
***************************************
TunerPro Author
1989 Trans Am
TunerPro Author
1989 Trans Am
Hi Mark,
Ok, I get that one, hopefully you can assist with that module for the xor function. How do I disable the checksum during emulation, that is my main problem. Since my checksum resides over two adresses in the form of 16bit and the xor of the checksum in another two adresses . Am I makin sense here ?
Ok, I get that one, hopefully you can assist with that module for the xor function. How do I disable the checksum during emulation, that is my main problem. Since my checksum resides over two adresses in the form of 16bit and the xor of the checksum in another two adresses . Am I makin sense here ?
-
- Posts: 2
- Joined: Fri May 21, 2010 3:00 pm
Lets start out with the 93-95 OBD1golf/jetta chip file.Everybody get it downloaded and we will start here.
http://www.bifpowell.com/motronic/TP,obd12l,stock.dat
Now open up your hex editor(winhex) and open up the file.The first thing we need to do is find the checksum and be able to recalculate it.
The checksum in most motronic chip files is by the file ID tag.This is usually located after most of the code and the maps in the file(we will get to that later).In this case its at CF00 and CF01.The checksum is a 16bit checksum and is the total of the block from 0000-CEFF.If you click edit- define block and type in the 0 for the start of the block and CEFF for the end of the block the hex editor will highlight that part of the chip file.Now you have the block selected to checksum.Click tools-calculate hash.On the drop down pick 16bit and then OK.That will spit out the checksum of the block.You will also notice this matches the locations CF00 and CF01.
http://www.bifpowell.com/motronic/TP,obd12l,stock.dat
Now open up your hex editor(winhex) and open up the file.The first thing we need to do is find the checksum and be able to recalculate it.
The checksum in most motronic chip files is by the file ID tag.This is usually located after most of the code and the maps in the file(we will get to that later).In this case its at CF00 and CF01.The checksum is a 16bit checksum and is the total of the block from 0000-CEFF.If you click edit- define block and type in the 0 for the start of the block and CEFF for the end of the block the hex editor will highlight that part of the chip file.Now you have the block selected to checksum.Click tools-calculate hash.On the drop down pick 16bit and then OK.That will spit out the checksum of the block.You will also notice this matches the locations CF00 and CF01.