English
Language : 

MC908JL8CDWE Datasheet, PDF (99/212 Pages) Freescale Semiconductor, Inc – Microcontrollers
ROM-Resident Routines
7.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 7-14. MON_PRGRNGE Routine
Routine Name
Routine Description
Calling Address
Stack Used
Data Block Format
MON_PRGRNGE
Program a range of locations, in monitor mode
$FC28
17 bytes
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 7.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.
7.5.5 MON_ERARNGE
In monitor mode, ERARNGE is used to erase a range of locations in FLASH.
Table 7-15. MON_ERARNGE Routine
Routine Name
Routine Description
Calling Address
Stack Used
Data Block Format
MON_ERARNGE
Erase a page or the entire array, in monitor mode
$FF2C
11 bytes
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 7.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.
MC68HC908JL8/JK8 • MC68HC08JL8/JK8 • MC68HC908KL8 Data Sheet, Rev. 3.1
Freescale Semiconductor
99