AN2662
Figure 1.
Bootloader selection
BL reset
Configure internal RC mode
Configure USART1 and USART2 pins
Configure CAN2
Configure USB
0x7F received on
USART2
No
0x7F received on
USART1
No
CAN2_RX pin is low
level
No
USB cable
detection
No
Doc ID 14156 Rev 1
Yes
Configure USART2
Execute
BL_USART_Loop for
Yes
USART2
Configure USART1
Execute
BL_USART_Loop for
USART1
Yes
Yes
HSE = 8 MHz,
14.7456 MHz or
25 MHz
Yes
Reconfigure system
clock to 48 MHz and
USB clock to 48 MHz
Execute DFU boot-
loader using USB
interrupts
Bootloader description
HSE = 8 MHz,
14.7456 MHz or
25 MHz
Yes
Execute
BL_CAN_Loop for
CAN2
No
No
11/83
Need help?
Do you have a question about the STM32F105 Series and is the answer not in the manual?
Questions and answers