diff --git a/bootloader_hex/master.bat b/bootloader_hex/master.bat index 1875e9a..1f1fc1a 100644 --- a/bootloader_hex/master.bat +++ b/bootloader_hex/master.bat @@ -56,7 +56,9 @@ REM ====================================================================== echo %YELLOW%Starting flash...%RESET% echo. -"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%" +"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erasemode full -erase -upload "%HEX_FILE%" + +REM "%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%" set "ERR=%ERRORLEVEL%" echo. diff --git a/bootloader_hex/slave.bat b/bootloader_hex/slave.bat index c30e871..fc052a0 100644 --- a/bootloader_hex/slave.bat +++ b/bootloader_hex/slave.bat @@ -56,7 +56,9 @@ REM ====================================================================== echo %YELLOW%Starting flash...%RESET% echo. -"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%" +"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erasemode full -erase -upload "%HEX_FILE%" + +REM "%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%" set "ERR=%ERRORLEVEL%" echo.