This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory Protection Unit - Complexity in usage

Hi Experts,

As I understand the MPU region is used to set various memory read/write/execute permission/background/properties. I found few application notes on "Stack memory protection using MPU". Real time usage in the SW layers has more complexity.

For Ex:

1. 13 regions for overall MPU region (actual region req will be higher)

2. Region allocation should be multiples of 2^N. (Some memory partitioning doesn't fit in the boundary)

3. Stack protection for SW involving multiple threads (more than 15 layers)

......

Is there any way to realize more on the various customization and usage of MPU for Software with more partitions, region sizes, etc.