read / write protect for DFLASH

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

read / write protect for DFLASH

2,089 Views
814420552
Contributor III

hello.  where can i get the document for read / write protect for DFLASH about s32k14x? wish your help 

0 Kudos
Reply
3 Replies

1,957 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

For the DFlash write-protect, you can use the FDPROT register which is loaded from the flash configuration field.

For more details, please, refer to the RM rev 12.1 section "36.4.4.1.9 Data Flash Protection Register (FDPROT)" and "36.5.1 Flash protection"

pastedImage_1.png

In the Startup_S32K144.S you can see this section:

pastedImage_7.png

For the read-protect Dflash, you can look at the "chapter 15 Memory Protection Unit (MPU)"

You can set the rights for Core, DMA, etc.

Example mpu_memory_protection_s32k14x is located in the S32Design Studio:

"The purpose of this demo application is to show you how to configure and use the Memory Protection Unit of the S32K14x MCU with this SDK."

I hope it helps.

Best regards,

Diana

0 Kudos
Reply

1,957 Views
814420552
Contributor III

hello,

   I only want to set flash read protect, hou should i config it?

0 Kudos
Reply

1,957 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello, 

I'm very sorry for the delay. You can check an example "mpu_memory_protection_s32k14x" located in the S32DS.

Best regards,

Diana

0 Kudos
Reply