MC68HC711E9FU Freescale Semiconductor, MC68HC711E9FU Datasheet - Page 212

MC68HC711E9FU

Manufacturer Part Number
MC68HC711E9FU
Description
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68HC711E9FU

Cpu Family
HC11
Device Core Size
8b
Frequency (max)
4MHz
Interface Type
SCI/SPI
Program Memory Type
EPROM
Program Memory Size
12KB
Total Internal Ram Size
512Byte
# I/os (max)
38
Number Of Timers - General Purpose
8
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
3V
On-chip Adc
8-chx8-bit
Instruction Set Architecture
CISC
Operating Temp Range
0C to 70C
Operating Temperature Classification
Commercial
Mounting
Surface Mount
Pin Count
64
Package Type
PQFP
Lead Free Status / Rohs Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC711E9FU
Manufacturer:
MOT
Quantity:
47
Driving Boot Mode from a Personal Computer
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.
This S-record translator only looks for the S1 records that contain the actual object code. All other
S-record types are ignored.
When an S1 record is found (lines 1000–1024), the next two characters form the hex byte giving the
number of hex bytes to follow. This byte is converted to integer by the same subroutine that converted the
bootloaded code from the DATA statements. This BYTECOUNT is adjusted by subtracting 3, which
accounts for the address and checksum bytes and leaves just the number of object-code bytes in the
record.
Starting at line 1100, the 2-byte (4-character) starting address is converted to decimal. This address is
the starting address for the object code bytes to follow. An index into the CODE% array is formed by
subtracting the base address initialized at the start of the program from the starting address for this S
record.
A FOR-NEXT loop starting at line 1130 converts the object code bytes to decimal and saves them in the
CODE% array. When all the object code bytes have been converted from the current S record, the
program loops back to find the next S1 record.
212
COMMON
PROGRAMMING
Figure 8. PC-to-MCU Programming Circuit
+12.25 V
POWER
PC0
M68HC11 Bootstrap Mode, Rev. 1.1
P5-9
+
20 µ F
100
1K
JUMPER
V DD
47K
LED
NORMAL EVBU
OPERATION
PROGRAM
EPROM
TO P5-18
(XIRQ/V
PPE
)
Freescale Semiconductor

Related parts for MC68HC711E9FU