2024-12-15 10:55 PM
Hi
I am using Memory Protection Unit on a Nucleo-G474 board and trying to adapt the MPU feature to existing software.
I found in the pm214 that we can change the CONTROL register to enter or leave privileged mode. I tried to enter and leave privileged mode and it worked.
My question is as following:
Does this CONTROL register have something like a lifetime cycle ? Can I frequently update the CONTROL register, say 10,000 times a second and expect it will work for the next 10 years ?
Thank you very much.
2024-12-15 11:25 PM
Welcome @pasuzw, to the community!
As the CONTROL register is located in the core and not in Flash, there is no write cycle restriction. You can write around in it as much as you like.
Hope that helps?
Regards
/Peter