*(__IO uint8_t*)0x40024000 == 212 地址不能随便指向
if (*(__IO uint8_t*)0x40024000 == 212) { //is magic number correct? *(__IO uint8_t*)0x40024000 = 0; JumpToBootloader(); }
知识就是希望
if (*(__IO uint8_t*)0x40024000 == 212) { //is magic number correct? *(__IO uint8_t*)0x40024000 = 0; JumpToBootloader(); }