bri3d / VW_Flash

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.
Other
315 stars 80 forks source link

Haldex4Motion Flash Support #37

Closed bri3d closed 2 years ago

bri3d commented 2 years ago

In this PR we:

Haldex4Motion just writes what's sent over UDS, and writes a validity section if the CRC32 that's sent matches in the Checksum routine. If the validity section is good, the CBOOT loads up the ASW.

A failed flash will land in CBOOT and be allowed to flash again. However, currently FLASHING MODIFIED FILES WILL BRICK THE CONTROL UNIT unless special care is taken as there are internal checksums.