xdf in 8 bit and 16 bit for little endian format files

Discuss anything TunerPro related.

Moderators: Mangus, robertisaar, dex

Post Reply
euroe36m3
Posts: 4
Joined: Sat May 01, 2010 12:28 am

xdf in 8 bit and 16 bit for little endian format files

Post by euroe36m3 »

Hi everyone. This is my first post here. I have searched for this but didn't find and answer, so I hope I am not repeating a topic.

I have been using tuner pro free for some time and was able to make a xdf file for a big endian (MSB, the one you can just read normally) partial read of my chip. The data contains pure 16 bit table, table with 16bit axis labels and 8bit data and pure 8 bit table. Everything worked great.

I recently purchased a roadrunner 16bit emulator and started converting my xdf to handle the little endian format (LSB, the one that has each byte pair flipped) of the full chip read. I changed the addresses of the maps to match the full chip read and it worked great when loading a full bin with the MSB format (changed with winendian), but when looking at the native LSB format that will be in the emulator, the data is a bit scrambled (I did click all the LSB boxes). Acctually all the 16bit data is fine (axis labels, constants and 16 data) but all the pairs of 8 bit data are flipped, both with the LSB box clicked and without.

Am I missing something, is there a solution for this?
Please help... and i will let you know how the roadrunner works ones i get it and figure this out.
euroe36m3
Posts: 4
Joined: Sat May 01, 2010 12:28 am

Post by euroe36m3 »

here is a picture of what i am talking about. On the left is what it should be and you can see the graph is smoother. On the right is what I get from a little endian file.

Image
robertisaar
Author of Defs
Posts: 962
Joined: Sat Feb 21, 2009 3:18 pm
Location: Camden, MI

Post by robertisaar »

fixed the link for you...

so from what i understand, did you originally write the XDF incorrectly and now this is an attempt to fix it? i know the intel processors like LSB first and motorolas like MSB first.
euroe36m3
Posts: 4
Joined: Sat May 01, 2010 12:28 am

Post by euroe36m3 »

robertisaar wrote:fixed the link for you...

so from what i understand, did you originally write the XDF incorrectly and now this is an attempt to fix it? i know the intel processors like LSB first and motorolas like MSB first.
Thanks for the link fix.

No, the original xdf is correct, but it was written for a MSB file that I get as a partial read from a galletto 1250. I am trying to make the XDF work for the full chip read which is in LSB. This is the problem, I can't get the tables and graphs to look the same in LSB as they were in MSB. This problerm is only in 8bit data section. You can see that the rows are fliped by pairs so the data does not corespond to the axis labels.

This is for a i28f200BXB chip from the BMW siemens MSS50 ecu for the e36 M3. I want to set it up to use the emulator but for that I need to use LSB so this is why i need a XDF in LSB.
euroe36m3
Posts: 4
Joined: Sat May 01, 2010 12:28 am

Post by euroe36m3 »

I am trying to upload a small sample bin and xdf in both LSB and MSB but I can't figure out how to add attachments. The graph and table in both LSB and MSB should look the same with the right settings but I can't get them to look the same. Can somone please help me?
http://rapidshare.com/files/383150007/s ... e.rar.html
Post Reply