MC68HC711E9FU Freescale Semiconductor, MC68HC711E9FU Datasheet - Page 209

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
Freescale Semiconductor
27
28
29 B600 7F103D
30 B603 8604
31 B605 9728
32 B607 8680
33 B609 9704
34 B60B 132E20FC WT4BRK
35 B60F 86FF
36 B611 972F
37 B613 CEB675
38 B616 8D53
39 B618 8CB67D
40 B61B 26F9
41
42
43
44
45 B61D CE06A7
46 B620 09
47 B621 26FD
48 B623 962E
49 B625 962F
50
51
52
53 B627 132E20FC WT4FF
54 B62B 962F
55 B62D CED000
56
57 B630 18CE523D WT4VPP
58 B634 150402
59 B637 960A
60 B639 2AF5
61 B63B 140402
62 B63E 1809
63 B640 26F5
64
65
66 B642 18CED000
67 B646 8D23
68 B648 8C0000
69 B64B 2702
70 B64D 8D1C
71 B64F 132E20FC VERF
72 B653 962F
73 B655 18A100
74 B658 2705
75 B65A 150403
76 B65D 2007
77 B65F
78 B65F 1808
79 B661 26E5
80 B663
81 B663 140401
**************************************************
*
BEGIN
BLLOOP
*****
* Delay for about 4 char times to allow boot related
* SCI communications to finish before clearing
* Rx related flags
DLYLP
*****
* Now wait for character from target to indicate it's ready for
* data to be programmed into EPROM
* Handle turn-on of Vpp
DLYLP2
* Vpp has been stable for 200ms
DATALP
VERFOK
CLR
LDAA
STAA
LDAA
STAA
BRCLR
LDAA
STAA
LDX
BSR
CPX
BNE
LDX
DEX
BNE
LDAA
LDAA
BRCLR
LDAA
LDX
LDY
BCLR
LDAA
BPL
BSET
DEY
BNE
LDY
BSR
CPX
BEQ
BSR
BRCLR
LDAA
CMPA
BEQ
BCLR
BRA
INY
BNE
BSET
M68HC11 Bootstrap Mode, Rev. 1.1
INIT
#$04
SPCR
#RESET
PORTB
SCSR RDRF WT4BRK Loop till char received
#$FF
SCDR
#BLPROG
SEND1
#ENDBPR
BLLOOP
#1703
DLYLP
SCSR
SCDR
SCSR RDRF WT4FF
SCDR
#EPSTRT
#21053
PORTB RED
PORTE
WT4VPP
PORTB RED
DLYLP2
#EPSTRT
SEND1
#0
VERF
SEND1
SCSR RDRF VERF
SCDR
0,Y
VERFOK
PORTB (RED+GREEN) Turn off LEDs
DUNPRG
DATALP
PORTB GREEN
Moves Registers to $0000-3F
Pattern for DWOM off, no SPI
Turns off DWOM in EVBU MCU
Release reset to target MCU
Leading char for bootload ...
to target MCU
Point at program for target
Bootload to target
Past end ?
Continue till all sent
# of 6 cyc loops
[3]
[3] Total loop time = 6 cyc
Read status (RDRF will be set)
Read SCI data reg to clear RDRF
Wait for RDRF
Clear RDRF, don't need data
Point at start of EPROM
Delay counter (about 200ms)
Turn off RED LED
[3] Wait for Vpp to be ON
[3] Vpp sense is on port E MSB
[6] Turn on RED LED
[4]
[3] Total loop time = 19 cyc
X=Tx pointer, Y=verify pointer
Send first data to target
X points at $0000 after last
Skip send if no more
Send another data char
Wait for Rx ready
Get char and clr RDRF
Does char verify ?
Skip error if OK
Done (programming failed)
Advance verify pointer
Continue till all done
Grn LED ON
Listing 1. MCU-to-MCU Duplicator Program
209

Related parts for MC68HC711E9FU