GD32F450ZGT6 擦写Flash bank1 sector11失败
2256|4
手机看帖
扫描二维码 随时随地手机跟帖 |
| |
评论
wangkl11
回复TA
for (sector_num = 0; sector_num < 5; sector_num++) { ram_fmc_state = ram_fmc_sector_erase(CTL_SN(sector_num)); fmc_flag_clear(FMC_FLAG_END | FMC_FLAG_OPERR | FMC_FLAG_WPERR | FMC_FLAG_PGMERR | FMC_FLAG_PGSERR); if(ram_fmc_state!=FMC_READY) { while(1); } } 我这个连续擦除扇区 擦除第二个扇区后死机了 返回值正常 能帮分析一下么 大佬 | |