Hello,
I am facing one issue with Secure Debug in S32K148. Here we are using IAR Debugger. Currently we are able to successfully Unlock the Secure Debug using Backdoor key.
And we are able to debug the application using the IAR debugger.
We are facing issue when we try to flash the new binaries using IAR debugger. When we initiate Download, we noticed that target is going to reset which enables the secure debug and which will stops unable to download the new binaries.
Could you please provide your suggestion for this issue. When we are using Lauterbach we are able to download when secure boot is Disable using back door key.
Unlock the Secure Debug using Backdoor key??How does this happen.I use UART some data ex:7e 03 0F 05 00 7E MCU if receive this data ,app to do 1,EraseAllSHE Key 2,FCCOB0 use ERASE_ALL_BLOCK_UNSECURE 0x49U but return ERROR ,so Unlock Fail.
Hello @ViswanathR,
Can you please contact IAR Systems support?
Anyway, the debugger should be able to mass erase the MCU and reflash it (provided Mass Erase is enabled in FSEC, and the MCU is not partitioned for CSEc).
BR, Daniel