reset. In this case, no external memory or internal
code starting at location 00鈥?000h (see Figure 5).
second level loader routine. Flash Memory
be used to provide lookup tables or 鈥渃ore-code鈥?/div>
like a set of general purpose subroutines for I/O
operations,
number
crunching,
system
initialization, etc.
The bootstrap loader can be used to load the
complete application software into ROMless
systems, to load temporary software into
complete systems for testing or calibration, or to
load a programming routine for Flash devices.
The BSL mechanism can be used for standard
system startup as well as for special occasions
like system maintenance (firmer update) or
end-of-line programming or testing.
Figure 5 :
Bootstrap Loader Sequence
RSTIN
5.6.1 - Entering the Bootstrap Loader
The ST10F269-T3 enters BSL mode when pin
P0L.4 is sampled low at the end of a hardware
reset. In this case the built-in bootstrap loader is
activated independent of the selected bus mode.
The bootstrap loader code is stored in a special
Boot-ROM. No part of the standard mask Memory
or Flash Memory area is required for this.
After entering BSL mode and the respective
initialization the ST10F269-T3 scans the RXD0
line to receive a zero Byte, one start bit, eight 鈥?鈥?/div>
data bits and one stop bit.
From the duration of this zero Byte it calculates
the corresponding Baud rate factor with respect to
the current CPU clock, initializes the serial
interface ASC0 accordingly and switches pin
TxD0 to output.
Using this Baud rate, an identification Byte is
returned to the host that provides the loaded data.
This identification Byte identifies the device to
be booted. The identification byte is D5h for
ST10F269-T3.
P0L.4
1)
RxD0
TxD0
CSP:IP
6)
1) BSL initialization time
2) Zero Byte (1 start bit, eight 鈥?鈥?data bits, 1 stop bit), sent by host.
3) Identification Byte (D5h), sent by ST10F269-T3.
4) 32 Bytes of code / data, sent by host.
5) Caution: TxD0 is only driven a certain time after reception of the zero Byte.
6) Internal Boot ROM.
30/160
000000000 00000000000000000000000000000000000000000000000000000000000000000000
5)
00
000
000
0
00
000
2)
4)
3)
Internal Boot Memory (BSL) routine
32 Byte user software
prev
next