MC68HC908GT16_07 FREESCALE [Freescale Semiconductor, Inc], MC68HC908GT16_07 Datasheet - Page 243

no-image

MC68HC908GT16_07

Manufacturer Part Number
MC68HC908GT16_07
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
19.3 Monitor Module (MON)
The monitor module allows debugging and programming of the microcontroller unit (MCU) through a
single-wire interface with a host computer. Monitor mode entry can be achieved without use of the higher
test voltage, V
requirements for in-circuit programming.
Features of the monitor module include:
19.3.1 Functional Description
Figure 19-9
The monitor ROM receives and executes commands from a host computer.
and
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.
The monitor code has been updated from previous versions of the monitor code to allow the ICG to
generate the internal clock. This option, which is selected when IRQ is held low out of reset, is intended
to support serial communication/ programming at 9600 baud in monitor mode by using the ICG, and the
ICG user trim value ICGTR5 (if programmed) to generate the desired internal frequency (2.4576 MHz). If
ICGTR5 is not programmed (i.e., the value is $FF) then the ICG will operate at a nominal (untrimmed)
2.45 MHz and communications will be nominally at 9600 baud but the untrimmed rate may cause
difficulties with hosts which cannot automatically adjust their data rates to match.
Since this feature is enabled only when IRQ is held low out of reset, it cannot be used when the reset
vector is programmed (i.e., the value is not $FFFF) because entry into monitor mode in this case requires
V
1. No security feature is absolutely secure. However, Freescale’s strategy is to make reading or copying the Flash difficult for
Freescale Semiconductor
TST
unauthorized users.
Figure 19-12
on IRQ.
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
Execution of code in random-access memory (RAM) or Flash
Flash memory security feature
Flash memory programming interface
External 4.92 MHz or 9.83 MHz clock used to generate internal frequency of 2.4576 MHz
Optional ICG mode of operation (no external clock or high voltage)
Monitor mode entry without high voltage, V
$FF)
Normal monitor mode entry if high voltage is applied to IRQ
shows a simplified monitor mode entry flowchart.
TST
, as long as vector addresses $FFFE and $FFFF are blank, thus reducing the hardware
show example circuits used to enter monitor mode and communicate with a host
MC68HC908GT16 • MC68HC908GT8 • MC68HC08GT16 Data Sheet, Rev. 5.0
(1)
TST
, if reset vector is blank ($FFFE and $FFFF contain
Figure 19-10, Figure
Monitor Module (MON)
19-11,
243

Related parts for MC68HC908GT16_07