English
Language : 

MC68HC908LJ24 Datasheet, PDF (190/464 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Monitor ROM (MON)
:
FILE_PTR:
BUS_SPD
DATASIZE
START_ADDR
DATAARRAY
ORG
DS.B
DS.B
DS.W
DS.B
RAM
1
; Indicates 4x bus frequency
1
; Data size to be programmed
1
; FLASH starting address
15 ; Reserved data array
EE_WRITE
EQU
FLASH_START EQU
$FC00
$EF00
NOTE:
ORG
FLASH
INITIALISATION:
MOV #20, BUS_SPD
MOV #15, DATASIZE
LDHX #FLASH_START
STHX START_ADDR
RTS
MAIN:
BSR INITIALISATION
:
:
LHDX #FILE_PTR
JSR EE_WRITE
The EE_WRITE routine is unable to check for incorrect data blocks,
such as the FLASH page boundary address and data size. It is the
responsibility of the user to ensure the starting address indicated in the
data block is at the FLASH page boundary and the data size is 2 to 15.
If the FLASH page is already programmed with a data array with a
different size, the EE_WRITE call will be ignored.
Data Sheet
190
MC68HC908LJ24/LK24 — Rev. 2
Monitor ROM (MON)
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA