ST10F276
Bootstrap loader
Figure 5. ST10F276 new standard bootstrap loader program flow
START
Falling-edge on
No
UART0 RxD?
UART BOOT
Start timer T6
No
UART0 RxD = 1?
Stop timer T6
Initialize UART
Send acknowledge
Address = FA40h
No
Byte received?
[Address] = S0RBUF
Address = Address + 1
No
Address = FA60h?
Falling-edge on
No
CAN1 RxD?
Start timer PT0
Yes
UART RxD = 0?
CAN1 RxD = 1?
No
No
PT0 > 20?
CAN BOOT
Count = 1
CAN RxD = 0?
No
CAN1 RxD = 1?
No
Count += 1
Count = 5?
No
Stop timer PT0
Initialize CAN
Address = FA40h
Glitch on CAN1 RxD
Stop timer PT0
Clear timer PT0
Message received?
No
[Address] = MO15_data0
Address = Address + 1
Address = FAC0h?
No
UART BOOT
CAN BOOT
Jump to address FA40h
Other than after a normal reset the watchdog timer is disabled, so the bootstrap loading
sequence is not time limited. Depending on the selected serial link (UART0 or CAN1), pin
TxD0 or CAN1_TxD is configured as output, so the ST10F276 can return the acknowledge
byte. Even if the internal IFLASH is enabled, a code cannot be executed from it.
49/229