s32k144 MPU and Flash Protection

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

s32k144 MPU and Flash Protection

Jump to solution
1,791 Views
kmh48301
Contributor IV

Hi.

 

I need to protect and unprotect flash memory dynamically.

 

I found the Flash Protection by Flash Configuration Field and FLASH_DRV_SetDFlashProtection

cannot unprotect dynamically. (can protect dynamically)

 

and Flash Protection by MPU is not the solution.

Even though I protect the flash memory not to Program by MPU (deleting the right to write by CPU), FTFC command works.

 

Can you please give me any alternative?

 

Thanks

Best Regards

Phillip

0 Kudos
1 Solution
1,777 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Phillip,

It was under a discussion in the thread below, please scroll down to the last comment.

https://community.nxp.com/t5/S32K/S32K144-System-MPU-fails-to-write-protect-Flash-memory-region/m-p/...

 

Thank you,

BR, Daniel

View solution in original post

2 Replies
1,770 Views
kmh48301
Contributor IV

Hi, Daniel

Thank you so much for great solution!

0 Kudos
1,778 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Phillip,

It was under a discussion in the thread below, please scroll down to the last comment.

https://community.nxp.com/t5/S32K/S32K144-System-MPU-fails-to-write-protect-Flash-memory-region/m-p/...

 

Thank you,

BR, Daniel