Piklab - IDE for PIC microcontrollers

Piklab is an integrated development environment (IDE) for applications based on Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. It integrates with several compiler and assembler toolchains (like gputils, sdcc, c18) and with the GPSim simulator. It supports the most common programmers (serial, parallel, ICD2, Pickit2, PicStart+), the ICD2 debugger, and several bootloaders (Tiny, Pickit2, and Picdem).


  • Read, program, verify, and erase whole device or only selected memory ranges.
  • "direct" programmers (serial or parallel) for baseline, midrange, most 18F devices, and 24C eeproms.
  • ICD1 (not tested at all!)
  • ICD2 (serial and USB) with automatic firmware upload.
  • PICkit1 (osccal regeneration supported).
  • PICkit2 only with firmware version 1.x (osccal regeneration and firmware upload supported).
  • PicStart+ (18F devices not supported).
  • Tiny Bootloader, Pickit2 bootloader, and Picdem FUSB bootloader.
  • ICD2 debugging for a few 16F devices (16F87X and 16F7X7) and all 18F devices.
  • GPSim simulator.
  • Run, halt, step, and simple breakpoint.
  • Program counter and breakpoint in source editor (when disassembly listing is available).
  • Read, write, and watch registers.
  • Device Information view: IO pins, operating range, DIP layout (for some devices).
  • Hex file editor for all but newest devices (tested only with inhx32 format).
  • Checksum computation (partial support).
  • Register view: displays available registers.
  • Configuration bits generator for some toolchains (gpasm, SDCC, and PIC30): partial support.
  • Template source generator for some toolchains (gpasm, SDCC, and ASM30): partial support.
  • KDE3
  • KDE4 from version 0.16.0

Command-line Utilities:

piklab-prog: to program and to debug with an optionnal interactive mode.
piklab-hex: to manipulate HEX files (check, info, fix, and compare).
piklab-coff: to view COFF (info, variables, sections, symbols, lines) and library (info, symbols) files.

  • Can be compiled with Qt only.
  • Linux and Windows.

Warning: Piklab as any software contains bugs. In particular calibration words may be lost when programming or erasing devices.