46
8068C–AVR–06/08
XMEGA A3
27. OCD - On-chip Debug
27.1
Features
•
Complete Program Flow Control
– Go, Stop, Reset, Step into, Step over, Step out, Run-to-Cursor
•
Debugging on C and high-level language source code level
•
Debugging on Assembler and disassembler level
•
1 dedicated program address or source level breakpoint for AVR Studio / debugger
•
4 Hardware Breakpoints
•
Unlimited Number of User Program Breakpoints
•
Unlimited Number of User Data Breakpoints, with break on:
– Data location read, write or both read and write
– Data location content equal or not equal to a value
– Data location content is greater or less than a value
– Data location content is within or outside a range
– Bits of a data location are equal or not equal to a value
•
Non-Intrusive Operation
– No hardware or software resources in the device are used
•
High Speed Operation
– No limitation on debug/programming clock frequency versus system clock frequency
27.2
Overview
The XMEGA A3 has a powerful On-Chip Debug (OCD) system that - in combination with Atmel’s
development tools - provides all the necessary functions to debug an application. It has support
for program and data breakpoints, and can debug an application from C and high level language
source code level, as well as assembler and disassembler level. It has full Non-Intrusive Opera-
tion and no hardware or software resources in the device are used. The ODC system is
accessed through an external debugging tool which connects to the JTAG or PDI physical inter-
faces. Refer to
”Program and Debug Interfaces” on page 47
.