AVR
®
ATmegaICE User Guide
5-1
Section 5
Trace Buffer
The AVR ATmegaICE has a 32K x 96-bit trace buffer which stores information about
program execution for every clock cycle. When the emulator is stopped, this trace buffer
can be examined to extract information about the history of the emulated program. The
details on which data are stored and how to retrieve them are described in the AVR Stu-
dio User Guide. When the trace buffer is full, it will wrap around and start overwriting the
oldest entries.
The trace buffer can be turned on or off at any program line. This makes it possible to
skip tracing delay loops and other subroutines which would otherwise fill the trace mem-
ory with unnecessary data. The trace buffer is inactive by default. To trace an entire pro-
gram, a “Trace on” marker should be placed on the first line of the program.
Summary of Contents for AVR ATmegaICE
Page 3: ...Introduction AVR ATmegaICE User Guide 1 3 Figure 1 4 ATmega103 ATmega603 Probe ...
Page 4: ...Introduction 1 4 AVR ATmegaICE User Guide ...
Page 6: ...Preparing the ATmegaICE System for Use 2 2 AVR ATmegaICE User Guide ...
Page 10: ...ATmegaPOD 3 4 AVR ATmegaICE User Guide ...
Page 14: ...Connecting to the System 4 4 AVR ATmegaICE User Guide ...
Page 16: ...Trace Buffer 5 2 AVR ATmegaICE User Guide ...
Page 18: ...External Triggers 6 2 AVR ATmegaICE User Guide ...
Page 20: ...Troubleshooting Procedures 7 2 AVR ATmegaICE User Guide ...