I get the demo from unified bootloader framework, but it could not work with the PLL enable, and when the project init clock, it goes to hardware error. On the other hand, if I set the PLL false, it could works. I do not know where the error is. Besides the EXTAL of my board is 16MHz, is there any wrong with the hardware designing?
已解决! 转到解答。
This routine uses an 8M external clock crystal oscillator by default. If you use a 16M crystal oscillator, there will be problems. You need to change the clock configuration, or replace the crystal oscillator with 8M. If you don't change the crystal oscillator, you have to change the configuration of the clock part of the BT and APP routines.