English
Language : 

MC908AP16CFAE Datasheet, PDF (131/324 Pages) Freescale Semiconductor, Inc – Table of Contents
ROM-Resident Routines
8.5.4 MON_PRGRNGE
In monitor mode, MON_PRGRNGE is used to program a range of FLASH locations with data loaded into
the data array.
Table 8-14. MON_PRGRNGE Routine
Routine Name MON_PRGRNGE
Routine Description Program a range of locations, in monitor mode
Calling Address $FF24
Stack Used 17 bytes
Data Block Format
Bus speed
Data size
Starting address (high byte)
Starting address (low byte)
Data 1
:
Data N
The MON_PRGRNGE routine is designed to be used in monitor mode. It performs the same function as
the PRGRNGE routine (see 8.5.1 PRGRNGE), except that MON_PRGRNGE returns to the main
program via an SWI instruction. After a MON_PRGRNGE call, the SWI instruction will return the control
back to the monitor code.
8.5.5 MON_ERARNGE
In monitor mode, ERARNGE is used to erase a range of locations in FLASH.
Table 8-15. MON_ERARNGE Routine
Routine Name MON_ERARNGE
Routine Description Erase a page or the entire array, in monitor mode
Calling Address $FF28
Stack Used 11 bytes
Data Block Format
Bus speed
Data size
Starting address (high byte)
Starting address (low byte)
The MON_ERARNGE routine is designed to be used in monitor mode. It performs the same function as
the ERARNGE routine (see 8.5.2 ERARNGE), except that MON_ERARNGE returns to the main program
via an SWI instruction. After a MON_ERARNGE call, the SWI instruction will return the control back to
the monitor code.
MC68HC908AP Family Data Sheet, Rev. 4
Freescale Semiconductor
131