Cross Flash Kia Spectra: Difference between revisions

From OpenGK
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:


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.
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.
 
[[File:Kia crossflash cal.png|thumb]]
[[File:Kia crossflash prog.png|thumb]]
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)
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|thumb]]
[[File:Kia crossflash 2.png|thumb]]
[[File:Kia crossflash 3.png|thumb]]
Once the version detials have been updated, correct the checksum and upload via GKFlasher using the 'Full Flash' option.
Once the version detials have been updated, correct the checksum and upload via GKFlasher using the 'Full Flash' option.


You may need to re-program the Immobilizer running through the Teach Keys procedure if the Immo status is 'virgin' or 'not learnt'
You may need to re-program the Immobilizer running through the Teach Keys procedure if the Immo status is 'virgin' or 'not learnt'
Bear in mind, if the immobilizer hasn't been programmed correctly you'll be unable to re-flash and will receive the error above prior to the erase operation. This won't brick the ECU, its a security feature to prevent you tampering with the ECU if the keys aren't present.
[[File:Kia crossflash gui.png|thumb]]

Latest revision as of 12:13, 19 December 2024

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) Once the version detials have been updated, correct the checksum and upload via GKFlasher using the 'Full Flash' option.

You may need to re-program the Immobilizer running through the Teach Keys procedure if the Immo status is 'virgin' or 'not learnt'

Bear in mind, if the immobilizer hasn't been programmed correctly you'll be unable to re-flash and will receive the error above prior to the erase operation. This won't brick the ECU, its a security feature to prevent you tampering with the ECU if the keys aren't present.