eBlocks : Embedded Systems Building Blocks
University of California, Riverside
Department of Computer Science
Riverside, CA 92521
Home      

MPLAB IDE + HI-TECH PICC LITE Compiler- Installation and Setup

Downloads

The downloads below are freely available and downloadable from Microchip and Hi-Tech websites. The MPLAB IDE and HI-TECH PIC C LITE Compiler downloads are provided here for convience. For system requirements, further details, updates, or patches consult the appropriate webpages.

Installation

  • Download the 3 files listed above
  • HI-TECH PICC LITE Compiler
    1. Run the PICC LITE file (picclite-setup.exe)
    2. Follow the steps provided in the setup.
  • HI-TECH PICC LITE Patch
    1. Unzip the PICC LITE patch (mpl6lite.zip)
    2. You should have 3 executables - cromwell.exe, hlink.exe, and picl.exe
    3. Copy these files to the bin folder of the PICCLITE installation (if you did not change the path the installation program should have placed this at C:\PICCLITE\bin)
  • MPLAB IDE 6.20
    1. Unzip the MPLAB IDE file (mp620full.zip) and run the MPLABv6.20.00.exe
    2. Follow the steps provided in the setup. When you are prompted to select the third party language tool interface plugin components to install with MPLABE IDE be sure to select HI-TECH PICC SUITE
  • You should be prompted to reboot your computer, if not do so.

Setup

  • Start MPLAB IDE
  • Set Language Tool Location Path
    1. Click on Project->Set Language Tool Locations...
    2. You should see a Set Language Tool Locations box (shown below)



    3. Expand HI-TECH PICC Toolsuite
    4. Expand Executables
    5. Click on HI-TECH Assembler (picc.exe), set the location of selected tool to be C:\PICCLITE\bin\picl.exe
    6. Click on HI-TECH C Compiler (picc.exe), set the location of selected tool to be C:\PICCLITE\bin\picl.exe
    7. Click on HI-TECH Linker (picc.exe), set the location of selected tool to be C:\PICCLITE\bin\picl.exe
  • Select PIC device
    1. Click on Configure->Select Device...
    2. You should see the Select Device box shown below



    3. In the drop down menu select PIC16F627, click OK
  • Set Project Options
    1. Create a new project, Project->New...
    2. Provide the project name and project directory
    3. Specify toolsuite, Project->Set Language Toolsuite...
    4. You should see the following box



    5. In the Active Toolsuite drop box select HI-TECH PICC Toolsuite, Click OK
    6. Set Build Options, Project->Build Options...->Project
    7. Select the HI-TECH Linker Tab, you should see the following



    8. Check the Alternate Setting box and set it to -O"$(TARGETBASE).cod", click OK
  • Configure PIC Burner
    1. Select Programmer, Programmer->Select Programmer->PICSTART Plus
    2. Activate Programmer, Programmer->Enable Programmer
  • You should now be ready to compile and download programs.

eBlock Catalog
›   Yes/No eBlocks
›   Number eBlocks
Sample eBlock Systems
›  Yes/No eBlocks
›  Number eBlocks
Simulator
Publications
Gallery
People
Other Links
›   Related Projects
›   PIC Tools
›   Articles
›   Internal Documents