264
4317I–AVR–01/08
AT90PWM2/3/2B/3B
23. debugWIRE On-chip Debug System
23.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
23.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.
23.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 23-1. The debugWIRE Setup
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:
dW
GND
dW(RESET)
VCC
1.8 - 5.5V
Содержание AT90PWM2
Страница 344: ...346 4317I AVR 01 08 AT90PWM2 3 2B 3B 31 1 SO24...
Страница 345: ...347 4317I AVR 01 08 AT90PWM2 3 2B 3B 31 2 SO32...
Страница 346: ...348 4317I AVR 01 08 AT90PWM2 3 2B 3B 31 3 QFN32...
Страница 347: ...349 4317I AVR 01 08 AT90PWM2 3 2B 3B...