pcbway




How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for picHello friends, hope you all are fine and enjoying good health. In today’s tutorial we are gonna have a look at Installation of MPLAB C Compiler in Windows. In the previous part of this chapter, I have explained How to install the MPLAB software in Windows, that part was not much tricky and we did very easily and our software was then ready to use, but as we didn’t install the C compiler so we can’t do C programming for PIC Microcontroller on MPLAB. We can only do assembly programming on it. Now in this post I will teach you how to install MPLAB C18 compiler so that we can do programming of PIC in C. There are many different compilers available in the market, one of them is MikroC and another famous one is CCS but they are paid compilers means you have to buy them, in order to work on them. You should also have a look at Introduction to MPLAB Compiler.

Although they provide some demo version as well which has some limit of hex size. Why MPLAB is better than MikroC or any other compiler is because it is very flexible. You can change any bit of your Microcontroller in MPLAB but this thing isn’t possible in other compilers. But on the other side it also more difficult than other compilers. MikroC has builtin libraries using which you can save quite a lot of time. Suppose you wanna run LCD, then in MikroC you just need to write 2 lines but in MPLAB there will be quite a lot code lines need to be written. Here’s a comparison of Top 3 PIC C Compilers. So, anyways its just a little comparison, now lets come back to our tutorial and start with Installation of MPLAB C Compiler.

Installation of MPLAB C Compiler

  • The software has already been emailed to all the subscribed members. If you are not subscribed yet then get subscribed and it will be emailed to you as well.
  • Open the rar file and you will see there are two folders in it, this time open the second folder named MPLAB C18 F and run the exe file in it.
  • The next screen appears will be like the below image. On this step click Next.
How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for pic
  • Now the below image will appear, click on I Accept and then click Next.
How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for pic
  • Browse for the location where you want to install the compiler but i will recommend to install it in the C so don’t change the location.
How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for pic
  • Now don’t change any option and just click Next again as shown in below image:
How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for pic




  • Now here comes the real part, check all the boxes as shown in below image, they make the work easier and while making a project you don’t need to add them manually.
How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for pic
  • Again you will come with four option and do the same thing check all the boxes as shown in the image below.
How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for pic
  • Now simply click on Next.
How to Install MPLAB C18 Compiler in Windows, mplab c compier, installation of mplab c compiler, c compiler for pic



  • And finally your software will begin to install.
  • When the installation process is completed , uncheck all the options and just click on the finish button and your C compiler is now ready for use.

Advice

  • Always install the MPLAB software first and then the C compiler. Actually C compiler links itself with the MPLAB software so it will become very handy for you.
  • It seems like a lengthy proces but in actual its not, just a few clicks and you are done.
I hope you have enjoyed today’s tutorial and now can easily install MPLAB C Compiler for PIC Microcontroller. Will meet you guys in next tutorial. Till then take care & have fun !!! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

Post comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.