Freescale Semiconductor, Inc.
FLASH 2TS Memory
Table 4-4. Embedded FLASH Routine Global Variables
(1)
Variable Location
CTRLBYT
CPUSPD
LADDR
Variable Address
RAMSTART + 8
RAMSTART + 9
RAMSTART + 10
RAMSTART + 12
RAMSTART + 13
RAMSTART + 15
BUMPS
DERASE
DATA
1. RAMSTART is defined as the starting address of the RAM in the memory map.
This is address $0080.
4.11 Embedded Function Descriptions
This subsection describes the embedded functions.
4.11.1 RDVRRNG Routine
Name:
Purpose:
RDVRRNG
Read and/or verify a range of FLASH memory
Entry conditions:
H:X
Contains the first address of the range
Contains the last address of the range
LADDR
DATA
Contains the data to compare the read data against for
read/verify to RAM only (length is user determined)
ACC
Non-zero for read/verify to RAM, 0 for output to PA0
Exit conditions:
C bit
Set if good compare for read/verify to RAM only
Contains checksum
ACC
DATA
Contains read FLASH data for read/verify to RAM only
Advance Information
54
MC68HC908RFRK2
FLASH 2TS Memory
MOTOROLA
For More Information On This Product,
Go to: www.freescale.com