S32k144 back door key verify example inquiry

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

S32k144 back door key verify example inquiry

Jump to solution
813 Views
lim
Contributor II

Hi NXP

 

Now we want rewrite a Flash Configuration Field Offset Address's 0x0_040C for Flash Security Disable. do you have any Example Code?

We want that using for Debugger connect with a Security Disable/Mass Erase Enable 

0 Kudos
1 Solution
798 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@lim

You don't need to write any code, just modify these areas.

for example:Enable system security and Enable mass erase.

__FlashConfig
      	DCD	0xFFFFFFFF    ; 8 bytes backdoor comparison key
      	DCD	0xFFFFFFFF    ;
      	DCD	0xFFFFFFFF    ; 4 bytes program flash protection bytes
      	DCD	0xFFFF7FFF    ; FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured)
__FlashConfig_End

Senlent_0-1639472296741.png

 

please refers to this article.      

https://www.nxp.com.cn/docs/en/application-note/AN12130.pdf 

know more:

   It is very similar to the security features of the Kinetis family MCUs. You can refer to AN4507 Using the Kinetis Security and Flash Protection Features 
   https://www.nxp.com/docs/en/application-note/AN4507.pdf

BR!

     Jim,

 

View solution in original post

0 Kudos
1 Reply
799 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@lim

You don't need to write any code, just modify these areas.

for example:Enable system security and Enable mass erase.

__FlashConfig
      	DCD	0xFFFFFFFF    ; 8 bytes backdoor comparison key
      	DCD	0xFFFFFFFF    ;
      	DCD	0xFFFFFFFF    ; 4 bytes program flash protection bytes
      	DCD	0xFFFF7FFF    ; FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured)
__FlashConfig_End

Senlent_0-1639472296741.png

 

please refers to this article.      

https://www.nxp.com.cn/docs/en/application-note/AN12130.pdf 

know more:

   It is very similar to the security features of the Kinetis family MCUs. You can refer to AN4507 Using the Kinetis Security and Flash Protection Features 
   https://www.nxp.com/docs/en/application-note/AN4507.pdf

BR!

     Jim,

 

0 Kudos