Skip to content

Commit e4c1712

Browse files
committed
[stm32flash] Add 32bits version
Previous update has replaced the 32 bits (PE32) version by a 64 bits one (PE32+). To avoid any issue for user running on 32 bits OS, use the 32 bits version per default. The 64 bits version can be used and is named "stm32flash64.exe" Those binaries are now stored in "stm32flash/" directory in order to be aligned with other host OS structure. Serial upload has been updated and cleaned. Signed-off-by: Frederic Pillon <[email protected]>
1 parent aca3b28 commit e4c1712

File tree

4 files changed

+1
-13
lines changed

4 files changed

+1
-13
lines changed

win/serial_upload.bat

+1-13
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,4 @@ cd %~dp0
88
rem: the two line below are needed to fix path issues with incorrect slashes before the bin file name
99
set str=%4
1010
set str=%str:/=\%
11-
stm32flash.exe -g 0x8000000 -b 115200 -w %str% %1
12-
rem: C:\Python27\python.exe stm32loader.py -e -w -p %1 -g -b 115200 %str%
13-
14-
rem: ------------- use STM's own uploader
15-
rem: ---- Need to remove the COM bit from the comm port as the STM prog just wants the number
16-
set commport=%1
17-
set commportnum=%commport:COM=%
18-
rem: --- The maple board may nee the -i setting to be -i STM32_Med-density_128K or STM32_Med-density_64K
19-
rem: ---- 64 bit version
20-
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
21-
22-
rem: -- 32 bit version
23-
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
11+
stm32flash\stm32flash.exe -g 0x8000000 -b 115200 -w %str% %1

win/stm32flash.exe

-201 KB
Binary file not shown.

win/stm32flash/stm32flash.exe

415 KB
Binary file not shown.

win/stm32flash/stm32flash64.exe

470 KB
Binary file not shown.

0 commit comments

Comments
 (0)