2025-11-02 10:55 AM
Hi,
Both Region 1 and Region 2 are configured with ALL READS/WRITES access permissions.
The resulting initialization code is as follows:
/** Initializes and configures the Region 1 and the memory to be protected
*/
LL_MPU_ConfigRegion(LL_MPU_REGION_NUMBER1, LL_MPU_INSTRUCTION_ACCESS_ENABLE|LL_MPU_ACCESS_INNER_SHAREABLE, LL_MPU_ATTRIBUTES_NUMBER1, 0x08030000, 0x0807FFE0);
LL_MPU_EnableRegion(LL_MPU_REGION_NUMBER1);
/** Initializes and configures the Region 2 and the memory to be protected
*/
LL_MPU_ConfigRegion(LL_MPU_REGION_NUMBER2, LL_MPU_INSTRUCTION_ACCESS_DISABLE|LL_MPU_ACCESS_INNER_SHAREABLE, LL_MPU_ATTRIBUTES_NUMBER0, 0x20010000, 0x20043FE0);
LL_MPU_EnableRegion(LL_MPU_REGION_NUMBER2);The second parameter should also include the LL_MPU_REGION_ALL_RW attribute but it is missing.
The .ioc configuration file is attached.
2025-11-02 11:19 PM - edited 2025-11-03 3:56 AM
Hello @peterdonchev
Thank you for your valuable contribution.
The issue has been escalated to the development team under internal ticket ID 221004 for resolution.
I will keep you updated as soon as new information becomes available.
THX
Ghofrane
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.