Other Hardware Considerations; In-Circuit Serial Download Access; Embedded Serial Port Debugger - Analog Devices MicroConverter ADuC812 User Manual

Microconverter, multichannel 12-bit adc with embedded flash mcu
Hide thumbs Also See for MicroConverter ADuC812:
Table of Contents

Advertisement

ADuC812
ANALOG INPUT
V
OUTPUT
REF
DAC OUTPUT
DVDD

OTHER HARDWARE CONSIDERATIONS

To facilitate in-circuit programming, plus in-circuit debug and
emulation options, users will want to implement some simple
connection points in their hardware that will allow easy access to
download, debug, and emulation modes.

In-Circuit Serial Download Access

Nearly all ADuC812 designs will want to take advantage of the
in-circuit reprogrammability of the chip. This is accomplished by a
connection to the ADuC812's UART, which requires an external
RS-232 chip for level translation if downloading code from a PC.
Basic configuration of an RS-232 connection is illustrated in
Figure 46 with a simple ADM202-based circuit. If users would
rather not design an RS-232 chip onto a board, refer to the applica-
tion note "uC006–A 4-Wire UART-to-PC Interface" for a
simple (and zero-cost-per-board) method of gaining in-circuit
serial download access to the ADuC812.
In addition to the basic UART connections, users will also need
a way to trigger the chip into download mode. This is accom-
plished via a 1 kΩ pull-down resistor that can be jumpered onto
Application Note uC006 is available at www.analog.com/microconverter
52
51
51
ADC0
AV
DD
AV
DD
AGND
C REF
V REF
DAC0
DAC1
ADM810
V
RST
CC
GND
ADM202
DV
C1+
V
CC
V+
GND
C1–
T1OUT
C2+
R1IN
C2–
R1OUT
V–
T1IN
T2OUT
T2IN
R2IN
R2OUT
DOWNLOAD/DEBUG
ENABLE JUMPER
(NORMALLY OPEN)
DV
DD
1k
49
50
48
47
46
45
44 43
42
41
ADuC812
XTAL2
XTAL1
NOT CONNECTED IN THIS EXAMPLE
DV
DD
DD
9-PIN D-SUB
FEMALE
1
2
3
4
5
6
7
8
9
the PSEN pin, as shown in Figure 46. To get the ADuC812
into download mode, simply connect this jumper and power-
cycle the device (or manually reset the device, if a manual reset
button is available) and it will be ready to receive a new program
serially. With the jumper removed, the device will come up in
normal mode (and run the program) whenever power is cycled
or RESET is toggled.
Note that PSEN is normally an output (as described in the
External Memory Interface section) and it is sampled as an
input only on the falling edge of RESET (i.e., at power-up or
upon an external manual reset). Note also that if any external
circuitry unintentionally pulls PSEN low during power-up or
reset events, it could cause the chip to enter download mode and
therefore fail to begin user code execution as it should. To pre-
vent this, ensure that no external signals are capable of pulling
the PSEN pin low, except for the external PSEN jumper itself.

Embedded Serial Port Debugger

From a hardware perspective, entry to serial port debug mode is
identical to the serial download entry sequence described above.
In fact, both serial download and serial port debug modes can be
thought of as essentially one mode of operation used in two
different ways.
DV
DD
1k
2-PIN HEADER FOR
EMULATION ACCESS
(NORMALLY OPEN)
40
39
38
37
DV
36
DD
DGND
35
DV
34
DD
33
11.0592MHz
32
31
30
29
28
27

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MicroConverter ADuC812 and is the answer not in the manual?

Questions and answers

Table of Contents