DMCI Runtime Watch

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

1

Ensure DMCI Plugin is Installed

2

Select the Real-ICE™ 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 "Runtime Update"
  • 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 "Enable Operation" then "OK"

8

Continue the Simulation Session
Click on the Run Icon Debug_Continue.png to continue the simulation and watch the value of the variable update in the graph as the application runs.
rtw-running.png

Video Example

20th Annual
Microchip MASTERs Conference 2016
Register now - Deadline: July 29

JW Marriott Desert Ridge Resort-Phoenix, AZ

© 2016 Microchip Technology, Inc.
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.