Fix for Issue #174: Added extra delay in Windows EBB Upater application to account for slower USB enumeration in bootlaoder mode under Windows 11

Archive_Inkscape0
EmbeddedMan 2022-05-20 09:17:02 -05:00
rodzic f75ff12ca8
commit 95a423cb84
2 zmienionych plików z 3 dodań i 3 usunięć

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -184,10 +184,10 @@ CallBack Function cbButton() As Long
Control Append Text CBHNDL, %ID_CommandOutputTexBox, "Found an EBB with firmware version " & RIGHT$(sBuffer, 5) + Chr$(13) + Chr$(10)
Control Append Text CBHNDL, %ID_CommandOutputTexBox, "Attempting update to version " & sFirmwareNumber + Chr$(13) + Chr$(10)
COMM_Print(hComm, "BL" & Chr$(13))
Sleep 100
Sleep 1000
COMM_Close(hComm)
Sleep 2000
sCommandLine = "mphidflash-1.6-win-32.exe -r -w " & sHexFilename
Sleep 5000
sCommandLine = "mphidflash-1.6-win-32.exe -r -w " & sHexFilename
If (bConsole) Then Console_WriteLine sCommandLine
If (bUpdaterConsole) Then
pID = OS_Shell(sCommandLine, %OS_WNDSTYLE_NORMAL, %OS_SHELL_SYNC)