English
Language : 

MC68HC05B6_13 Datasheet, PDF (198/302 Pages) Freescale Semiconductor, Inc – Microcontrollers
E.4
Bootstrap mode
The 432 bytes of self-check firmware on the MC68HC05B6 are replaced by 576 bytes of bootstrap
firmware. A detailed description of the modes of operation within bootstrap mode is given below.
The bootstrap program in mask ROM address locations $0200 to $024F and $3E00 to $3FEF can
be used to program the EPROM and the EEPROM, to check if the EPROM is erased or to load
and execute data in RAM.
After reset, while going to the bootstrap mode, the vector located at address $3FEE and $3FEF
(RESET) is fetched to start execution of the bootstrap program. To place the part in bootstrap
mode, the IRQ pin should be at + 9V with the TCAP1 pin ‘high’ during transition of the RESET pin
from low to high. The hold time on the IRQ and TCAP1 pins is two clock cycles after the external
RESET pin is brought high.
When the MC68HC705B16 is placed in the bootstrap mode, the bootstrap reset vector is fetched
and the bootstrap firmware starts to execute. Table E-4 shows the conditions required to enter
each level of bootstrap mode on the rising edge of RESET.
Table E-4 Mode of operation selection
IRQ pin
VSS to VDD
+ 9 Volts
+ 9 Volts
TCAP1 pin
VSS to VDD
VDD
VDD
+ 9 Volts
VDD
+ 9 Volts
VDD
+ 9 Volts
VDD
x = Don’t care
PD1 PD2 PD3 PD4
Mode
x x x x Single chip
0 0 x 0 Erased EPROM verification (EEV)
1
0
0
0
Erased EPROM verification; erase EEPROM; EPROM/EEPROM
parallel program/verify
1
0
1
0
Erased EPROM verification; erase EEPROM;
EPROM/EEPROM/ RAM serial bootstrap load and execute
x x 0 1 RAM parallel bootstrap load and execute (if SEC bit = 1)
x x 1 1 Serial EPROM/EEPROM/RAM bootloader (if SEC = 1)
The bootstrap program first copies part of itself in RAM (except ‘RAM parallel load’), as the
program cannot be executed in ROM during verification/programming of the EPROM. It then sets
the TCMP1 output to a logic high level.
14
Freescale
E-10
MC68HC705B16
MC68HC05B6
Rev. 4.1