XC886/888CLM
Bootstrap Loader
User’s Manual
18-12
V1.3, 2010-02
Bootstrap Loader, V1.0
18.1.2.4
The Activation of Modes 1, 3 and F
Modes 1 and 3 are used to execute a user program in the XRAM/Flash of the
microcontroller at 0F000
H
and 0000
H
respectively, while Mode F is used to enter OCDS
UART Mode. The header block has the following structure:
The Header Block
Mode Data Description:
Not used
: The five bytes are not used and will be ignored in Mode 1/3/F.
For Modes 1, 3 and F, the header block is the only transfer block to be sent by the host,
no further serial communication is necessary. The microcontroller will then exit the BSL
Mode and jump to the XRAM address at 0F000
H
(Mode 1), jump to Flash address at
0000
H
(Mode 3) and/or start to communicate with the OCDS UART debugger (Mode F).
18.1.2.5
The Activation of Mode 4
Mode 4 is used to erase sector(s) of P-Flash bank(s) or D-Flash bank(s), or mass erase
of all sectors in P-Flash and D-Flash banks. The selection of the type of erase is
controlled through the Option byte in the header block.
When
Option
= 00
H
, this mode is used to erase the P-Flash sector(s). The header block
has the following structure:
The Header Block
Mode Data Description:
PFlash_Bank_Pair0
1)
: The sectors 0 to 2 of P-Flash Bank Pair 0 (Banks 0 and 1) are
represented by bits 0 to 2
2)
. For example, a value of 03
H
in the PFlash_Bank_Pair0 byte
selects sectors 0 and 1 of P-Flash Banks 0 and 1 for erase.
1) Bits 3 to 7 must be cleared to 0.
2) When the bit contains a 1, the corresponding sector is selected
00
H
(Header Block)
Mode Data
Checksum
(1 byte)
01
H
/03
H
/0F
H
(Mode 1/3/F)
Not Used (5 Bytes)
00
H
(Header
Block)
Checksum
Mode Data
(5 bytes)
04
H
(Mode 4)
Option
= 00
H
PFlash
_Bank
_Pair1
Not Used
PFlash
_Bank
_Pair0
PFlash
_Bank
_Pair2
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...