PDA

View Full Version : Microchip MPLAB and C18 install maze resolved



N1LAF
06-01-2017, 10:16 PM
I don't know who here have experience with PIC processors (8 pit, PIC18F variant), but I had some time to resolve this installation maze. I have to tweak a serial portion of the software for a project that was completed over 15 years ago, on a Windows 98SE system. I have the C18 compiler, version 2.0, started with MPLAB 5.62, I believe.

Now, try installing this on Windows 7 (32 bit).

- C18 V2.0 will not install with MPLAB 8.92, the compiler install states looking for MPLAB version 5, and locks up. Fun.
- OK, install MPLAB 5.7. The OS locks up, crashes. Restore, uninstall.
- Researched old notes. Each instruction in old notes says to install MPLAB 7.2, then C18 V2.0. I take copious notes.

Long story short, and for anyone else who needs to goes through this, this is how to do it:

1. Install MPLAB 7.20 First. This will resolve the C18 V2.0 install.
2. Install C18 V2.0
3. Upgrade C18 V2.4 on top of C18 V2.0
4. Upgrade C18 V3.10 on top of C18 V2.4
(I think after this, each upgrade can be done in its own folder, I think...)
5. Install MPLAB 8.92. It should pick up the C18 compilers from here.

This gave me a headache for a couple hours today.

Next hoop, installation of the programmer.

Handy link for Microchip Development tools archive (click here) (http://www.microchip.com/development-tools/downloads-archive)


C18 has been superseded by XC8. A free version (not so optimized) of C18 C compiler can be obtained here:MPLAB C for PIC18 v3.47 Standard-Eval Version (http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=SW006011)