Data Monitor and Control Interface (DMCI) Runtime Watch

To use the Data Monitor and Control Interface (DMCI) Runtime Watch, follow these steps:

1

Ensure DMCI plugin is installed.

2

Select the REAL ICE™ In-Circuit Emulator as the hardware tool for the project.

Open the Project Properties window for the application being debugged. Select the MPLAB® REAL ICE as the hardware tool (Runtime Watch will only work with a REAL ICE debug tool).

3

Start the debug session.

Start the debug session by clicking on the Debug icon Main_Debug_Project.png. This will cause the project to build, allowing the DMCI plugin to identify all the application variables.

4

Pause the debug session.

Pause the debug session with either a break point LineBreakpoint.png, halt-on-main, or a manual pause Debug_Pause.png.

5

Open the DMCI window.

From the main IDE menu select Tools > Embedded > DMCI > DMCI Window.

start-dmci.png

6

Select the variables to watch.

dynamic-data-view.png
  • Select the Dynamic Data View window.
  • Right-click on an unused graph.
  • Select Configure Data Source from the pull down menu.
rtw-setup1.png
  • Select the global variable to watch.
  • Check the Runtime Update box.
  • Adjust the refresh rate (optional).
  • Select OK.

7

Enable Automatic Events.

auto-event-settings.png
  • Select the Automated Event Settings icon from the DMCI window.
  • Check the Enable Operation box, then press OK

8

Continue the simulation session.

Click on the Run icon to continue the simulation and watch the value of the variable update in the graph as the application runs.

rtw-running.png

Video Example

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.