MC68HC908JL8CP Freescale Semiconductor, MC68HC908JL8CP Datasheet - Page 97

no-image

MC68HC908JL8CP

Manufacturer Part Number
MC68HC908JL8CP
Description
IC MCU 8K FLASH 8MHZ 28-DIP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC68HC908JL8CP

Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Connectivity
SCI
Peripherals
LED, LVD, POR, PWM
Number Of I /o
23
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 13x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908JL8CP
Manufacturer:
FREESCALE Semiconductor
Quantity:
388
Part Number:
MC68HC908JL8CP
Manufacturer:
FRE/MOT
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 MC68HC908JL8CP