Backdoor access key implementation in S32K116

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Backdoor access key implementation in S32K116

2,284 Views
prabhatg44
Contributor I

Thanks for the code, I was trying to set the Backdoor access key by modifying steps in startup_S32K116.s file as below to set FSEC register:

BackDoorK0 EQU 0x10
BackDoorK1 EQU 0x32
BackDoorK2 EQU 0x54
BackDoorK3 EQU 0x76
BackDoorK4 EQU 0x98
BackDoorK5 EQU 0xBA
BackDoorK6 EQU 0xDC
BackDoorK7 EQU 0xFE

; <3=> Backdoor key access disabled
; <i> Backdoor Key Security Enable
FSEC EQU 0xBE

But not able to see BF value in the debugger. Can you please support me in this regards.

prabhatg44_2-1625295070438.png

 

prabhatg44_1-1625295024104.png

 

prabhatg44_0-1625294906476.jpeg

 

0 Kudos
Reply
3 Replies

2,242 Views
prabhatg44
Contributor I

I am using KEIL IDE. On 0x00value I am having is in the figure below also sharing my startup_S32K116.s file used by me. Not able to see BF value in the debugger. Can you please support me in this regards

prabhatg44_0-1625660957112.png

 

0 Kudos
Reply

2,209 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @prabhatg44,

The linker file seems to be correct but it looks like it hasn't been loaded to the MCU.

Unfortunately, we don't use KEIL so I can't test it.

I would recommend contacting KEIL support.

 

Regards,

Daniel

0 Kudos
Reply

2,252 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @prabhatg44,

I'm not familiar with this version of startup_S32K116.S, what IDE do you use?

Can you check the memory at 0x400?

 

Thank you,

BR, Daniel

0 Kudos
Reply