|
|||||||||||
Technical Support Support Resources
Product Information |
ARM: MPU configuration causes hardfaultInformation in this knowledgebase article applies to:
SYMPTOMWhen initializing the MPU, I configure the on-chip RAM of my ST-device to Shareable, but my application ends up at a hardfault when I access the RAM. CAUSEProbably the address-range is configured as Not-Shareable by the chip vendor. RESOLUTIONIt is required to refer to the vendor manual for detailed information about Memory region shareability and cache policies. As an example: The STM32F7-Programming manual confirms:
If now you configure the MPU at address 0x20010000 as Shareable at the MPU-window of the µVision Debugger, the hardfault is triggered:
MORE INFORMATION
Last Reviewed: Tuesday, October 20, 2020 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.