MC68HC711E20CFN2 Freescale Semiconductor, MC68HC711E20CFN2 Datasheet - Page 48

no-image

MC68HC711E20CFN2

Manufacturer Part Number
MC68HC711E20CFN2
Description
IC MCU 20K 2MHZ OTP 52-PLCC
Manufacturer
Freescale Semiconductor
Series
HC11r
Datasheets

Specifications of MC68HC711E20CFN2

Core Processor
HC11
Core Size
8-Bit
Speed
2MHz
Connectivity
SCI, SPI
Peripherals
POR, WDT
Number Of I /o
38
Program Memory Size
20KB (20K x 8)
Program Memory Type
OTP
Eeprom Size
512 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
52-PLCC
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Operating Modes and On-Chip Memory
2.4.1 Programming an Individual EPROM Address
This example applies to all devices with EPROM/OTPROM except for the MC68HC711E20.
This example applies only to MC68HC711E20.
2.4.2 Programming the EPROM with Downloaded Data
When using this method, the EPROM is programmed by software while in the special test or bootstrap
modes. User-developed software can be uploaded through the SCI or a ROM-resident EPROM
programming utility can be used. The 12-volt nominal programming voltage must be present on the
XIRQ/V
instruction to $BF00. $BF00 is the starting address of a resident EPROM programming utility. The utility
program sets the X and Y index registers to default values, then receives programming data from an
external host, and puts it in EPROM. The value in IX determines programming delay time. The value in
IY is a pointer to the first address in EPROM to be programmed (default = $D000).
When the utility program is ready to receive programming data, it sends the host the $FF character. Then
it waits. When the host sees the $FF character, the EPROM programming data is sent, starting with the
first location in the EPROM array. After the last byte to be programmed is sent and the corresponding
verification data is returned, the programming operation is terminated by resetting the MCU.
For more information, Freescale application note AN1060 entitled
included at the back of this document.
48
EPROG
EPROG
In this method, the MCU programs its own EPROM by controlling the PPROG register (EPROG in
MC68HC711E20). Use these procedures to program the EPROM through the MCU with:
The ROMON bit set in the CONFIG register
The 12-volt nominal programming voltage present on the XIRQ/V
The IRQ pin must be pulled high.
PPE
pin. To use the resident utility, bootload a 3-byte program consisting of a single jump
LDAB
STAB
STAA
LDAB
STAB
JSR
CLR
LDAB
STAB
STAA
LDAB
STAB
JSR
CLR
Any operating mode can be used.
#$20
$103B
$0,X
#$21
$103B
DLYEP
$103B
#$20
$1036
$0,X
#$21
$1036
DLYEP
$1036
Set ELAT bit in (EPGM = 0) to enable
EPROM latches.
Store data to EPROM address
Set EPGM bit with ELAT = 1 to enable
EPROM programming voltage
Delay 2–4 ms
Turn off programming voltage and set
to READ mode
Set ELAT bit (EPGM = 0) to enable
EPROM latches.
Store data to EPROM address
Set EPGM bit with ELAT = 1 to enable
EPROM programming voltage
Delay 2–4 ms
Turn off programming voltage and set
to READ mode
M68HC11E Family Data Sheet, Rev. 5.1
NOTE
M68HC11 Bootstrap Mode
PPE
pin
Freescale Semiconductor
has been

Related parts for MC68HC711E20CFN2