

Choose yours based on uC (refer to datasheet). DEVICENAME is name of file in "Flash Loader Demo\Map folder". FILEPATH_1 is path to your IDE's workspace and FILEPATH_2 is path to folder with. PORT is COM port number, to be read from "Start > Devices and printers". LOADERPATH is path to STMFlashLoader.exe (I put default install location). bin file on uC, but if you want to use it often it becomes tiresome. Now you could use the "Flasher STM32 Demonstrator GUI" to burn your. It should appear as COMx port (in "Start > Devices and printers") Set the jumpers so that uC boots in "System Memory mode" (refer to Reference Manual: "Boot Configuration" chapter).Įxample: for STM32F1 BOOT0=HIGH and BOOT1=LOW.

If you don't have a (working) STM32 programmer, you can use a STM32 Flasher and USBTTL serial adapter.Ĭonnect adapter with uC via USART1 pins (refer to datasheet).
