

i STM32F2_1024K -e -all Binary File Upload STMFlashLoader.exe -c -pn 43 -br 115200 -db 8 -pr EVEN -sb 1 -ec OFF -to 10000 -co OFF

You can find this out for example in Control Panel -> Device Manager -> Ports (COM & LPT), in my case the port is COM43: For example "-pn" is the number under which the usb-to-serial virtual COM port appears in your computer. There are parameters that you need to adjust to match your environment. Command-line is good for integrating into your IDE / toolchain, for example Eclipse. The first one is a commad-line utility, second has a GUI interface. You can get the official flashing utility from ST website here.Īfter installing, you can find two interesting executable files (depending on where you installed it, typically in the "STMicroelectronics\Software\Flash Loader Demo" subdirectory): STMFlashLoader.exe and STMFlashLoader Demo.exe.
