I made the crazyflie2_nrf_bootloader on the KEIL C compiler,because I have no experience on the ECLIPSE GCC develop platform.
Now,there is a proplem that the code
Code: Select all
ble_init();
Code: Select all
NRF_POWER->GPREGRET |= 0x20U;
And I view the MPU register value like the below picture: AS the picture the POWER_CLOCK of MPU PERR0 is written '1',so POWER_CLOCK are protected by the MPU,this is cause a HardFault_Handler reason.
Why there is no proplem runing on ECLIPSE platform? thanks.