MPLAB® X IDE Debugging Simulator

Last modified by Microchip on 2023/11/09 09:11

The MPLAB® X Integrated Development Environment (IDE) includes a powerful discrete-event simulator for:

  • PIC®, AVR® and SAM Microcontroller (MCU) Families
  • dsPIC® Digital Signal Controller (DSC) Families

The simulator is integrated into the MPLAB X IDE. The simulator debugging tool is designed to model the operation of Microchip Technology's devices to assist in debugging software as follows:

  • Modify object code and immediately re-execute it
  • Inject external stimuli to the simulated processor - stimulus is the simulation of hardware signals
  • Set pin and register values at pre-specified intervals
  • Trace the execution of the object code
  • Code coverage to detect dead code areas
  • Extract data for validation

Not all devices and peripherals are supported by the simulator. See the "Simulator Debug Features by Device" and "Simulator Peripheral Support by Device" for more details.