English
Language : 

MC68711E20CFNE3 Datasheet, PDF (210/242 Pages) –
Listing 1. MCU-to-MCU Duplicator Program
82 B666
83 B666 150482 DUNPRG
BCLR PORTB (RESET+RED) Red OFF, apply reset
84 B669 20FE
BRA *
Done so just hang
85 B66B
86
**************************************************
87
* Subroutine to get & send an SCI char. Also
88
* advances pointer (X).
89
**************************************************
90 B66B A600
SEND1
LDAA 0,X
Get a character
91 B66D 132E80FC TRDYLP
BRCLR SCSR TDRE TRDYLP Wait for TDRE
92 B671 972F
STAA SCDR
Send character
93 B673 08
INX
Advance pointer
94 B674 39
RTS
** Return **
95
96
**************************************************
97
* Program to be bootloaded to target '711E9
98
**************************************************
99 B675 8604
BLPROG
LDAA #$04
Pattern for DWOM off, no SPI
100 B677 B71028
STAA $1028
Turns off DWOM in target MCU
101
* NOTE: Can't use direct addressing in target MCU because
102
*
regs are located at $1000.
103 B67A 7EBF00
JMP PROGRAM
Jumps to EPROM prog routine
104 B67D
ENDBPR
EQU *
Symbol Table:
Symbol Name
Value Def.# Line Number Cross Reference
BEGIN
BLLOOP
BLPROG
DATALP
DLYLP
DLYLP2
DUNPRG
ENDBPR
EPSTRT
GREEN
INIT
PORTB
PORTE
PROGRAM
RDRF
RED
RESET
SCDR
SCSR
SEND1
SPCR
TDRE
TRDYLP
VERF
VERFOK
WT4BRK
WT4FF
WT4VPP
B600 *00029
B616 *00038
B675 *00099
B648 *00068
B620 *00046
B637 *00059
B666 *00083
B67D *00104
D000 *00023
0001 *00015
103D *00009
0004 *00011
000A *00016
BF00 *00022
0020 *00020
0002 *00014
0080 *00013
002F *00021
002E *00017
B66B *00090
0028 *00010
0080 *00019
B66D *00091
B64F *00071
B65F *00078
B60B *00034
B627 *00053
B630 *00057
00040
00037
00079
00047
00063
00076
00039
00055 00066
00075 00081
00029
00033 00058 00061 00075 00081 00083
00059
00103
00034 00053 00071
00058 00061 00075 00083
00032 00083
00036 00049 00054 00072 00092
00034 00048 00053 00071 00091
00038 00067 00070
00031
00091
00091
00069 00071
00074
00034
00053
00060
M68HC11 Bootstrap Mode, Rev. 1.1
210
Freescale Semiconductor