Installation tutorial for MPLAB-X and the compiler

Getting Started With a PIC24FJ64GA002 Microcontroller

The PIC24FJ64GA002 is a 28 pin microcontroller that comes in a DIP (dual inline pin) package. This packaging makes it breadboard friendly for experimentation. It is also a 16 bit processor with some nice peripherals. This is the reason I chose this microcontroller to start with. It is also simple to program and Microchip provides the tools for free. You can use real professional tools that work. I have been working with the tools for many years now and am very impressed at how well they work. Let’s get started.

First we need to setup the environment on your computer. I use MPLAB-X IDE v1.51 and the MPLAB-X XC16 Compiler v1.10 to work with the PIC24F parts. Like I said these tools are very reliable and give excellent results. First go to microchip and get the latest copy of MPLAB-X. You can perform the following steps to download and install MPLAB-X and MPLAB-X C16 Compiler.

Step 1 – This software program runs on a PC (Windows®, Mac OS®, and Linux®). Go here to find the MPLAB-X IDE v1.51 and press the download tab. http://www.microchip.com/pagehandler/en-us/family/mplabx/

x1.1.png
x1.2.png
x1.3.png

Step 2 – I’m using Windows. Now, double click MPLAB-X IDE v1.51 to download.

x20.png

Step 3 – The save file box will pop up then just click the save file button.

x6.png

Step 4 – After the file is finished downloading right click on the file and open it or double click on it.

x8.png

Step 5 – Then run the mplabx-ide-v1_51-windows-installer.exe

x10.png

Step 6Setup – MPLAB X IDE v1.51 – Just Click the next button

x11.png

Step 7License agreement – Click the circle I accept the agreement then just press the next button.

x14.png

Step 8Installation Directory – Choose your installation directory then press the next button. I generally use the default. I know that works.

x15.png

Step 9Ready to Install – Just click the next button to install it.

x16.png

Step 10Installing – Wait until setup installs MPLAB-X IDE v1.51 on your computer.

x17.png

Step 11Info box – If you already had MPLAB IDE v8.8 installed on your computer this info box will pop up and don’t worry about this just press the Ok button.

x18.png

Step 12MPLAB X IDE v1.51 Installation Complete – Just click the finish button to complete the MPLAB-X IDE v1.51 installation.

x19.png

Now you have MPLAB-X IDE v1.51 installed. Next we need the compiler.

Step 1 – Also, You can get the MPLAB® XC16 Compiler v1.10 from here.
http://www.microchip.com/pagehandler/en-us/family/mplabx/

x20.png

Double click the MPLAB® XC16 Compiler v1.10 to download.

Step 2 –The Save file box will appear and just press the save file button.

x21.png

Step 3 – After the file has finished downloading then right click on the file then open or double click on it.

x22.png

Step 4 – Then run the software.

x24.png

Step 5Setup – MPLAB XC16 C Compiler – Just click the next button

x25.png

Step 6License Agreement – Click the circle I accept the agreement and then press next button.

x26.png

Step 7Choose Installer – Click the Install compiler circle and then press the next button.

x27.png

Step 8Installation type – Click the circle install MPLAB XC16 C compiler on this computer then press the next button.

x28.png

Step 9License Activation Key – Don’t mind the activation key and just press the next button to precede for the free compiler.

x29.png

Step 10 – Then this box will appear and just click the YES button to install the free compiler.

x30.png

Step 11Install Free or Evaluation Compiler – Click the circle run the compiler in free mode and press the next button.

x31.png

Step 12Installation Directory – Choose your installation directory then press the next button. The default works.

x32.png

Step 13 –Ready to install – Press the next button to begin installing MPLAB XC16 C compiler on your computer.

x33.png

Step 14Installing – Wait until the MPLAB XC16 C Compiler installs on your computer.

x34.png

Step 15MPLAB XC16 C Compiler installation complete – Press the finish button.

x35.png