MC68HC11E1CFN3R2 Freescale Semiconductor, MC68HC11E1CFN3R2 Datasheet - Page 224

MC68HC11E1CFN3R2

Manufacturer Part Number
MC68HC11E1CFN3R2
Description
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68HC11E1CFN3R2

Cpu Family
HC11
Device Core Size
8b
Frequency (max)
3MHz
Interface Type
SCI/SPI
Program Memory Type
ROMLess
Program Memory Size
Not Required
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
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
52
Package Type
PLCC
Lead Free Status / Rohs Status
Not Compliant
Listing 3. MC68HC711E9 Bootloader ROM
107
108
109
110 BF13
111 BF13 3C
112 BF14 CE1000
113 BF17
114
115
116 BF17 1F2E80FC
117 BF1B 86FF
118 BF1D A72F
119
120 BF1F
121 BF1F 1F2E20FC
122 BF23 E62F
123 BF25 18E100
124 BF28 271D
125 BF2A 8620
126 BF2C A73B
127 BF2E 18E700
128 BF31 8621
129 BF33 A73B
130 BF35 32
131 BF36 33
132 BF37 37
133 BF38 36
134 BF39 E30E
135 BF3B ED16
136 BF3D 8680
137 BF3F A723
138
139 BF41 1F2380FC
140 BF45 6F3B
141
142 BF47
143 BF47 1F2E80FC
144 BF4B 18A600
145 BF4E A72F
146 BF50 1808
147 BF52 20CB
148
149
150
151
152
153
154
155 BF54
156 BF54 8E01FF
157 BF57 CE1000
158 BF5A 1C2820
159 BF5D CCA20C
160 BF60 A72B
161
224
* This routine uses 2 bytes of stack space
* Routine does not return. Reset to exit.
****************************************************
PRGROUT
* Send $FF to indicate ready for program data
WAIT1
*
DONEIT
* Loops indefinitely as long as more data sent.
****************************************************
* Main bootloader starts here
****************************************************
* RESET vector points to here
BEGIN
* Writing 1 to MSB of BAUD resets count chain
EQU
PSHX
LDX
BRCLR
LDAA
STAA
EQU
BRCLR
LDAB
CMPB
BEQ
LDAA
STAA
STAB
LDAA
STAA
PULA
PULB
PSHB
PSHA
ADDD
STD
LDAA
STAA
BRCLR
CLR
EQU
BRCLR
LDAA
STAA
INY
BRA
EQU
LDS
LDX
BSET
LDD
STAA
M68HC11 Bootstrap Mode, Rev. 1.1
*
#$1000
SCSR,X $80 *
#$FF
SCDAT,X
*
SCSR,X $20 *
SCDAT,X
$0,Y
DONEIT
#ELAT
PPROG,X
0,Y
#ELAT+EPGM
PPROG,X
TCNT,X
TOC1,X
#OC1F
TFLG1,X
TFLG1,X OC1F * Wait for delay to expire
PPROG,X
*
SCSR,X $80 *
$0,Y
SCDAT,X
WAIT1
*
#RAMEND
#$1000
SPCR,X $20
#$A20C
BAUD,X
Save program delay constant
Point to internal registers
Wait for TDRE
Wait for RDRF
Get received byte
See if already programmed
If so, skip prog cycle
Put EPROM in prog mode
Write the data
Turn on prog voltage
Pull delay constant
into D-reg
But also keep delay
keep delay on stack
Delay const + present TCNT
Schedule OC1 (2ms delay)
Clear any previous flag
Turn off prog voltage
Wait for TDRE
Read from EPROM and...
Xmit for verify
Point at next location
Back to top for next
Initialize stack pntr
Point at internal regs
Select port D wire-OR mode
BAUD in A, SCCR2 in B
SCPx = ÷4, SCRx = ÷4
Freescale Semiconductor

Related parts for MC68HC11E1CFN3R2