English
Language : 

AT90PWM81_14 Datasheet, PDF (231/327 Pages) ATMEL Corporation – Data and non-volatile program memory
AT90PWM81/161
19. debugWIRE On-chip Debug System
19.1 Features
• Complete program flow control
• Emulates all on-chip functions, both digital and analog, except RESET pin
• Real-time operation
• Symbolic debugging support (both at C and assembler source level, or for other HLLs)
• Unlimited number of program break points (using software break points)
• Non-intrusive operation
• Electrical characteristics identical to real device
• Automatic configuration system
• High-speed operation
• Programming of non-volatile memories
19.2 Overview
The debugWIRE On-chip debug system uses a One-wire, bi-directional interface to control the
program flow, execute AVR instructions in the CPU and to program the different non-volatile
memories.
19.3
Physical Interface
When the debugWIRE Enable (DWEN) Fuse is programmed and Lock bits are unprogrammed,
the debugWIRE system within the target device is activated. The RESET port pin is configured
as a wire-AND (open-drain) bi-directional I/O pin with pull-up enabled and becomes the commu-
nication gateway between target and emulator.
Figure 19-1. The debugWIRE setup.
1.8V - 5.5V
VCC
dW
dW(RESET)
GND
7734Q–AVR–02/12
Figure 19-1 shows the schematic of a target MCU, with debugWIRE enabled, and the emulator
connector. The system clock is not affected by debugWIRE and will always be the clock source
selected by the CKSEL Fuses.
When designing a system where debugWIRE will be used, the following observations must be
made for correct operation:
231