MPLAB® X IDE Development Cycle

There are several steps required for the development of PIC® MCU application code when using MPLAB® X IDE. This tutorial walks you through those steps.

  1. Create an MPLAB X project. Add and edit the source code files for your application needs.
  2. Debug the application using MPLAB X IDE's software simulator. This will allow you to verify the basic functionality of your code while protecting your design's circuitry in case of any unanticipated malfunctions in your code.
  3. When you are sure your code has a reasonable chance of running on hardware, select the programmer/debugger and continue to debug your code on an actual PIC microcontroller hardware.
  4. When all errors have been removed, click on the 'Program Target' icon to put your application into a PIC microcontroller, then remove the programmer/debugger and system test the operation of the application without an attached programmer/debugger.
  5. Generate the production HEX file for production release.
© 2020 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.