Functional Description
8.3.1 Entering Monitor Mode
Table 8-1 shows the pin conditions for entering monitor mode. As specified in the table, monitor mode
may be entered after a POR and will allow communication at 9600 baud provided one of the following
sets of conditions is met:
1. If $FFFE and $FFFF do not contain $FF (programmed state):
–
–
The external clock is 4.9152 MHz with PTB0 low or 9.8304 MHz with PTB0 high
IRQ1 = V
TST
2. If $FFFE and $FFFF both contain $FF (erased state):
–
–
The external clock is 9.8304 MHz
IRQ1 = V (this can be implemented through the internal IRQ1 pullup
DD
3. If $FFFE and $FFFF both contain $FF (erased state):
–
–
The external clock is 32.768 kHz (crystal)
IRQ1 = V (this setting initiates the PLL to boost the external 32.768 kHz to an internal bus
SS
frequency of 2.4576 MHz
If V
is applied to IRQ1 and PTB0 is low upon monitor mode entry (above condition set 1), the bus
TST
frequency is a divide-by-two of the input clock. If PTB0 is high with V
applied to IRQ1 upon monitor
TST
mode entry, the bus frequency will be a divide-by-four of the input clock. Holding the PTB0 pin low when
entering monitor mode causes a bypass of a divide-by-two stage at the oscillator only if V is applied
TST
to IRQ1. In this event, the CGMOUT frequency is equal to the CGMXCLK frequency, and the OSC1 input
directly generates internal bus clocks. In this case, the OSC1 signal must have a 50% duty cycle at
maximum bus frequency.
If entering monitor mode without high voltage on IRQ1 (above condition set 2, where applied voltage is
either V ), then all port A pin requirements and conditions, including the PTB0 frequency divisor
DD
selection, are not in effect. This is to reduce circuit requirements when performing in-circuit programming.
NOTE
If the reset vector is blank and monitor mode is entered, the chip will see an
additional reset cycle after the initial POR reset. Once the part has been
programmed, the traditional method of applying a voltage, V
must be used to enter monitor mode.
, to IRQ1
TST
The COP module is disabled in monitor mode based on these conditions:
•
If monitor mode was entered as a result of the reset vector being blank (above condition set 2 or 3),
the COP is always disabled regardless of the state of IRQ1 or RST.
If monitor mode was entered with V on IRQ1 (condition set 1), then the COP is disabled as long
•
TST
as V
is applied to either IRQ1 or RST.
TST
The second condition states that as long as V
is maintained on the IRQ1 pin after entering monitor
TST
mode, or if V
is applied to RST after the initial reset to get into monitor mode (when V
was applied
TST
TST
to IRQ1), then the COP will be disabled. In the latter situation, after V
is applied to the RST pin, V
TST
TST
can be removed from the IRQ1 pin in the interest of freeing the IRQ1 for normal functionality in monitor
mode.
Figure 8-2 shows a simplified diagram of the monitor mode entry when the reset vector is blank and just
V
voltage is applied to the IRQ1 pin. An external oscillator of 9.8304 MHz is required for a baud rate of
DD
9600, as the internal bus frequency is automatically set to the external frequency divided by four.
MC68HC908AP Family Data Sheet, Rev. 4
Freescale Semiconductor
117