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

no-image

MC908JL16CFAE

Manufacturer Part Number
MC908JL16CFAE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Development Support
FILE_PTR:
BUS_SPD
DATASIZE
START_ADDR
DATAARRAY
EE_WRITE
FLASH_START
INITIALISATION:
MAIN:
200
MOV
MOV
LDHX
STHX
RTS
BSR
:
:
LHDX
JSR
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. When the
EE_WRITE routine detects a different data size from the size set up in the
previous operation, the operation will not be executed. However in some
situations, the routine cannot detect incorrect data size. The user must
ensure that data size is same as the previous operation whenever this
routine is executed.
ORG
:
DS.B
DS.B
DS.W
DS.B
EQU
EQU
ORG
#20,BUS_SPD
#15,DATASIZE
#FLASH_START
START_ADDR
INITIALISATION
#FILE_PTR
EE_WRITE
RAM
1
1
1
15
$FD3F
$EF00
FLASH
MC68HC908JL16 Data Sheet, Rev. 1.1
; Indicates 4x bus frequency
; Data size to be programmed
; FLASH page start address
; Reserved data array
NOTE
Freescale Semiconductor

Related parts for MC908JL16CFAE