-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Howdy @bri3d ,
Me again.
After a day of fighting with miscellaneous issues with hw and sw I have finally made the tool and script work. I've also modified bootloader.py to be able to read into files without compressed read and added some options to create a 256K DFlash and 4M Pflash concatenated files similar to files created with commercial tools and have successfully read full PFlash and DFlash areas to have a backup before erasing.
Erasing of the first sector of calibrations (80800000) went well too. However after erasing this sector, disconnecting all jumpers and wiring attached for bench operations and plugging the ECM back to the car the rest of the described method was unsuccessful. The ECM simply didn't come up in diag and showed as missing in the list of modules. Direct querying from ODIS did nothing. Hence it was impossible to flash it with ODIS through OBD.
The ECM is 06K907425B, Simos18.1, firmware 5G0906259E. I have performed reading of PFlash starting from address 80800000 after erasing was done and compared to previous reading. It turned out that ECM is missing first 4000 bytes of calibrations. Is this supposed to be this way or did something went wrong again? I suspect a simple erase of 1 byte would be enough to cause checksums not matching but why 4000?
Should I try to restore this area from backup and erase just a random byte or two somewhere in calibration area where it does not cause the entire communication process to break?