Microchip Technology Power Debugger Manual page 40

Table of Contents

Advertisement

The Power Debugger can be instructed by Data Visualizer to repeatedly poll the Program Counter (PC) as fast as
possible during execution. While this will yield a very low percentage of code lines traced, it can be useful in trapping
areas of code which use more power than intended.
3.2.11.1 Enable Program Counter Polling
To view Program Counter samples together with current measurement data both the Power interface and the Code
Profiling interface must be enabled.
To do: 
To do: 
3.2.11.2 Run
Important:  Code correlation is only available when Data Visualizer is run as an extension within Atmel
Studio. This is because it needs access to symbolic information only available when the debugger is
running.
Important:  Code correlation requires that the debugger is running, so use Start Debugging in Atmel
Studio. Just programming the target or using Start Without Debugging will not work.
©
2020 Microchip Technology Inc.
Enable both Power interface and Code Profiling interface in DGI Control Panel
Open the Code Profiling Configuration dialog by clicking the Gear button on the Code Profiling
interface
Select Enable Code Location
User Guide
Power Debugger
Detailed Use Cases
DS40002201A-page 40

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Power Debugger and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents