kur4o wrote:The new features really kick ass.
As far I have seen the xdf is some modified xml type of file, making editing not that hard. It can easily be edited in wordpad, with copy pasting new info and merging xdfs and so on.
Interesting if you can unsplit the fields and make some basic xdf editor, at least it will give some headstart for adding tables and scalars to templates.
Since your there I will try to gather some data for ls1 DTC discovery ASAP.
Here are some identifiers for 1mb bins. Should work with most of the 1mb bins but there migth be exclusions. Still need to find some pattern for 512kb files.
Search for
18 30 35 B0 * * * *
You will likely get 4 hits
**** is the start address of the dtc table.
The table is 4 bytes long
first 2 bytes are not used, or is some priority stuff
second 2 bytes is the pid number
The pis number start with a digit for P numbers, C for C number and D for U number.
To figure end of table maybe follow the order of the first digit of dtc it must be in 0-9, C, D concession, If after D code, you got something else for first digit that it might be the end of dtc table.
To get the DTC status search for
18 30 31 B0 * * * * 67
* * * * will be the start address, some bins might get false result with this search string, Usually you will get 4 hits with the same start address.
Print the DTC status till FF is reached, that starts the mil on/off table it should be the same size as the DTC status table. The mil on/off table again ends with FF.
ONe more rule for cvn rules.
If cvn is not in the stockcvn list and cvn is in the reference list but it doesn`t match print [modded/R]
Now it is [n/a]
Version 0.12.50
stockcvn modified
Of course there is but for P59 DTC search...
12579405 doesn't have FF between status & MIL tables, or end of MIL table.
12587603 have extra byte @beginning of status table
Maybe some other, not tested that much.
Version 0.12.50 uses this method:
- Find table_address by searching 18 30 31 B0 * * * * 67
- Find end_address of MIL table by searching (byte > 1), beginning at (table_address + 2 * code_count)
- First DTC status is in (end_address - (2 * code_count) - 2)
=> This is table_address OR table_address +1 in binaries I have tested
Please test, there is big change status and/or MIL table is off by 1-2 bytes
Edit: Added P01-P59-template.xdf
Removed XML_*.zip, added UniversalPatcher-Full.Zip, includes exe and XML-folder