MC68HC908AP16CFA MOTOROLA [Motorola, Inc], MC68HC908AP16CFA Datasheet - Page 168

no-image

MC68HC908AP16CFA

Manufacturer Part Number
MC68HC908AP16CFA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Monitor ROM (MON)
10.5 ROM-Resident Routines
Data Sheet
168
MON_PRGRNGE
MON_ERARNGE
Routine Name
PRGRNGE
EE_WRITE
ERARNGE
EE_READ
LDRNGE
Seven routines stored in the monitor ROM area (thus ROM-resident) are
provided for FLASH memory manipulation. Five of the seven routines
are intended to simplify FLASH program, erase, and load operations.
The other two routines are intended to simplify the use of the FLASH
memory as EEPROM.
resident routines.
The routines are designed to be called as stand-alone subroutines in the
user program or monitor mode. The parameters that are passed to a
routine are in the form of a contiguous data block, stored in RAM. The
index register (H:X) is loaded with the address of the first byte of the data
block (acting as a pointer), and the subroutine is called (JSR). Using the
start address as a pointer, multiple data blocks can be used, any area of
RAM be used. A data block has the control and data bytes in a defined
order, as shown in
During the software execution, it does not consume any dedicated RAM
location, the run-time heap will extend the system stack, all other RAM
location will not be affected.
Freescale Semiconductor, Inc.
Table 10-10. Summary of ROM-Resident Routines
For More Information On This Product,
Program a range of locations
Erase a page or the entire array
Loads data from a range of locations
Program a range of locations in
monitor mode
Erase a page or the entire array in
monitor mode
Emulated EEPROM write. Data size
ranges from 7 to 15 bytes at a time.
Emulated EEPROM read. Data size
ranges from 7 to 15 bytes at a time.
Go to: www.freescale.com
Routine Description
Figure
Table 10-10
10-9.
shows a summary of the ROM-
MC68HC908AP Family — Rev. 2.5
Address
$FC34
$FCE4
$FC00
$FF24
$FF28
$FF36
$FD5B
Call
Stack Used
MOTOROLA
(bytes)
15
17
11
30
18
9
7

Related parts for MC68HC908AP16CFA