Cross Flash Kia Spectra

From OpenGK
Revision as of 10:39, 19 December 2024 by Dmg210 (talk | contribs)

The Kia Spectra runs calibration version ca662008 which has a very similar bootloader to ca663056 used on the GK Chassis.

The goal of this article is to cross-flash the Tiburon program code and calibration zone avoiding the error:

'Negative response', '<0x22 - Conditions Not Correct Or Request Sequence Error>'

The reason for this error, when performing a flash operation via k-line the bootloader validates the firmware that is being uploaded using the 0x2 subroutine.

The idea is to prevent a mismatch where the bootloader is unable to load the program code which would essentially brick the ECU requiring a BSL re-flash recovery.

In order to by-pass the validation check we can insert the ca662008 version number into the ca663056 program code and calibration zone tricking the ECU into thinking it's running an older version. The two sections of code that need updating, 0x20000 (program code) and 0x10000 (calibration zone)

File:Kia crossflash 1.png
File:Kia crossflash 2.png