Make sure you select the HI-TECH Universal toolsuite for all modern HI-TECH
compilers. The compiler location is not used and should be left as it appears in the
field, even if it is wrong. You select the compiler to use for a project from the Build
Options dialog once you have created the project.
See the webinar:
**broken link removed**
for detailed information on the toolsuite and creating projects.
Actually we use MPLAB IDE for ASSEMBLY language coding & not for C coding. For coding in C for PIC,we use HITECH C,Mickro C etc. You can get all the .exe files from google on searching for it for free.I would suggest you to get started coding in assembly language in MPLAB & after you master in it, go for coding in C.
Regards,
Jerin.;-)
U can use pic c compiler also. First u will hav to install pic c compiler/ccs c compiler. After that u will hav to install mplab plugin for pic c compiler/ccs c compiler. If these two are installed in ur system then u just open the mplab-> go to project wizard-> and when the area to select the compiler comes just select the pic c compiler/ccs c compiler.
MPLAB is just an environment where you can build the things. But you need a compiler to do all other things.
There are many free compilers available, C18, CCS C, etc. First install the mplab ide. then, install the compiler whichever you need. And then, you have to install a small plugin where it will communicate with mplab and ccs. After installing those, you are free to develop the program.
if your program compiled successfully. Your compiler will generate a hex file. It will be in the format .hex
Then, use pickit2 programmer to burn the program to your pic16f877a.