AnsweredAssumed Answered

Unable to erase the BOOT_KEY

Question asked by BJ RAJENDRANATH on Apr 8, 2019
Latest reply on Apr 10, 2019 by Lukas Zadrapa

Hello all,

 

I'm trying to create Flash Bootloader in S32K144 & accordingly I made changes in the linker file to shift the code to new location & also added a new segment to add the BOOT_KEY at the end of the srec file and I reflected in my srec file.

 

I used thread S32K_Boot_Problem for creating a linker file at new location & thread Example S32K144 Flash RW simple to erase the key from RAM. But I couldn't able to erase or re-program the BOOT_KEY.

 

When I'm trying to debug the code, it is showing as IMPRECISERR and got stuck in UsagefaultHanlder. I searched about Fault handling on S32K144 & used the corresponding files which resulted stucking at some break point.

 

I tried moving the address of the function (where erasing the BOOT_KEY takes place) to several places, but there is no use.

 

Help me in solving this issue.

 

Thanks in advance,

 

Regards,

Raju

Outcomes