diff --git a/dlg/about.aardio b/dlg/about.aardio index 7b4457d..83f2026 100644 --- a/dlg/about.aardio +++ b/dlg/about.aardio @@ -11,6 +11,7 @@ static={cls="static";text="Static";left=21;top=17;right=458;bottom=340;transpare V0.1_20230220: 初版 V0.2_20230221: 修复右板无法刷写,增加点亮功能,增加更改履历 V0.3_20230221: 修复关闭界面后程序没有完全关闭的问题 +V0.4_20230222: 修复偶发刷写卡在请求下载的问题 */ winform.button.oncommand = function(id,event){ diff --git a/main.aardio b/main.aardio index 3905991..c8f905b 100644 --- a/main.aardio +++ b/main.aardio @@ -27,7 +27,7 @@ static={cls="static";text="设备";left=1;top=28;right=61;bottom=52;align="cente static2={cls="static";text="通道";left=1;top=66;right=61;bottom=90;align="center";center=1;transparent=1;z=7}; static3={cls="static";text="刷写进度";left=389;top=408;right=442;bottom=428;transparent=1;z=16}; static4={cls="static";text="烧录APP";left=13;top=108;right=85;bottom=132;center=1;transparent=1;z=17}; -static5={cls="static";text="V0.3_20230321";left=545;top=1;right=689;bottom=17;align="right";center=1;notify=1;transparent=1;z=18} +static5={cls="static";text="V0.4_20230322";left=545;top=1;right=689;bottom=17;align="right";center=1;notify=1;transparent=1;z=18} ) /*}}*/ diff --git a/user/DiagBootcode.aardio b/user/DiagBootcode.aardio index 4aeb45a..937bacd 100644 --- a/user/DiagBootcode.aardio +++ b/user/DiagBootcode.aardio @@ -342,12 +342,6 @@ FuncBootSeq = function(){ */ } case 11 { - nextstate(0); - } - case 12 { - nextstate(0); - } - case 13 { if(sendstate == 0){//CheckLogicBlock FuncDisplay("擦除APP"); FuncReq31EraseFlash(0x18000,0x20000); @@ -356,7 +350,19 @@ FuncBootSeq = function(){ else { var ret = FuncWait(0x31); nextstate(ret); + delaycount = 0; } + + } + case 12 { + delaycount++; + if(delaycount > 10){ + nextstate(0);//延时100mS + delaycount = 0; + } + } + case 13 { + nextstate(0); } case 14 {