Цитата из ДШ
Цитата:
The boot loader is located in system memory. It is used to reprogram the flash memory by using USART1 (PA9/PA10), USART3 (PC10/PC11 or PB10/PB11), CAN2 (PB5/PB13), USB OTG FS in Device mode (PA11/PA12) through DFU (device firmware upgrade).
Выбор варианта загрузки делается пинами BOOT0,1
boot0 : boot1
0 x = boot from Flash
1 0 = bootloader
1 1 = SRAM