TC1796
System Units (Vol. 1 of 2)
Program Memory Unit
User’s Manual
7-20
V2.0, 2007-07
PMU, V2.0
7.2.5.6
Erase Sector Command
The six-cycle Erase Sector command is used to erase a sector in PFLASH or DFLASH.
In PFLASH, either one of the 13 sectors PSx (x = 0-12) or one of the 2 physical sectors
PPS0 or PPS1 that each include four sectors can be erased. In DFLASH, one of its two
banks DB0 or DB1 (identical with sectors DS0 and DS1) can be erased.
The write address transmitted in the last cycle of the Erase Sector command is the sector
start address of the sector PSx that should be erased.
Table 7-10
Erase Sector Command
Cycle
No.
PFLASH
DFLASH
Sec-
tor
Address
Data
Bank Address
Data
Cycle 1 PSx
1)
1) “x” is the number of the PFLASH sector PSx that is defined in
(x = 0-12).
A000
5554
H
XXXX XX
AA
H
DB0
AFE0
5554
H
XXXX XX
AA
H
PPS0
DB1
AFE1
5554
H
PPS1
–
Cycle 2 PSx
A000
AAA8
H
XXXX XX
55
H
DB0
AFE0
AAA8
H
XXXX XX
55
H
PPS0
DB1
AFE1
AAA8
H
PPS1
–
Cycle 3 PSx
A000
5554
H
XXXX XX
80
H
DB0
AFE0
5554
H
XXXX XX
80
H
PPS0
DB1
AFE1
5554
H
PPS1
–
Cycle 4 PSx
A000
5554
H
XXXX XX
AA
H
DB0
AFE0
5554
H
XXXX XX
AA
H
PPS0
DB1
AFE1
5554
H
PPS1
–
Cycle 5 PSx
A000
AAA8
H
XXXX XX
55
H
DB0
AFE0
AAA8
H
XXXX XX
55
H
PPS0
DB1
AFE1
AAA8
H
PPS1
–
Cycle 6 PSx
A0
XX XXXX
H
2)
2) This is the complete 32-bit non-cached start address of the PFLASH sector PSx (x = 0-12) to be erased.
XXXX XX
30
H
DB0
AFE0 0000
H
XXXX XX
40
H
PPS0 A0
00 0000
H
XXXX XX
40
H
DB1
AFE1 0000
H
PPS1 A0
01 0000
H
–