Datasheet
Emulator User’s Guide for MPLAB X IDE
DS52085A-page 76 2013 Microchip Technology Inc.
FIGURE 7-6: PC SAMPLING WINDOW
7.6 APPLICATION IN/OUT
The Application In/Out window allows you to interact with a running application using
the Application Input/Output feature supported on some devices. Using this feature,
data may be sent serially to and from the target application and, during runtime, over
the same PGC/PGD lines used for debugging. Data written to the APPOUT register will
be displayed to the window, while user input will be sent to the target application and
available in the APPIN register.
To use the Application In/Out window:
• Use the device-specific header file when building your application to use the
macros assigned in the header (per Example 7-1.)
• Alternatively, the PIC32 MCU library has printf() and scanf() functions for
use with the Application In/Out feature. Refer to the “PIC32 Debug-Support
Library” chapter in 32-Bit Language Tools Libraries (DS51685).
Note: This window is only available for devices that support the application in/out
function used with the MPLAB REAL ICE in-circuit emulator or MPLAB ICD
3 in-circuit debugger. For details, see online help, “Device and Feature
Support”.
The application in/out function cannot be used with PIC32 instruction trace.