MCC Memory protection Unit (MPU) Configuration
MCC plug-in consists of following plug-ins/managers based on the device selection while creating the project.
- Clock Configuration: Enables to configure Master, Generic, Peripheral and System Clocks
- Pin Configuration: Enables to configure pins in the Pin Configuration area depending upon the application requirements
- NVIC Configuration: Enables to configure enable/disable of interrupts, interrupt priority and name
- DMA Configuration: Enables to configure DMA Channels
- MPU Configuration: Enables to configure different zones of Memory Protection Unit
To open MPU Configuration MCC plug-in, perform the action, MCC → Tools then click MPU Configuration .
Note: MCC plugins availability will vary depending on the device selection while creating the project.
MPU Configuration
Users can configure MPU regions for memory spaces, such as ITCM, DTCM, Flash, SRAM, Peripherals, EBI, QSPI, USBHS and System. Users can also set the different attributes for these memory spaces. See image below:
Note: In the screenshot above, the MCC MPU configuration for SAME70 MCU is shown as an example. The MCC MPU configuration for other PIC or SAM MCUs may differ from the one shown above.
Note
This page has been verified with the following versions of software tools:
- MPLAB X IDE v6.20
- MPLAB XC32 Compiler v4.40
- MPLAB Code Configurator Plugin v5.5.1
- MPLAB Harmony v3 “csp” repo v3.18.5
Because Microchip regularly update tools, occasionally there could be minor differences with the newer versions of the tools.