Note that the serial port debugger is fully contained on the ADuC812 device, (unlike “ROM monitor” type debuggers) and therefore no external memory is needed to enable in-system debug sessions.
Single-Pin Emulation Mode
Also built into the ADuC812 is a dedicated controller for single-pin in-circuit emulation (ICE) using standard production ADuC812 devices. In this mode, emulation access is gained by connection to a single pin, the EA pin. Normally, this pin is hard- wired either high or low to select execution from internal or external program memory space, as described earlier. To enable single-pin emulation mode, however, users will need to pull the EA pin high through a 1 kΩ resistor as shown in Figure 46. The emulator will then connect to the 2-pin header also shown in Figure 46. To be compatible with the standard connector that comes with the single-pin emulator available from Accutron Limited (www.accutron.com), use a 2-pin 0.1-inch pitch “Friction Lock” header from Molex (www.molex.com) such as their part number 22-27-2021. Be sure to observe the polarity of this header. As represented in Figure 46, when the Friction Lock tab is at the right, the ground pin should be the lower of the two pins (when viewed from the top).
Enhanced-Hooks Emulation Mode
ADuC812 also supports enhanced-hooks emulation mode. An enhanced-hooks-based emulator is available from Metalink Corporation (www.metaice.com). No special hardware support for these emulators needs to be designed onto the board since these are “pod-style” emulators where users must replace the chip on their board with a header device that the emulator pod plugs into. The only hardware concern is then one of determin- ing if adequate space is available for the emulator pod to fit into the system enclosure.
Typical System Configuration
A typical ADuC812 configuration is shown in Figure 46. It sum- marizes some of the hardware considerations discussed in the previous paragraphs.
QUICKSTART DEVELOPMENT SYSTEM
The QuickStart Development System is a full featured, low cost development tool suite supporting the ADuC812. The system consists of the following PC-based (Windows-compatible) hard- ware and software development tools.
Hardware: | ADuC812 Evaluation Board, Plug-In |
| Power Supply and Serial Port Cable |
Code Development: | 8051 Assembler |
Code Functionality: | Windows Based Simulator |
In-Circuit Code Download: | Serial Downloader |
In-Circuit Debugger: | Serial Port Debugger |
Miscellaneous Other: | CD-ROM Documentation and |
| Two Additional Prototype Devices |
Figure 47 shows the typical components of a QuickStart Development System. A brief description of some of the software tools components in the QuickStart Development System is given below.
Figure 47. Components of the QuickStart Development System
Figure 48. Typical Debug Session
Download—In-Circuit Serial Downloader
The Serial Downloader is a Windows application that allows the user to serially download an assembled program (Intel Hex format file) to the on-chip program FLASH memory via the serial COM1 port on a standard PC. An Application Note (uC004) detailing this serial download protocol is available from www.analog.com/microconverter.
DeBug—In-Circuit Debugger
The Debugger is a Windows application that allows the user to debug code execution on silicon using the MicroConverter UART serial port. The debugger provides access to all on-chip periph- erals during a typical debug session as well as single-step and break-point code execution control.
ADSIM—Windows Simulator
The Simulator is a Windows application that fully simulates all the MicroConverter functionality including ADC and DAC peripherals. The simulator provides an easy-to-use, intuitive, inter- face to the MicroConverter functionality and integrates many standard debug features; including multiple breakpoints, single stepping; and code execution trace capability. This tool can be used both as a tutorial guide to the part as well as an efficient way to prove code functionality before moving to a hardware platform.
The QuickStart development tool-suite software is freely available at the Analog Devices MicroConverter Website www.analog.com/microconverter.