MC68HC711E20CFS2 MOTOROLA [Motorola, Inc], MC68HC711E20CFS2 Datasheet - Page 235

no-image

MC68HC711E20CFS2

Manufacturer Part Number
MC68HC711E20CFS2
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
AN1060 — Rev. 1.0
MOTOROLA
a more detailed discussion of the program as it pertains to
communicating with and programming the target MC68HC711E9. Lines
25–45 initialize and define the variables and array used in the program.
Changes to this section would allow for other programs to be
downloaded.
Lines 50–95 read in the small bootloader from DATA statements at the
end of the listing. The source code for this bootloader is presented in the
DATA statements. The bootloaded code makes port C bit 0 low,
initializes the X and Y registers for use by the EPROM programming
utility routine contained in the boot ROM, and then jumps to that routine.
The hexadecimal values read in from the DATA statements are
converted to binary values by a subroutine. The binary values are then
saved as one string (BOOTCODE$).
The next long section of code (lines 97–1250) reads in the S records
from an external disk file (in this case, BUF34.S19), converts them to
integer, and saves them in an array. The techniques used in this section
show how to convert ASCII S records to binary form that can be sent
(bootloaded) to an M68HC11.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
Figure 8. PC-to-MCU Programming Circuit
COMMON
PROGRAMMING
+12.25 V
POWER
PC0
P5-9
+
20 µ F
100
1K
JUMPER
V
DD
47K
LED
NORMAL EVBU
OPERATION
PROGRAM
EPROM
TO P5-18
(XIRQ/V
PPE
)
Application Note
235

Related parts for MC68HC711E20CFS2