mc68hc11d0cfn2 Freescale Semiconductor, Inc, mc68hc11d0cfn2 Datasheet - Page 32

no-image

mc68hc11d0cfn2

Manufacturer Part Number
mc68hc11d0cfn2
Description
M68hc11 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC11D0CFN2
Manufacturer:
FREESCALE
Quantity:
8 831
Operating Modes and Memory
2.4.1 Programming an Individual EPROM Address
2.4.2 Programming the EPROM with Downloaded Data
Data Sheet
32
As described in the following subsections, these two methods of programming and
verifying EPROM are possible:
In this method, the MCU programs its own EPROM by controlling the PPROG
register. Use these procedures to program the EPROM through the MCU with:
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
use the resident utility, bootload a 3-byte program consisting of a single jump
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 = $F000).
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.
1. Programming an individual EPROM address
2. Programming the EPROM with downloaded data
EPROG
Freescale Semiconductor, Inc.
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.
For More Information On This Product,
LDAB
STAB
STAA
LDAB
STAB
JSR
CLR
Operating Modes and Memory
Go to: www.freescale.com
#$20
$003B
$0,X
#$21
$003B
DLYEP
$003B
Set ELAT bit (PGM = 0) to enable
EPROM latches.
Store data to EPROM address
Set PGM bit with ELAT = 1 to enable
EPROM programming voltage
Delay 2–4 ms
Turn off programming voltage and set
to READ mode
MC68HC711D3 — Rev. 2
PP
MOTOROLA
PP
pin. To
pin

Related parts for mc68hc11d0cfn2