CH559_CH558 USB+串口IAP遠程升級實例中EraseBlock函數(shù)問題

Snipaste_2021-08-26_20-25-05.png

如圖標紅部分,請問這個函數(shù)中的這個判斷是什么意思?

well i asked the same question some time ago, did not get any proper answer.

it seems they try to place ROM_CRTL= ROM_CMD_ERASE; allways on odd or even address regardless the startaddress of that function. In my case it was always a odd address but this heavily compiler and optmize settings dependend.


I never found a reason for this construct.? Erase works just fine on odd and even.


Strange code, possible error CH559 - Heng Heng microelectronics community (wch.cn)


您好,這部分的代碼建議參考CH559EVT中的操作流程。


只有登錄才能回復,可以選擇微信賬號登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频