如圖標紅部分,請問這個函數(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中的操作流程。