Linux Installation Process of Microchip development environment

Getting the OpenBeacon Tag firmware
OpenBeacon Tag related firmware source may be found on our server for occasional browsing (pic16tag Firmware) and for development purposes in our git repository:

Compiler Installation
Download the HI-TECH C for the PIC10/12/16 MCU Family compiler at http://www.microchip.com. Registration at Microchip seems to be mandatory for that.

Unpack the download archive:

You now should have the installation file in that directory which you can execute using sh.

Please setup as follows: ==> Do you accept the terms of the licence agreement? [y/n] y ==> Please enter the installation directory [/usr/hitech/picc/9.80]: ==> Please enter Serial Number, demo or lite: HCPICP-demo

Leave root mode: Add path to your startup scripts Add the following line at the end - make sure to adjust to your actual compiler version: To make the changes effective you need to close your current terminal and open a new one.

Programmer installation
At PICkit 2 Development Programmer/Debugger please scroll down to Linux & Mac OS X Software (Unsupported) and download PK2CMD V1.20 Linux Kernel 2.6 Executable Binary.

Example installation process:

If you get a No PICkit 2 found. error message, you need to allow access to the programmer to non-root users. Please create a file called pickit.rules at /etc/udev/rules.d/ as root user.

Verify first if the programmer is connected:

Now create /etc/udev/rules.d/pickit.rules :

Please unplug and re-plug your programmer before running pk2cmd again.