Hello
I did not find an interpretation of the MPU default settings in HalCoGen in any of the documents. So I started reverse engineering the pre-configured memory regions. The first memory regions are straight forward (RAM, Flash) but starting from Region 4 the intention of the already configured regions is not clear:
Region 1:
Region 1 is enabled, however all sub-regions are disabled. Does this disable the whole region in the same way as unchecking the "enable MPU region" would do?
Region 3:
Region 3 is mapped to the RAM. However, all sub-regions are disabled and no other region is mapped to the RAM. How come, that the processor runs? To my understanding, accesses to the RAM are illegal using this setting.
Region 4:
Same problem as in region 3.
Gest Regards
Flurin Bühler