To do:
•
•
•
The power graph should now look similar to the previous exercise. Now perform a disk format through Windows, and
note how the GPIO 0 and 1 signals toggle. Stop the visualizer or disable auto-scrolling and zoom in to an interesting
bit. One can clearly see how each read and write access has a GPIO toggle to indicate a Start and Stop condition.
Since this is a fully compliant disk drive, try a few other operations and see how the read and write access events are
affected:
•
Create a new text file
•
Add content using notepad
•
Save the file
•
Re-open the file
•
Delete the file
Tip: Read caching by the operating system might cause read access not to be executed until the cache is
flushed after a write.
3.2.11
Code Correlation
We will now demonstrate how program counter polling can be used to correlate code execution to power
consumption.
©
2020 Microchip Technology Inc.
Open the control panel
Uncheck channel B
Uncheck GPIO 2 and 3
User Guide
Power Debugger
Detailed Use Cases
DS40002201A-page 39
Need help?
Do you have a question about the Power Debugger and is the answer not in the manual?