Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

ST10F276 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
MFG CO.
'ST10F276' PDF : 229 Pages View PDF
ST10F276
Bootstrap loader
5.6.7
5.6.8
5.6.9
5.6.10
Alternate boot user software
If the rules described previously are respected (that is, mapping of variables, disabling of
interrupts, exit conditions, predefined vectors in Block 0 of Bank 2, Watchdog usage), then
users can write the software they want to execute in this mode starting from 09’0000h.
User/alternate mode signature integrity check
The behavior of the Alternate Boot Mode is based on the computing of a signature between
the content of two memory locations and a comparison with a reference signature. This
requires that users who use Alternate Boot have reserved and programmed the Flash
memory locations according to:
User mode signature
00'0000h: memory address of operand0 for the signature computing
00’1FFCh: memory address of operand1 for the signature computing
00’1FFEh: memory address for the signature reference
Alternate mode signature
09'0000h: memory address of operand0 for the signature computing
09’1FFCh: memory address of operand1 for the signature computing
09’1FFEh: memory address for the signature reference
The values for operand0, operand1 and the signature should be such that the sequence
shown in the figure below is successfully executed.
MOV
ADD
CPLB
CMP
Rx, CheckBlock1Addr; 00’0000h for standard reset
Rx, CheckBlock2Addr; 00’1FFCh for standard reset
RLx
; 1s complement of the lower
; byte of the sum
Rx, CheckBlock3Addr; 00’1FFEh for standard reset
Alternate boot user software aspects
User defined alternate boot code must start at 09’0000h. A new SFR created on the
ST10F276 indicates that the device is running in Alternate Boot Mode: Bit 5 of EMUCON
(mapped at 0xFE0Ah) is set when the alternate boot is selected by the reset configuration.
All the other bits are ignored when checking the content of this register to read the value of
bit 5.
This bit is a read-only bit. It remains set until the next software or hardware reset.
EMUCON register
EMUCON (FE0Ah / 05h)
15 14 13 12 11 10
-
-
SFR
987
654
ABM
R
Reset value: - xxh:
3210
-
67/229
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]