diff --git a/win/serial_upload.bat b/win/serial_upload.bat index 22af94e0..9226e321 100644 --- a/win/serial_upload.bat +++ b/win/serial_upload.bat @@ -8,16 +8,4 @@ cd %~dp0 rem: the two line below are needed to fix path issues with incorrect slashes before the bin file name set str=%4 set str=%str:/=\% -stm32flash.exe -g 0x8000000 -b 115200 -w %str% %1 -rem: C:\Python27\python.exe stm32loader.py -e -w -p %1 -g -b 115200 %str% - -rem: ------------- use STM's own uploader -rem: ---- Need to remove the COM bit from the comm port as the STM prog just wants the number -set commport=%1 -set commportnum=%commport:COM=% -rem: --- The maple board may nee the -i setting to be -i STM32_Med-density_128K or STM32_Med-density_64K -rem: ---- 64 bit version -rem: "%ProgramFiles(x86)%\STMicroelectronics\Software\Flash Loader Demonstrator\STMFlashLoader.exe" -c --pn %commportnum% --br 230400 -i STM32_High-density_256K -e --all -d --fn %str% --a 0x8000000 -r --a 0x8000000 - -rem: -- 32 bit version -rem: "%ProgramFiles%\STMicroelectronics\Software\Flash Loader Demonstrator\STMFlashLoader.exe" -c --pn %commportnum% --br 230400 -i STM32_Med-density_64K -e --all -d --fn %str% --a 0x8000000 -r --a 0x8000000 +stm32flash\stm32flash.exe -g 0x8000000 -b 115200 -w %str% %1 diff --git a/win/stm32flash.exe b/win/stm32flash.exe deleted file mode 100644 index d48eddec..00000000 Binary files a/win/stm32flash.exe and /dev/null differ diff --git a/win/stm32flash/stm32flash.exe b/win/stm32flash/stm32flash.exe new file mode 100644 index 00000000..13c90779 Binary files /dev/null and b/win/stm32flash/stm32flash.exe differ diff --git a/win/stm32flash/stm32flash64.exe b/win/stm32flash/stm32flash64.exe new file mode 100644 index 00000000..63c52724 Binary files /dev/null and b/win/stm32flash/stm32flash64.exe differ