The Development Cycle (rev. 3.00)

NOTE: Microchip updates its tools regularly. This page is an older version that we have preserved for the convenience of those who are supporting existing designs based upon older versions of our tools. Please check for the updated version of this page.


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

  1. Create an MPLAB® X project. Add and edit the source code files for you application needs.
  2. Debug the application using MPLAB® X IDE's software simulator. This will allow you to verify 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 actual PIC microcontroller hardware.
  4. When all errors have been removed, Program Target to put your application into a PIC microcontroller, 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.
© 2024 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.