Tip:
Some samples will be marked as “Could not resolve”. This can happen when there is no source
available for the location, for example, if the sample corresponds to a precompiled library function.
3.2.12
Data Polling
Now see how Data Visualizer can poll variables from the target and display their values in graphical form.
Important:
Data polling is only available when Data Visualizer is run as an extension within Atmel Studio.
This is because it needs to access the debug system on the device through the Atmel Studio debugger
backend.
First, add a few lines of code containing variables to poll.
To do:
Open ui.c and add two global variables to the top of the file.
volatile
uint32_t
write_count = 0;
volatile
uint32_t
read_count = 0;
Power Debugger
Detailed Use Cases
©
2020 Microchip Technology Inc.
User Guide
DS40002201A-page 43