MC908JL16CFAE FREESCALE [Freescale Semiconductor, Inc], MC908JL16CFAE Datasheet - Page 193

no-image

MC908JL16CFAE

Manufacturer Part Number
MC908JL16CFAE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
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 can 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
1. The listed stack size excludes the 2 bytes used by the calling instruction, JSR.
Figure
MON_PRGRNGE
MON_ERARNGE
MON_LDRNGE
Routine Name
PRGRNGE
EE_WRITE
ERARNGE
EE_READ
LDRNGE
16-15.
Figure 16-15. Data Block Format for ROM-Resident Routines
ADDRESS AS POINTER
FILE_PTR
Table 16-10. Summary of ROM-Resident Routines
Erase a page or the entire array in monitor mode
Program a range of locations in monitor mode
Emulated EEPROM write. Data size ranges
Emulated EEPROM read. Data size ranges
Loads data from a range of locations in
Loads data from a range of locations
Erase a page or the entire array
ARRAY
DATA
Program a range of locations
from 2 to 15 bytes at a time.
from 2 to 15 bytes at a time.
MC68HC908JL16 Data Sheet, Rev. 1.1
$XXXX
Routine Description
monitor mode
START ADDRESS HIGH (ADDRH)
START ADDRESS LOW (ADDRL)
BUS SPEED (BUS_SPD)
DATA SIZE (DATASIZE)
R
DATA N
DATA 0
DATA 1
A
M
Call Address
$FCBE
$FDD0
$FF2C
$FD3F
$FC06
$FF30
$FF28
$FF24
BLOCK
DATA
Monitor Module (MON)
Stack Used
(bytes)
11
13
11
24
18
7
9
9
(1)
193

Related parts for MC908JL16CFAE