Flashing tools for VW AG control units over UDS. Compression, encryption, RSA bypass, and checksums are supported for Simos18.1/6/10, DQ250-MQB, DQ381-MQB, and Haldex4Motion-Gen5-MQB.
Corrected Haldex checksumming (correct checksums were generated.... just not applied to the binary before flashing!!)
Implemented support for varying length Haldex calibrations. (This may be considered kinda hacky; the block length is at offset 0x14 from the start of the CAL so it's pulled from there for blocks_from_bin. To correct the length used for RequestDownload the block length is set to the length of the binary in haldex_flash_utils.py
LGTM. Next time we make a real release we'll have to do a writeup about the new J2534 stuff as well as try to get Switchleg to provide Linux+OSX binaries for it.
I can probably split this up into seperate PR's if it's easier.
Summary of changes
blocks_from_bin
. To correct the length used for RequestDownload the block length is set to the length of the binary inhaldex_flash_utils.py