STM32H725 reinit MPU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-13 6:55 AM
Hi.
Is it possible to reconfigure one or some regions MPU without fully disabling MPU?
I need configure for example ITCM memory for RW access when load code and set to RO mode after code copied completed.
Code copied from SDRAM to ITCM, so MPU needed for correct access to SDRAM.
Thank You.
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-03 1:15 PM
Hello @Aleks​,
First, It is possible to reconfigure one or some regions MPU without fully disabling MPU.
Second, for access permissions of regions, you may need to check Table 3. in AN4838.
Finally, you can get inspired with this example STM32Cube\Repository\STM32Cube_FW_H7_V1.11.0\Projects\STM32H743I-EVAL\Examples\FMC\FMC_SDRAM_DataMemory
Hope this helps!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-03 1:15 PM
Hello @Aleks​,
First, It is possible to reconfigure one or some regions MPU without fully disabling MPU.
Second, for access permissions of regions, you may need to check Table 3. in AN4838.
Finally, you can get inspired with this example STM32Cube\Repository\STM32Cube_FW_H7_V1.11.0\Projects\STM32H743I-EVAL\Examples\FMC\FMC_SDRAM_DataMemory
Hope this helps!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
