English
Language : 

MC68HC908RK2 Datasheet, PDF (56/232 Pages) Motorola, Inc – Microcontroller Unit
FLASH 2TS Memory
4.11.3 ERARNGE Routine
Name: ERARNGE
Purpose: Erase a range of addresses in FLASH memory
Entry conditions: H:X
Contains an address in the range to be erased; range size
specified by control byte
CTLBYTE Contains the erase block size in bits 5 and 6 (see Table 4-5)
DERASE Contains the erase delay time in µs/24
CPUSPD CPU frequency times 4 in MHz
Bit 6
0
0
1
1
Table 4-5. CTLBYTE-Erase Block Size
Bit 5
0
1
0
1
Block Size
Full array
One half array
Eight rows: 64 pages
Single row: 8 pages
Exit conditions: I bit
Set, masking interrupts.
This routine erases the block of FLASH defined by H:X and CTLBYTE.
The algorithm defined in 4.6 FLASH 2TS Erase Operation is used.
Preserves the contents of H:X (address passed)
Advance Information
56
FLASH 2TS Memory
MC68HC908RK2 — Rev. 4.0
MOTOROLA