AnsweredAssumed Answered

Program and Erase protection of Flash sectors

Question asked by Peder Rogö on Sep 6, 2018

Hello,

 

We are using the MPC5744P and would like to somehow protect a flash sector so that it cannot be erased. For example the 256K flash sector starting at address 0x01100000.

 

While running in the boot SW it should be possible to erase and program the sector, but once entering the Application SW we would like to have the protection enabled.

 

We know about the Lock registers, e.g. C55FMC_LOCK2 and C55FMC_LOCK3. But, how to protect so that these registers are not writeable?

 

Best Regards,

 

Peder Rogö

Outcomes