Segment Swap utility
Re: Segment Swap utility
I guess the problem is that crc32 is 4 bytes by default, but somehow displayed only 2 bytes. I am sure it worked in the older versions but have to go back where it got broke.
Re: Segment Swap utility
0.9.16 removed, has bugs.kur4o wrote: I noticed that 4 bytes long checksums are displaying only the last 2 bytes in 0.9.16.
I suggest that the checksum count should be taken from the chechksum address field,
On display only checksum we can add some exception character like $:4:hex
Can you send example XML & bin for testing, where cvn32 displayed wrong ?
Re: Segment Swap utility
In the 0.9.15 the bug was something like this
The display only checksum is set to be crc32 and it displays some zeros in front.
On the v6-98-05.xml mark checksum2 as crc32 and select checksum2 as cvn. That is all I have done.
I believe 9.16 introduced some other problems so I will not comment on it.
Lets start with 9.15 bug.
edit:
checksum2 define address for the v6 xml
0-3FFF,8000-0@
Code: Select all
Autodetect: v6-98-05.xml
09352801.bin (v6-98-05.xml (v 1))
Segments:
OS PN: 9352801 [0000 - 7FFFD], Size: 7FFFE
EEPROM_data[], Size: 0
Checksums:
Checksum 1: 8C80674A [OK] Checksum1: 00005B73
On the v6-98-05.xml mark checksum2 as crc32 and select checksum2 as cvn. That is all I have done.
I believe 9.16 introduced some other problems so I will not comment on it.
Lets start with 9.15 bug.
edit:
checksum2 define address for the v6 xml
0-3FFF,8000-0@
Re: Segment Swap utility
Let's try with this:kur4o wrote:In the 0.9.15 the bug was something like this
The display only checksum is set to be crc32 and it displays some zeros in front.Code: Select all
Autodetect: v6-98-05.xml 09352801.bin (v6-98-05.xml (v 1)) Segments: OS PN: 9352801 [0000 - 7FFFD], Size: 7FFFE EEPROM_data[], Size: 0 Checksums: Checksum 1: 8C80674A [OK] Checksum1: 00005B73
On the v6-98-05.xml mark checksum2 as crc32 and select checksum2 as cvn. That is all I have done.
I believe 9.16 introduced some other problems so I will not comment on it.
Lets start with 9.15 bug.
edit:
checksum2 define address for the v6 xml
0-3FFF,8000-0@
0.9.17 defaults to 4 bytes for display-only checksum
Re: Segment Swap utility
Code: Select all
12201792.bin (v6-98-05.xml (v 1))
Segments:
OS PN: 12201792 [0000 - 7FFFD], Size: 7FFFE
EEPROM_data[], Size: 0
Checksums:
Checksum 1: 270F982B [OK] Checksum2: 61157F24
Re: Segment Swap utility
Really nice work. I haven't tried a file on a PCM yet but everything seems to work great here in XP.
Re: Segment Swap utility
You will really like it. These are the most recent versions of the xml files. Place the content in the xml folder.
Than click on the file info tab select folder with your stock binaries and open the first file. Populate the cvn list and than you can tell if a file is stock simply by opening it.
Than click on the file info tab select folder with your stock binaries and open the first file. Populate the cvn list and than you can tell if a file is stock simply by opening it.
- Attachments
-
- XML.rar
- (12.4 KiB) Downloaded 173 times
Re: Segment Swap utility
Very very cool.
This makes me bring up a tuning question. His original file was modified so I downloaded a stock file to start with and now it looks to be an older OS than his original, maybe I should swappy?
Autodetect: p01-p59.xml
Dave_Vette.bin (p01-p59.xml (v 1))
Segments:
OS PN: 12592425 , Ver: DD, Nr: 1 [20000 - FFFFD], Size: E3FFE
EngineCal PN: 12587919 , Ver: AD, Nr: 2 [8000 - 162CF], Size: E2D0
EngineDiag PN: 12586878 , Ver: AB, Nr: 3 [162D0 - 195FF], Size: 3330
TransCal PN: 12579113 , Ver: AF, Nr: 4 [19600 - 1D8AF], Size: 42B0
TransDiag PN: 12579117 , Ver: AJ, Nr: 5 [1D8B0 - 1E1AF], Size: 900
Fuel PN: 12584410 , Ver: AB, Nr: 6 [1E1B0 - 1F6BF], Size: 1510
System PN: 12585028 , Ver: AC, Nr: 7 [1F6C0 - 1FEAF], Size: 7F0
Speedometer PN: 12579125 , Ver: AE, Nr: 8 [1FEB0 - 1FFDF], Size: 130
Eeprom_data PN: 12583659 , Ver: YFZF[4000-8000], Size: 4000
Hardware 12583659
Serial 1KA04MCC3301
Id 3154131286
Id2 12587914
Broadcast YFZF
VIN 1G1YY12S145113232
Checksums:
Checksum 1: 4550 [OK]
Checksum 1: A95A [OK]
Checksum 1: B5AD [OK]
Checksum 1: B8A3 [OK]
Checksum 1: 1658 [OK]
Checksum 1: 1A47 [OK]
Checksum 1: 5D32 [OK]
Checksum 1: ACDF [OK]
Autodetect: p01-p59.xml
DaveT_New_Read.bin (p01-p59.xml (v 1))
Segments:
OS PN: 12587603 , Ver: DC, Nr: 1 [20000 - FFFFD], Size: E3FFE
EngineCal PN: 12587919 , Ver: AD, Nr: 2 [8000 - 162CF], Size: E2D0
EngineDiag PN: 12586878 , Ver: AB, Nr: 3 [162D0 - 195FF], Size: 3330
TransCal PN: 12579113 , Ver: AF, Nr: 4 [19600 - 1D8AF], Size: 42B0
TransDiag PN: 12579117 , Ver: AJ, Nr: 5 [1D8B0 - 1E1AF], Size: 900
Fuel PN: 12584410 , Ver: AB, Nr: 6 [1E1B0 - 1F6BF], Size: 1510
System PN: 12585028 , Ver: AC, Nr: 7 [1F6C0 - 1FEAF], Size: 7F0
Speedometer PN: 12579125 , Ver: AE, Nr: 8 [1FEB0 - 1FFDF], Size: 130
Eeprom_data PN: 12583659 , Ver: YFZF[4000-8000], Size: 4000
Hardware 12583659
Serial 1KA04MCC3301
Id 3154131286
Id2 12587914
Broadcast YFZF
VIN 1G1YY12S145113232
Checksums:
Checksum 1: D2E8 [OK]
Checksum 1: 6A90 [OK]
Checksum 1: 7587 [OK]
Checksum 1: 3662 [OK]
Checksum 1: 1658 [OK]
Checksum 1: 1A47 [OK]
Checksum 1: B14F [OK]
Checksum 1: ACDE [OK]
OS differ: 12592425 DD <> 12587603 DC
This makes me bring up a tuning question. His original file was modified so I downloaded a stock file to start with and now it looks to be an older OS than his original, maybe I should swappy?
Autodetect: p01-p59.xml
Dave_Vette.bin (p01-p59.xml (v 1))
Segments:
OS PN: 12592425 , Ver: DD, Nr: 1 [20000 - FFFFD], Size: E3FFE
EngineCal PN: 12587919 , Ver: AD, Nr: 2 [8000 - 162CF], Size: E2D0
EngineDiag PN: 12586878 , Ver: AB, Nr: 3 [162D0 - 195FF], Size: 3330
TransCal PN: 12579113 , Ver: AF, Nr: 4 [19600 - 1D8AF], Size: 42B0
TransDiag PN: 12579117 , Ver: AJ, Nr: 5 [1D8B0 - 1E1AF], Size: 900
Fuel PN: 12584410 , Ver: AB, Nr: 6 [1E1B0 - 1F6BF], Size: 1510
System PN: 12585028 , Ver: AC, Nr: 7 [1F6C0 - 1FEAF], Size: 7F0
Speedometer PN: 12579125 , Ver: AE, Nr: 8 [1FEB0 - 1FFDF], Size: 130
Eeprom_data PN: 12583659 , Ver: YFZF[4000-8000], Size: 4000
Hardware 12583659
Serial 1KA04MCC3301
Id 3154131286
Id2 12587914
Broadcast YFZF
VIN 1G1YY12S145113232
Checksums:
Checksum 1: 4550 [OK]
Checksum 1: A95A [OK]
Checksum 1: B5AD [OK]
Checksum 1: B8A3 [OK]
Checksum 1: 1658 [OK]
Checksum 1: 1A47 [OK]
Checksum 1: 5D32 [OK]
Checksum 1: ACDF [OK]
Autodetect: p01-p59.xml
DaveT_New_Read.bin (p01-p59.xml (v 1))
Segments:
OS PN: 12587603 , Ver: DC, Nr: 1 [20000 - FFFFD], Size: E3FFE
EngineCal PN: 12587919 , Ver: AD, Nr: 2 [8000 - 162CF], Size: E2D0
EngineDiag PN: 12586878 , Ver: AB, Nr: 3 [162D0 - 195FF], Size: 3330
TransCal PN: 12579113 , Ver: AF, Nr: 4 [19600 - 1D8AF], Size: 42B0
TransDiag PN: 12579117 , Ver: AJ, Nr: 5 [1D8B0 - 1E1AF], Size: 900
Fuel PN: 12584410 , Ver: AB, Nr: 6 [1E1B0 - 1F6BF], Size: 1510
System PN: 12585028 , Ver: AC, Nr: 7 [1F6C0 - 1FEAF], Size: 7F0
Speedometer PN: 12579125 , Ver: AE, Nr: 8 [1FEB0 - 1FFDF], Size: 130
Eeprom_data PN: 12583659 , Ver: YFZF[4000-8000], Size: 4000
Hardware 12583659
Serial 1KA04MCC3301
Id 3154131286
Id2 12587914
Broadcast YFZF
VIN 1G1YY12S145113232
Checksums:
Checksum 1: D2E8 [OK]
Checksum 1: 6A90 [OK]
Checksum 1: 7587 [OK]
Checksum 1: 3662 [OK]
Checksum 1: 1658 [OK]
Checksum 1: 1A47 [OK]
Checksum 1: B14F [OK]
Checksum 1: ACDE [OK]
OS differ: 12592425 DD <> 12587603 DC
Re: Segment Swap utility
One thing I noticed, when you highlight the "log" page it won't let me right click to choose copy. I was able to do ctl c and ctl v though. May be a winXP thing.
edit
The "Save As" button makes a .txt file. Works great
edit
The "Save As" button makes a .txt file. Works great
Re: Segment Swap utility
0.9.18In-Tech wrote:One thing I noticed, when you highlight the "log" page it won't let me right click to choose copy. I was able to do ctl c and ctl v though. May be a winXP thing.
edit
The "Save As" button makes a .txt file. Works great
Added "right-click" menu to log and debug
Renamed "Save as..." => "Save log..."
Now adding "unsupported" v6 OS to file automatically (without address, of course)
Edit: 0.9.19
Log & debug using same control