English
Language : 

MC908JB16DWE Datasheet, PDF (69/332 Pages) Freescale Semiconductor, Inc – Microcontrollers
FLASH Memory
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.
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
4.9.4 VERIFY Routine
The VERIFY routine reads and verifies a range of FLASH memory.
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
MC68HC908JB16 — Rev. 1.1
Freescale Semiconductor
FLASH Memory
Technical Data
69