My configuration is as follows:
pangyun_1-1750837150230.png
pangyun_2-1750837174257.png
pangyun_3-1750837188264.png
pangyun_4-1750837203337.png
pangyun_5-1750837213366.png
Code:
(void)MPU_EnableRegion(&mpu_pal_config_1_Instance, 3U, false);
//test = *((uint32_t *)ADDRESS_PROTECT);
Results:
There is no code to read,but it will always go to "void HardFault_Handler(void)".
Change the configuration:
pangyun_6-1750837677892.png
I only changed the address.It will be ok! I am confused.
Please tell me the reason,thank you!