Table 37. Memory Attributes Summary - ST STM32F4 Series Programming Manual

Cortex-m4
Hide thumbs Also See for STM32F4 Series:
Table of Contents

Advertisement

PM0214
When memory regions overlap, a memory access is affected by the attributes of the region
with the highest number. For example, the attributes for region 7 take precedence over the
attributes of any region that overlaps region 7.
The background region has the same memory access attributes as the default memory
map, but is accessible from privileged software only.
The Cortex-M4 MPU memory map is unified. This means instruction accesses and data
accesses have same region settings.
If a program accesses a memory location that is prohibited by the MPU, the processor
generates a memory management fault. This causes a fault exception, and might cause
termination of the process in an OS environment.
In an OS environment, the kernel can update the MPU region setting dynamically based on
the process to be executed. Typically, an embedded OS uses the MPU for memory
protection.
Configuration of MPU regions is based on memory types, see
regions, types and attributes on page
Table 37
Memory type
Strongly-ordered -
Device
Normal
shows the possible MPU region attributes.

Table 37. Memory attributes summary

Shareability
-
Shared
-
Non-shared
-
Non-cacheable
Shared
Write-through Cacheable
Write-back Cacheable
Non-cacheable
Non-shared
Write-through Cacheable
Write-back Cacheable
DocID022708 Rev 6
28.
Other attributes
All accesses to Strongly-ordered
memory occur in program order. All
Strongly-ordered regions are assumed
to be shared.
Memory-mapped peripherals that
several processors share.
Memory-mapped peripherals that only a
single processor uses.
Normal memory that is shared between
several processors.
Normal memory that only a single
processor uses.
Core peripherals
Section 2.2.1: Memory
Description
193/260
259

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F4 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32l4+ seriesStm32f3 series

Table of Contents

Save PDF