6.1 MPLAB X IDE and Tools Installation

In order to use the 16-bit language tools with MPLAB X IDE, you must install:

  • MPLAB X IDE, which is available for free on the Microchip website.
  • MPLAB XC16 C Compiler, which includes all of the 16-bit language tools. The compiler is available for free (Free and Evaluation license levels) or for purchase (PRO license level) on the Microchip website.

The 16-bit language tools will be installed, by default, in the directory:

  • Windows OS 32-bit - C:\Program Files\Microchip\xc16\x.xx
  • Windows OS 64-bit - C:\Program Files (x86)\Microchip\xc16\x.xx
  • Mac OS - Applications/microchip/xc16/x.xx
  • Linux OS - /opt/microchip/xc16/x.xx

where x.xx is the version number.

The executables for each tool will be in the bin subdirectory:

  • C Compiler - xc16-gcc.exe
  • Assembler - xc16-as.exe
  • Object Linker - xc16-ld.exe
  • Object Archiver/Librarian - xc16-ar.exe
  • Other Utilities - xc16-utility.exe

Device support files may be found under the support subdirectory. The generic xc.h C header file and xc.inc generic assembler include file may be found under the support/generic subdirectory.