English
Language : 

MC68HC908JB8 Datasheet, PDF (61/286 Pages) Motorola, Inc – MICROCONTROLLERS
FLASH Memory
ROM-Resident Routines
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:
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.
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.
Routine
Name
VERIFY
ERASE
PROGRAM
Table 4-1. ROM-Resident Routines
Call Address
Routine Function
$FC03
$FC06
$FC09
FLASH verify routine
FLASH mass erase routine
FLASH program routine
MC68HC908JB8•MC68HC08JB8•MC68HC08JT8 — Rev. 2.3
Freescale Semiconductor
FLASH Memory
Technical Data
61