mc68hc908rf2 Freescale Semiconductor, Inc, mc68hc908rf2 Datasheet - Page 39

no-image

mc68hc908rf2

Manufacturer Part Number
mc68hc908rf2
Description
M68hc08 Microcontrollers Microcontroller / Transmitter
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC68HC908RF2
Quantity:
119
Part Number:
mc68hc908rf2CFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908rf2CFA
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc68hc908rf2CFA
Quantity:
119
Part Number:
mc68hc908rf2MFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
2.5.8.5 Example Routine Calls
MC68HC908RF2 — Rev. 4.0
MOTOROLA
The row whose cycling bit is different will be erased and the entire row will be
programmed with the given data, including a toggled version of the cycling bit.
This code is for illustrative purposes only and does not represent valid syntax for
any particular assembler.
RAM
RDVRRNG
PRGRNGE
ERANRGE
REDPROG
;*************************************************************
;**************************************************************
ORG
CTRLBYT
CPUSPD
LADDR
BUMPS
DERASE
;Allocation of “DATA” space is dependent on the device and
;application
DATA
;*************************************************************
; CALLING EXAMPLE FOR READ/VERIFY A RANGE (RDVRRNG)
;**************************************************************
LDA
LDHX
STHX
LDHX
JSR
;*************************************************************;
CALLING EXAMPLE FOR ERASE A RANGE (RNGEERA)
;**************************************************************
MOV
MOV
LDHX
STHX
RAM Definitions for Subroutines
Freescale Semiconductor, Inc.
RMB
#$FF
#$08,CPUSPD
#$60,CTRLBYT
#100000/24
DERASE
For More Information On This Product,
RAM+8
#$7807
LADDR
#$7800
RDVRRNG
Go to: www.freescale.com
EQU
EQU
EQU
EQU
EQU
RMB
RMB
RMB
RMB
RMB
8
Memory
$80
$F000
$F003
$F006
$F009
1
1
2
1
2
;TARGET IS RAM
;END AFTER FIRST ROW
;START AT FIRST ROW
;DATA WILL CONTAIN FLASH INFO
;Load Bus frequency in MHz * 4
;Bits 5&6 hold the block size to erase
;00
;20
;40
;60
;Remember a Row is 1 byte
;Set erase time in uS/24, number in
;decimal
Full Array
One-Half Array
Eight Rows
Singe Row
FLASH 2TS Memory
Data Sheet
Memory
39

Related parts for mc68hc908rf2