Is there any limit when updating the CONTROL register ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
Solved! Go to Solution.
- Labels:
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-16 1:18 PM
Hi Peter
Thanks for your quick response.
