MPLab IDE by Microchip



  MPLab IDE is a development system for building PIC applications. The standard language is assembly, but with optional C and BasicPro. The packaging is a straight forward development environment but it is not novice friendly.

Microchip Guides:
MPLAB IDE Quick Start Guide

MPLAB IDE User's Guide


Steps to build an application:
1) Create your source and save it under the correct name (.asm for assembly)

2) Using the Project wizard (Project>Project Wizard) create the project and define the chip, language, and source files.

3) Build the project (Project>Build All) to create the .hex file.

4) Optional: to test, use the simulator to debug, watch windows are useful here along with mouse over variables display current value. Trace logs allow you to see the steps for better trouble shooting.

5) Programming the device. Here is where there is an issue, unless you use a PICSTART Plus, MPLAB ICD 2, MPLAB PM 3, PRO MATE II, or PicKit 1 your programming device may need an attachment or you will have to upload the .hex file outside of MPLab using it’s supplied program, like ProgPic 2 for the Velleman 4048 kit.