Design Environment

MPLAB® X IDE works in conjunction with an in-circuit debugger (programmer/debugger) and a target system, which may consist of a demonstration board or your own hardware.

The code is developed on a PC in MPLAB X IDE. It is then built (compiled and/or assembled) and programmed onto the target board. The IDE is then used to issue commands to the target to run, stop, step through code, and so on while viewing the contents of registers and the state of the device. This enables you to see what your program is doing and how the hardware reacts at any step of your program's execution.

What You Need To Get Started

A Typical Development Setup

Most development setups consist of four main components:

  1. A computer running the MPLAB X Integrated Development Environment
  2. A C Compiler (unless you are programming in assembly since an assembler is included with the IDE)
  3. A programmer/debugger such as one of the following:
  4. A target board with your PIC® microcontroller of choice. This could be something like:
    • Your own hardware
    • A Microchip demonstration board
    • A third-party demonstration board
    • A breadboard

We'll look at the options listed above in more detail in subsequent pages.

Class Exercises

The hands-on exercises associated with this self-paced class are conducted using MPLAB X IDE in conjunction with an in-circuit debugger and an Explorer 16 Development Board. However, for a couple of the exercises, no hardware is required as the program's behavior can be observed using the simulator.

© 2022 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.