MC68HC908JK8CP Freescale Semiconductor, MC68HC908JK8CP Datasheet - Page 97

MC68HC908JK8CP

Manufacturer Part Number
MC68HC908JK8CP
Description
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68HC908JK8CP

Cpu Family
HC08
Device Core Size
8b
Frequency (max)
8MHz
Interface Type
SCI
Program Memory Type
Flash
Program Memory Size
8KB
Total Internal Ram Size
256Byte
# I/os (max)
15
Number Of Timers - General Purpose
4
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
13-chx8-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Through Hole
Pin Count
20
Package Type
PDIP
Lead Free Status / Rohs Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908JK8CP
Manufacturer:
ALTERA
Quantity:
13
Part Number:
MC68HC908JK8CPE
Manufacturer:
FREESCALE
Quantity:
928
Part Number:
MC68HC908JK8CPE
Manufacturer:
FREESCALE
Quantity:
20 000
FILE_PTR:
BUS_SPD
DATASIZE
START_ADDR
DATAARRAY
PRGRNGE
FLASH_START
INITIALISATION:
MAIN:
7.5.2 ERARNGE
ERARNGE is used to erase a range of locations in FLASH.
There are two sizes of erase ranges: a page or the entire array. The ERARNGE will erase the page (64
consecutive bytes) in FLASH specified by the address ADDRH:ADDRL. This address can be any address
within the page. Calling ERARNGE with ADDRH:ADDRL equal to $FFFF will erase the entire FLASH
array (mass erase). Therefore, care must be taken when calling this routine to prevent an accidental mass
erase. To avoid undesirable routine return addresses after a mass erase, the ERARNGE routine should
not be called from code executed from FLASH memory. Load the code into an area of RAM before calling
the ERARNGE routine.
The ERARNGE routine do not use a data array. The DATASIZE byte is a dummy byte that is also not
used.
Freescale Semiconductor
:
MOV
MOV
LDHX
STHX
RTS
BSR
:
:
LDHX
JSR
Routine Name
Routine Description
Calling Address
Stack Used
Data Block Format
MC68HC908JL8/JK8 • MC68HC08JL8/JK8 • MC68HC908KL8 Data Sheet, Rev. 3.1
ORG
DS.B
DS.B
DS.W
DS.B
EQU
EQU
ORG
#20,
#32,
#FLASH_START
START_ADDR
INITIALISATION
#FILE_PTR
PRGRNGE
RAM
1; Indicates 4x bus frequency
1; Data size to be programmed
1; FLASH start address
32; Reserved data array
$FC06
$EF00
FLASH
BUS_SPD
DATASIZE
Table 7-12. ERARNGE Routine
ERARNGE
Erase a page or the entire array
$FCBE
9 bytes
Bus speed (BUS_SPD)
Data size (DATASIZE)
Starting address (ADDRH)
Starting address (ADDRL)
ROM-Resident Routines
97

Related parts for MC68HC908JK8CP