Datasheet

FLASH Memory
ROM-Resident Routines
MC68HC908JB8•MC68HC08JB8•MC68HC08JT8 — Rev. 2.3 Technical Data
Freescale Semiconductor FLASH Memory 63
4.9.3 PROGRAM Routine
The PROGRAM routine programs a range of addresses in FLASH
memory, which does not have to be on page boundaries, either at the
begin or end address.
4.9.4 VERIFY Routine
The VERIFY routine reads and verifies a range of FLASH memory.
Table 4-4. PROGRAM Routine
Routine PROGRAM
Calling Address $FC09
Stack Use 7 Bytes
Input
CPUSPD — CPU speed
HX — FLASH start address to be programmed
LADDR — FLASH end address to be programmed
DATABUF — Contains the data to be programmed
Table 4-5. VERIFY Routine
Routine VERIFY
Calling Address $FC03
Stack Use 6 Bytes
Input
HX — FLASH start address to be verified
LADDR — FLASH end address to be verified
DATABUF — Contains the data to be verified
Output
C Bit — C bit is set if verify passes
DATABUF — Contains the data in the range of the
FLASH memory