Datasheet
Development Support
MC68HC908GZ16 • MC68HC908GZ8 Data Sheet, Rev. 4
276 Freescale Semiconductor
computer. Monitor mode entry can be achieved without use of the higher test voltage, V
TST
, as long as
vector addresses $FFFE and $FFFF are blank, thus reducing the hardware requirements for in-circuit
programming.
Features of the monitor ROM include:
• Normal user-mode pin functionality
• One pin dedicated to serial communication between monitor read-only memory (ROM) and host
computer
• Standard mark/space non-return-to-zero (NRZ) communication with host computer
• Standard communication baud rate (7200 @ 8-MHz crystal frequency)
• Execution of code in random-access memory (RAM) or FLASH
• FLASH memory security feature
(1)
• FLASH memory programming interface
• 350 bytes monitor ROM code size ($FE20 to $FF7D)
• Monitor mode entry without high voltage, V
TST
, if reset vector is blank ($FFFE and $FFFF contain
$FF)
• Normal monitor mode entry if high voltage is applied to IRQ
20.3.1 Functional Description
Figure 20-8 shows a simplified diagram of the monitor mode.
The monitor ROM receives and executes commands from a host computer.
Figure 20-9 and Figure 20-10 show example circuits used to enter monitor mode and communicate with
a host computer via a standard RS-232 interface.
Simple monitor commands can access any memory address. In monitor mode, the MCU can execute
code downloaded into RAM by a host computer while most MCU pins retain normal operating mode
functions. All communication between the host computer and the MCU is through the PTA0 pin. A
level-shifting and multiplexing interface is required between PTA0 and the host computer. PTA0 is used
in a wired-OR configuration and requires a pullup resistor.
Table 20-1 shows the pin conditions for entering monitor mode. As specified in the table, monitor mode
may be entered after a power-on reset (POR) and will allow communication at 7200 baud provided one
of the following sets of conditions is met:
• If $FFFE and $FFFF does not contain $FF (programmed state):
– The external clock is 4 MHz (7200 baud)
–PTB4 = low
–IRQ
= V
TST
• If $FFFE and $FFFF do not contain $FF (programmed state):
– The external clock is 8 MHz (7200 baud)
– PTB4 = high
– IRQ = V
TST
• If $FFFE and $FFFF contain $FF (erased state):
– The external clock is 8 MHz (7200 baud)
–IRQ
= V
DD
(this can be implemented through the internal IRQ pullup) or V
SS
1. No security feature is absolutely secure. However, Freescale’s strategy is to make reading or copying the FLASH difficult for
unauthorized users.
