English
Language : 

MC68711E20CFNE3 Datasheet, PDF (222/242 Pages) –
Listing 3. MC68HC711E9 Bootloader ROM
Listing 3. MC68HC711E9 Bootloader ROM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 0008
30 000E
31 0016
32 0023
33
34 0080
35
36 0028
37 002B
38 002D
39 002E
40 002F
41 003B
42
43 0020
44 0001
45
46
47
48
49 B600
50 B7FF
51
****************************************************
* BOOTLOADER FIRMWARE FOR 68HC711E9 - 21 Aug 89
****************************************************
* Features of this bootloader are...
*
* Auto baud select between 7812.5 and 1200 (8 MHz)
* 0 - 512 byte variable length download
* Jump to EEPROM at $B600 if 1st download byte = $00
* PROGRAM - Utility subroutine to program EPROM
* UPLOAD - Utility subroutine to dump memory to host
* Mask I.D. at $BFD4 = $71E9
****************************************************
* Revision A -
*
* Fixed bug in PROGRAM routine where the first byte
* programmed into the EPROM was not transmitted for
* verify.
* Also added to PROGRAM routine a skip of bytes
* which were already programmed to the value desired.
*
* This new version allows variable length download
* by quitting reception of characters when an idle
* of at least four character times occurs
*
****************************************************
* EQUATES FOR USE WITH INDEX OFFSET = $1000
*
PORTD EQU $08
TCNT
EQU $0E
TOC1
EQU $16
TFLG1 EQU $23
* BIT EQUATES FOR TFLG1
OC1F
EQU $80
*
SPCR
EQU $28
(FOR DWOM BIT)
BAUD
EQU $2B
SCCR2 EQU $2D
SCSR
EQU $2E
SCDAT EQU $2F
PPROG EQU $3B
* BIT EQUATES FOR PPROG
ELAT
EQU $20
EPGM
EQU $01
*
* MEMORY CONFIGURATION EQUATES
*
EEPMSTR EQU $B600
Start of EEPROM
EEPMEND EQU $B7FF
End of EEPROM
*
M68HC11 Bootstrap Mode, Rev. 1.1
222
Freescale Semiconductor