Datasheet

Monitor Module (MON)
MC68HC908QY/QT Family Data Sheet, Rev. 6
Freescale Semiconductor 139
15.3.1 Functional Description
Figure 15-9 shows a simplified diagram of monitor mode entry.
The monitor module receives and executes commands from a host computer. Figure 15-10, Figure 15-11,
and Figure 15-12 show example circuits used to enter monitor mode and communicate with a host
computer via a standard RS-232 interface.
Figure 15-9. Simplified Monitor Mode Entry Flowchart
MONITOR MODE ENTRY
POR RESET
PTA0 = 1,
PTA1 = 1, AND
PTA4 = 0?
IRQ = V
TST
?
YES
NO
YES
NO
FORCED
MONITOR MODE
NORMAL
USER MODE
NORMAL
MONITOR MODE
INVALID
USER MODE
NO NO
HOST SENDS
8 SECURITY BYTES
IS RESET
POR?
YES
YES
YES
NO
ARE ALL
SECURITY BYTES
CORRECT?
NO
YES
ENABLE FLASH
DISABLE FLASH
EXECUTE
MONITOR CODE
DOES RESET
OCCUR?
CONDITIONS
FROM Table 15-1
DEBUGGING
AND FLASH
PROGRAMMING
(IF FLASH
IS ENABLED)
PTA0 = 1,
RESET VECTOR
BLANK?