MPU configuration registers

In Cortex-M, the control block region related to MPU configuration is located in the system control block, starting at address 0xE000ED90. Five registers are used to access the MPU:

  • The MPU Type Register (offset = 0x00) contains information about the availability of the MPU system and the number of regions supported. This register is also available on systems without an MPU to indicate that the functionality is not supported.
  • The MPU Control Register (offset is 0x04) is used to activate the MPU system, and to enable the default background mapping for all the regions that are not explicitly mapped in the MPU. If the background mapping is not enabled, accessing non-mapped regions is not allowed.
  • The MPU Region Number ...

Get Embedded Systems Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.