Data Monitor and Control Interface (DMCI) Operating Modes

Data Monitor and Control Interface (DMCI) has three basic capabilities:

1 Modify/Capture on Break

The primary purpose of DMCI is to allow the user to modify and observe variables and memory locations during a debug session. Modify/Capture on Break allows the user to modify variables through GUI elements (such as sliders and checkboxes) when a debug session is "paused" or encounters a breakpoint. After setting the variable values, the debug session is resumed. When the debug session is paused again or reaches the next breakpoint, the value of variables in the MCU memory can be brought back to the IDE. This works with the MPLAB® REAL ICE™, the ICD3 programmer/debugger, or the MPLAB X Simulator.

capture-mode.png

2 Run Time Watch

When working with an MPLAB REAL ICE emulator, Run Time Watch adds to DMCI's Capture/Modify on Break capability. Run Time Watch allows a number of variables to be updated on the IDE without having to pause a debug session. With Run Time Watch, the user sees the values of the variables change in the IDE while the application is running. This non-intrusive observation method can be essential in debugging applications where pausing the program would adversely affect the value of the variables under consideration. The DMCI GUI has a separate tab allowing the user to designate which variables are updated in run time. This requires the use of an MPLAB REAL ICE.

run-time-watch.png

3 Real Time Data Monitoring (RTDM)

Written to support applications where controlling multiple interdependent system parameters is essential, RTDM allows the user to modify and observe changes in the variables while the application is running. This mode requires a specially written software module to be built into the application program. When running, the IDE communicates with the RTDM code through a serial port on the MCU.
Currently, RTDM modules are available for the PIC24H, PIC24EP, and dsPIC33F MCUs.

rtdm.png
© 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.