The Power Monitor for the MPLAB® REAL ICE™ In-Circuit Emulator enables designers to identify and eliminate code that consumes high current, in real-time. Used with the MPLAB REAL ICE In-Circuit Emulator and MPLAB X IDE, this development platform allows you to measure, graphically profile, and optimize code power consumption for all of Microchip’s 8-bit, 16-bit, and 32-bit PIC® microcontrollers.
Operating Principles
The Power Monitor is connected to the MPLAB REAL ICE In-Circuit Emulator. The target hardware is connected to the Power Monitor/emulator through an In-Circuit Serial Programming (ICSP™) cable. External power is applied to the Power Monitor. This power is then supplied to the target board through the ICSP programmer/debugger interface.
In Debug mode, as you control the flow of the application, the Power Monitor logs the power consumed by the target board. Using the Power Monitor, you can determine how the individual lines of code affect the power consumed by the target hardware.
System Requirements
- MPLAB X IDE (v1.80 or higher).
- MPLAB XC8, XC16, or XC32 compiler.
- MPLAB REAL ICE In-Circuit Emulator (DV 244005).
- Power Monitor (AC 244008).
- Target Hardware with ICSP connection.
When using the Power Monitor:
- Only the basic debug features of the emulator are available: run, halt, single-step, and line breakpoints are available; advanced features such as trace, data capture, and run-time watch are not supported.
- The target board cannot draw more than one amp from the Power Monitor.
Installation
1
Ensure the emulator is operational and can control the target through the ICSP interface.
4
Enable the Power Monitor board:
From the Project Properties window, select the Power Module from the menu under Supported Plug-in Board.
Using the Power Monitor
Please refer to the video referenced at the top of this page for several step-by-step examples of using the Power Monitor. To see the examples, advance the video to the 4:35 point.
Additional documentation on the operation is available for other configurations in the "Power Monitor User's Guide."
The Power Monitor (AC 244008) may be purchased at Microchip Direct.