Datasheet

Emulator User’s Guide for MPLAB X IDE
DS52085A-page 68 2013 Microchip Technology Inc.
7.2.1 Data Capture and DMCI
Data capture provides streaming data from a device to the following:
Data Monitoring and Control Interface (DMCI) – Plug-in
To install the DMCI plug-in:
1. Select Tools>Plugins
. The Plugins window will open.
2. Click on the Available Plugins tab.
3. Find DMCI and check the checkbox next to it.
4. Click Install and follow the screens.
See also the “Add Plug-in Tools” in the “Additional Tasks” section of the MPLAB X IDE
help file.
To set up data capture:
1. Build the project (In the Projects window, right click on the project name and
select “Build”). The project must be built to see the available symbols.
2. Select Window>Debugging>Watches
to open the Watches window.
3. Right click in the window and select “New Watch”. Select the symbol or SFR wish
to watch in the New Watch window. Click OK.
4. Select Tools>Embedded>DMCI>DMCI Window
to open the DMCI dialog.
5. Set up the DMCI for this data capture. See the DMCI help file for details
(Help>Help Contents
, “Plug-In Tools” section).
6. Begin a debug session (Debug>Debug Project
). Input data using DMCI controls
or view data in a DMCI graphical window.
7.2.2 Runtime Watches and DMCI
For devices without data capture, the runtime watch can provide data polling to the
following:
Data Monitoring and Control Interface (DMCI) – Plug-in
To install the DMCI plug-in:
1. Select Tools>Plugins
. The Plugins window will open.
2. Click on the Available Plugins tab.
3. Find DMCI and check the checkbox next to it.
4. Click Install and follow the screens.
See also the “Add Plug-in Tools” in the “Additional Tasks” section of the MPLAB X IDE
help file.
To set up runtime watches:
1. Build the project (In the Projects window, right click on the project name and
select “Build”). The project must be built to see the available symbols.
2. Select Window>Debugging>Watches
to open the Watches window.
3. Right click in the window and select “New Runtime Watch”. Select the symbol or
SFR wish to watch in the New Run Time Watch window. Click OK.
4. Right click on the project and select “Properties” to open the Project Properties
dialog. Then click on the “Real ICE” category and select the “Clock” option
category. Enter instruction speed information.
5. Select Tools>Embedded>DMCI>DMCI Window
to open the DMCI dialog.
6. Set up the DMCI for this runtime watch. See the DMCI help file for details
(Help>Help Contents
, “Plug-In Tools” section).
7. Begin a debug session (Debug>Debug Project
). Input data using DMCI controls
or view data in a DMCI graphical window.