English
Language : 

ST10F276_06 Datasheet, PDF (53/229 Pages) STMicroelectronics – 16-bit MCU with MAC unit, 832 Kbyte Flash memory and 68 Kbyte RAM
ST10F276
Bootstrap loader
5.2.7
Note:
5.2.8
Exiting bootstrap loader mode
To execute a program in normal mode, the BSL mode must first be terminated. The
ST10F276 exits BSL mode at a software reset (level on P0L.4 is ignored) or a hardware
reset (P0L.4 must be high in this case). After the reset, the ST10F276 starts executing from
location 00’0000H of the internal Flash (User Flash) or the external memory, as programmed
via pin EA.
If a bidirectional Software Reset is executed and external memory boot is selected (EA = 0),
a degeneration of the Software Reset event into a Hardware Reset can occur (refer to
section for details). This implies that P0L.4 becomes transparent, so to exit from Bootstrap
mode it would be necessary to release pin P0L.4 (it is no longer ignored).
Hardware requirements
Although the new bootstrap loader is designed to be compatible with the old bootstrap
loader, there are a few hardware requirements relative to the new bootstrap loader:
– External Bus configuration: Must have four or less segment address lines (keep
CAN I/Os available);
– Usage of CAN pins (P4.5 and P4.6): Even in bootstrap via UART, P4.5
(CAN1_RxD) can be used as Port input but not as output. The pin P4.6
(CAN1_TxD) can be used as input or output.
– Level on UART RxD and CAN1_RxD during the bootstrap phase (see Figure 6 -
Step 2): Must be 1 (external pull-ups recommended).
5.3
5.3.1
Standard bootstrap with UART (RS232 or K-Line)
Features
ST10F276 bootstrap via UART has the same overall behavior as the old ST10 bootstrap via
UART:
● Same bootstrapping steps;
● Same bootstrap method: Analyze the timing of a predefined byte, send back an
acknowledge byte, load a fixed number of bytes and run;
● Same functionalities: Boot with different crystals and PLL ratios.
53/229