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 Table 7-1 (x = 0-12).
A000 5554
H
XXXX XXAA
H
DB0 AFE0 5554
H
XXXX XXAA
H
PPS0 DB1 AFE1 5554
H
PPS1 –
Cycle 2 PSx
1)
A000 AAA8
H
XXXX XX55
H
DB0 AFE0 AAA8
H
XXXX XX55
H
PPS0 DB1 AFE1 AAA8
H
PPS1 –
Cycle 3 PSx
1)
A000 5554
H
XXXX XX80
H
DB0 AFE0 5554
H
XXXX XX80
H
PPS0 DB1 AFE1 5554
H
PPS1 –
Cycle 4 PSx
1)
A000 5554
H
XXXX XXAA
H
DB0 AFE0 5554
H
XXXX XXAA
H
PPS0 DB1 AFE1 5554
H
PPS1 –
Cycle 5 PSx
1)
A000 AAA8
H
XXXX XX55
H
DB0 AFE0 AAA8
H
XXXX XX55
H
PPS0 DB1 AFE1 AAA8
H
PPS1 –
Cycle 6 PSx
1)
A0XX 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 XX30
H
DB0 AFE0 0000
H
XXXX XX40
H
PPS0 A000 0000
H
XXXX XX40
H
DB1 AFE1 0000
H
PPS1 A001 0000
H
–