mc68hc908jw32 Freescale Semiconductor, Inc, mc68hc908jw32 Datasheet - Page 104

no-image

mc68hc908jw32

Manufacturer Part Number
mc68hc908jw32
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908jw32FAE
Manufacturer:
FREESCALE
Quantity:
20 000
Monitor ROM (MON)
The coding example below is to perform a page erase, from $EE00–$EFFF. The Initialization subroutine
is the same as the coding example for PRGRNGE (see
ERARNGE
MAIN:
7.5.3 LDRNGE
LDRNGE is used to load the data array in RAM with data from a range of FLASH locations.
The start location of FLASH from where data is retrieved is specified by the address ADDRH:ADDRL and
the number of bytes from this location is specified by DATASIZE. The maximum number of bytes that can
be retrieved in one routine call is 255 bytes. The data retrieved from FLASH is loaded into the data array
in RAM. Previous data in the data array will be overwritten. User can use this routine to retrieve data from
FLASH that was previously programmed.
The coding example below is to retrieve 64 bytes of data starting from $EE00 in FLASH. The Initialization
subroutine is the same as the coding example for PRGRNGE (see
LDRNGE
MAIN:
104
BSR
:
:
LDHX
JSR
:
BSR
:
:
LDHX
JSR
:
Routine Description
Data Block Format
EQU
INITIALISATION
#FILE_PTR
ERARNGE
EQU
INITIALIZATION
#FILE_PTR
LDRNGE
Calling Address
Routine Name
Stack Used
$FE13
$FA31
MC68HC908JW32 Data Sheet, Rev. 5
LDRNGE
Loads data from a range of locations
$FA31
10 bytes
Bus speed (BUS_SPD)
Data size (DATASIZE)
Starting address (ADDRH)
Starting address (ADDRL)
Data 1
Data N
Table 7-13. LDRNGE Routine
:
7.5.1
PRGRNGE).
7.5.1
PRGRNGE).
Freescale Semiconductor

Related parts for mc68hc908jw32