AnsweredAssumed Answered

I can't set EHV when erase flash area

Question asked by Jaejyn Shin on Feb 8, 2017
Latest reply on Feb 10, 2017 by Lukas Zadrapa

Hello experts

I have strange situation during erasing flash area

The EHV register was not set in the below code in the FlashErase.c


I saw below comments in the MPC5777C Reference Manual


All registers were correctly set, but I can not set the EHV register after like them.




My question is...

Why I can't set the EHV ? 

Is there another pre-condition to set the EHV register ?

Or is there anything to prevent set the register ?


Thank you