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