Open stenbergd opened 8 years ago
Just basics:
There's an example in fcb-source/STM32Cube_FW_F3_V1.1.0/Projects/STM32F3-Discovery/Examples/Cortex/CORTEXM_MPU
It seems we can designate regions where read or write access is disallowed. Perhaps we can catch errors by defining MemManage_Handler
.
Investigate possible use of the built-in Memory Protection Unit. What is it? How do we use it? When should we use it?
There is a FreeRTOS version that makes use of MPU.
It seems main use is to make sure different ISR:s and tasks can not access memory/variables they do not have permission to access. Could be a tool/feature to increase code execution safety.