MC68HC908LJ12CPB FREESCALE [Freescale Semiconductor, Inc], MC68HC908LJ12CPB Datasheet - Page 181

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Monitor ROM (MON)
Technical Data
182
NOTE:
FILE_PTR:
BUS_SPD
DATASIZE
START_ADDR
DATAARRAY
EE_WRITE
FLASH_START
INITIALISATION:
MAIN:
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.
:
MOV
MOV
LDHX
STHX
RTS
BSR
:
:
LHDX
JSR
Monitor ROM (MON)
ORG
DS.B
DS.B
DS.W
DS.B
EQU
EQU
ORG
#20,
#15,
#FLASH_START
START_ADDR
INITIALISATION
FILE_PTR
EE_WRITE
RAM
1
1
1
15
$FC00
$EF00
FLASH
BUS_SPD
DATASIZE
; Indicates 4x bus frequency
; Data size to be programmed
; FLASH starting address
; Reserved data array
MC68HC908LJ12
Freescale Semiconductor
Rev. 2.1

Related parts for MC68HC908LJ12CPB