Datasheet
DocID026289 Rev 6 17/149
STM32F411xC STM32F411xE Functional overview
56
3.4 Memory protection unit
The memory protection unit (MPU) is used to manage the CPU accesses to memory to
prevent one task to accidentally corrupt the memory or resources used by any other active
task. This memory area is organized into up to 8 protected areas that can in turn be divided
up into 8 subareas. The protection area sizes are between 32 bytes and the whole 4
gigabytes of addressable memory.
The MPU is especially helpful for applications where some critical or certified code has to be
protected against the misbehavior of other tasks. It is usually managed by an RTOS (real-
time operating system). If a program accesses a memory location that is prohibited by the
MPU, the RTOS can detect it and take action. In an RTOS environment, the kernel can
dynamically update the MPU area setting, based on the process to be executed.
The MPU is optional and can be bypassed for applications that do not need it.
3.5 Embedded Flash memory
The devices embed up to 512 Kbytes of Flash memory available for storing programs and
data.
To optimize the power consumption the Flash memory can also be switched off in Run or in
Sleep mode (see Section 3.18: Low-power modes). Two modes are available: Flash in Stop
mode or in DeepSleep mode (trade off between power saving and startup time, see
Table 34: Low-power mode wakeup timings(1)). Before disabling the Flash memory, the
code must be executed from the internal RAM.
One-time programmable bytes
A one-time programmable area is available with 16 OTP blocks of 32 bytes. Each block can
be individually locked.
(Additional information can be found in the product reference manual.)
3.6 CRC (cyclic redundancy check) calculation unit
The CRC (cyclic redundancy check) calculation unit is used to get a CRC code from a 32-bit
data word and a fixed generator polynomial.
Among other applications, CRC-based techniques are used to verify data transmission or
storage integrity. In the scope of the EN/IEC 60335-1 standard, they offer a means of
verifying the Flash memory integrity. The CRC calculation unit helps compute a software
signature during runtime, to be compared with a reference signature generated at link-time
and stored at a given memory location.
3.7 Embedded SRAM
All devices embed:
• 128 Kbytes of system SRAM which can be accessed (read/write) at CPU clock speed
with 0 wait states
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.