XC886/888CLM
Bootstrap Loader
User’s Manual
18-13
V1.3, 2010-02
Bootstrap Loader, V1.0
PFlash_Bank_Pair1
: The sectors 0 to 2 of P-Flash Bank Pair 1 (Banks 2 and 3) are
represented by bits 0 to 2
. For example, a value of 05
H
in the PFlash_Bank_Pair1 byte
selects sectors 0 and 2 of P-Flash Banks 2 and 3 for erase.
PFlash_Bank_Pair2
: The sectors 0 to 2 of P-Flash Bank Pair 2 (Banks 4 and 5) are
represented by bits 0 to 2
. For example, a value of 07
H
in the PFlash_Bank_Pair0 byte
selects sectors 0, 1 and 2 of P-Flash Banks 4 and 5 for erase.
Not used
: The byte is not used and will be ignored.
Hence, the sectors of different P-Flash Banks can be erased at one time.
When
Option
= 40
H
, this mode is used to erase the D-Flash sector(s). The header block
has the following structure:
The Header Block
Mode Data Description:
DFlash_Bank0_L
: The sectors 0 to 7 of D-Flash Bank 0 are represented are
represented by bits 0 to 7
1)
. For example, a value of 12
H
in the DFlash_Bank0_L byte
selects sectors 1 and 4 of D-Flash Bank 0 for erase.
DFlash_Bank0_H
2)
: The sectors 8 and 9 of D-Flash Bank 0 are represented are
represented by bits 0 to 1
. For example, a value of 01
H
in the DFlash_Bank0_H byte
selects sector 8 of D-Flash Bank 0 for erase.
DFlash_Bank1_L
: The sectors 0 to 7 of D-Flash Bank 1 are represented are
represented by bits 0 to 7
. For example, a value of 12
H
in the DFlash_Bank1_L byte
selects sectors 1 and 4 of D-Flash Bank 1 for erase.
: The sectors 8 and 9 of D-Flash Bank 1 are represented are
represented by bits 0 to 1
. For example, a value of 01
H
in the DFlash_Bank1_H byte
selects sector 8 of D-Flash Bank 1 for erase.
Thus the sectors of different D-Flash Banks can be erased at one time.
When
Option
= C0
H
, this mode is used to do a mass erase of all the sectors in the P-
Flash and the D-Flash. The header block has the following structure:
1) When the bit contains a 1, the corresponding sector is selected
2) Bits 2 to 7 must be cleared to 0.
00
H
(Header
Block)
Checksum
Mode Data
(5 bytes)
04
H
(Mode 4)
Option
= 40
H
DFlash_
Bank1_L
DFlash_
Bank0_L
DFlash_
Bank0_H
DFlash_
Bank1_H
*