*(__IO uint8_t*)0x40024000 == 212 地址不能随便指向

    if (*(__IO uint8_t*)0x40024000 == 212) {  //is magic number correct?
        *(__IO uint8_t*)0x40024000 = 0;
        JumpToBootloader();
    }

  

posted on 2022-11-17 06:57  lydstory  阅读(216)  评论(0)    收藏  举报

导航