We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi.
We are developing a product which has to achieve some safety requirements. The system is quite simple, non-OS, running in a Privileged mode only on a Cortex-M4. I would like to implement a Memory Protection Unit somehow. Could you please give any advice, in which way could be MPU implemented for that kind of system?
If I am correct, one possibility is to protect system from stack overflow. Any other thoughts?
Thank you
There are a number of reasons setting up the MPU with is worthwhile even on a non-RTOS systems (we advise if an MPU is available to always use it).
For example
I have written about this and setting up the MPU at:
https://blog.feabhas.com/2013/02/setting-up-the-cortex-m34-armv7-m-memory-protection-unit-mpu/
regards,
Niall.