1868700_en-US

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

1868700_en-US

1868700_en-US

[Security] Clear ALL Keys

Dear NXPs:

uSFE = false;

The Key attribute of MASTER_ECE_KEY is set to: Write Prot = 0; Boot Prot = 1; Debugger Prot = 1; KeyUsage = 1; Wild card = 1;

Then I want to call the bool eraseKeys(void) interface (csec_utils.h) to Clear all keys. But when

The bool getUID(uint8_t *uid) function returned a STATUS_SEC_KEY_NOT_AVAILABLE error when calling the CSEC_DRV_GetID interface. What should I do to erase all keys?

Re: [Security] Clear ALL Keys

Dear lukaszadrapa:

Got it, thanks for the reply. Is there any way I can erase all keys?

Re: [Security] Clear ALL Keys

Hi @Gideon 

it makes sense. If you used: Boot Prot = 1; Debugger Prot = 1;

... then:

lukaszadrapa_0-1716292349255.png


So, the secure boot must be successful and debugger can't be connected to be able to use the key.

Regards,

Lukas

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 02:47 PM
Updated by: