English
Language : 

MC68HC11P2 Datasheet, PDF (43/268 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Operating Modes and On-Chip Memory
Operating modes
3.3.4 Special bootstrap mode
When the MCU is reset in special bootstrap mode, a small on-chip ROM
is enabled at address $BE40–$BFFF. The ROM contains a reset vector
and a bootloader program. The MCU fetches the reset vector, then
executes the bootloader.
For normal use of the bootloader program, send a synchronization byte
$FF to the SCI receiver at either E clock ÷256, or E clock ÷1664 (7812
or 1200 baud respectively, for an E clock of 2MHz). Then download up
to 1024 bytes of program data (which is put into RAM starting at $0080).
These characters are echoed through the transmitter. The bootloader
program ends the download after a timeout of four character times or
1024 bytes. When loading is complete, the program jumps to location
$0080 and begins executing the code. Use of an external pull-up resistor
is required when using the SCI transmitter pin (TXD) because port D pins
are configured for wired-OR operation by the bootloader. In bootstrap
mode, the interrupt vectors point to RAM. This allows the use of
interrupts through a jump table.
Further baud rate options are available on the MC68HC11P2 by using a
different value for the synchronization byte, as shown in Table 3-1. Refer
also to Motorola application note AN1060, M68HC11 Bootstrap Mode
(the bootloader mode is similar to that used on the MC68HC11K4).
Table 3-1. Example bootloader baud rates
Sync.
byte
$FF
$FF
$F0
$FD
$FD
Timeout
delay
4 char.
4
4.9
17.3
13
2.00 MHz
7 812
1 200
9 600
5 208
3 906
Baud rates for an E clock of:
2.10MHz 3.00MHz 3.15MHz
8 192
11 718
12 288
1 260
1 800
1 890
10 080
14 400
15 120
5 461
7 812
8 192
4 096
5 859
6 144
4.00 MHz
15 624
2 400
19 200
10 416
7 812
MC68HC11P2 — Rev 1.0
Operating Modes and On-Chip Memory
For More Information On This Product,
Go to: www.freescale.com
Technical Data