s908qc16vdse Freescale Semiconductor, Inc, s908qc16vdse Datasheet - Page 227

no-image

s908qc16vdse

Manufacturer Part Number
s908qc16vdse
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
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 enabling the
internal oscillator to generate the internal clock. This addition, which is enabled when IRQ is held low out
of reset, is intended to support serial communication/programming at 9600 baud in monitor mode by using
the internal oscillator, and the internal oscillator user trim value OSCTRIM (FLASH location $FFC0, if
programmed) to generate the desired internal frequency (3.2 MHz). 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
remain low during this monitor session in order to maintain communication.
Table 18-1
may be entered after a power-on reset (POR) and will allow communication at 9600 baud provided one
of the following sets of conditions is met:
Freescale Semiconductor
2
3
5
1 µF
1 µF
DB9
If $FFFE and $FFFF do not contain $FF (programmed state):
If $FFFE and $FFFF contain $FF (erased state):
If $FFFE and $FFFF contain $FF (erased state):
The external clock is 9.8304 MHz
IRQ = V
The external clock is 9.8304 MHz
IRQ = V
IRQ = V
+
+
shows the pin conditions for entering monitor mode. As specified in the table, monitor mode
1
3
4
5
7
8
C1+
C1–
C2+
C2–
Figure 18-12. Monitor Mode Circuit (Internal Clock, No High Voltage)
TST
DD
SS
MAX232
MC68HC908QC16 • MC68HC908QC8 • MC68HC908QC4 Data Sheet, Rev. 4
(internal oscillator is selected, no external clock required)
(this can be implemented through the internal IRQ pullup)
V+
V–
16
15
2
10
6
1 µF
9
V
DD
+
+
1 µF
2
74HC125
1
+
3
1 µF
74HC125
6
4
10 kΩ
5
V
DD
10 kΩ
*
* Value not critical
N.C.
N.C.
RST (PTA3)
OSC1 (PTA5)
IRQ (PTA2)
PTA0
TST
on IRQ. The IRQ pin must
Monitor Module (MON)
PTA1
PTA4
V
V
DD
SS
V
N.C.
N.C.
DD
0.1 µF
227

Related parts for s908qc16vdse