Datasheet

FLASH Memory
ROM-Resident Routines
MC68HC908JB8•MC68HC08JB8•MC68HC08JT8 — Rev. 2.3 Technical Data
Freescale Semiconductor FLASH Memory 61
BPR0 is used only for BPR[7:0] = $FF, for no block protection.
The resultant 16-bit address is used for specifying the start address
of the FLASH memory for block protection. The FLASH is protected
from this start address to the end of FLASH memory, at $FFFF. With
this mechanism, the protect start address can be X000, X200, X400,
X600, X800, XA00, XC00, or XE00 within the FLASH memory.
Examples of protect start address:
4.9 ROM-Resident Routines
ROM-resident routines can be called by a program running in user mode
or in monitor mode (see Section 10. Monitor ROM (MON)) for FLASH
programming, erasing, and verifying. The range of the FLASH memory
must be unprotected (see 4.8 FLASH Protection) before calling the
erase or programming routine.
BPR[7:0] Start of Address of Protect Range
$00 to $DC The entire FLASH memory is protected.
$DE (1101 1110) $DE00 (1101 1110 0000 0000)
$E0 (1110 0000)$E000 (1110 0000 0000 0000)
$E2 (1110 0010)$E200 (1110 0010 0000 0000)
$E4 (1110 0100)$E400 (1110 0100 0000 0000)
and so on...
$FE $FFE0–$FFFF (User vectors)
$FF The entire FLASH memory is not protected.
Note:
The end address of the protected range is always $FFFF.
Table 4-1. ROM-Resident Routines
Routine
Name
Call Address Routine Function
VERIFY $FC03 FLASH verify routine
ERASE $FC06 FLASH mass erase routine
PROGRAM $FC09 FLASH program routine