English
Language : 

MC68HC08JL8 Datasheet, PDF (100/212 Pages) Freescale Semiconductor, Inc – Microcontrollers
Monitor ROM (MON)
7.5.6 MON_LDRNGE
In monitor mode, LDRNGE is used to load the data array in RAM with data from a range of FLASH
locations.
Table 7-16. ICP_LDRNGE Routine
Routine Name
Routine Description
Calling Address
Stack Used
Data Block Format
MON_LDRNGE
Loads data from a range of locations, in monitor mode
$FF24
11 bytes
Bus speed
Data size
Starting address (high byte)
Starting address (low byte)
Data 1
:
Data N
The MON_LDRNGE routine is designed to be used in monitor mode. It performs the same function as the
LDRNGE routine (see 7.5.3 LDRNGE), except that MON_LDRNGE returns to the main program via an
SWI instruction. After a MON_LDRNGE call, the SWI instruction will return the control back to the monitor
code.
7.5.7 EE_WRITE
EE_WRITE is used to write a set of data from the data array to FLASH.
Table 7-17. EE_WRITE Routine
Routine Name
EE_WRITE
Routine Description
Emulated EEPROM write. Data size ranges from 2 to 15 bytes at
a time.
Calling Address
$FD3F
Stack Used
24 bytes
Data Block Format
Bus speed (BUS_SPD)
Data size (DATASIZE)(1)
Starting address (ADDRH)(2)
Starting address (ADDRL)(1)
Data 1
:
Data N
1. The minimum data size is 2 bytes. The maximum data size is 15 bytes.
2. The start address must be a page boundary start address: $xx00, $xx40, $xx80, or $00C0.
The start location of the FLASH to be programmed is specified by the address ADDRH:ADDRL and the
number of bytes in the data array is specified by DATASIZE. The minimum number of bytes that can be
MC68HC908JL8/JK8 • MC68HC08JL8/JK8 • MC68HC908KL8 Data Sheet, Rev. 3.1
100
Freescale Semiconductor