piklab-prog(1) Commandline program for PIC-microcontroller programming.


piklab-prog [Qt-options] [KDE-options] [options] [file]


This manual page documents briefly the piklab-prog command.

Piklab-prog is a command line tool, which can be used to program microcontrollers with program and data, stored in a HEX-file to a connected programmer. It supports the most common serial, parallel and usb programmers, like ICD2, Pickit2, PicStart+) and debuggers (ICD2).


This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
-h, --help
       Show summary of options.
-v, --version
       Show version of program.
       Show Qt specific options
       Show KDE specific options
       Show all options
       Show author information
       Show license information
       End of options

Options: -c, --command <name>        Perform the requested command.
       Return the list of recognized commands.
       Display debug messages.
       Display extra debug messages.
       Display all debug messages.
       Do not display messages.
-f, --force
       Overwrite files and answer "yes" to questions.
-i, --cli
       Interactive mode
-r, --range <name>
       Memory range to operate on.
       Return the list of memory ranges.
-p, --programmer <name>
       Programmer to use.
       Return the list of supported programmers.
-d, --device <name>
       Target device.
       Return the list of supported devices.
-f, --format <name>
       HEX output file format.
       Return the list of supported HEX file formats.
-t, --port <name>
       Programmer port ("usb" or device such as "/dev/ttyS0")
       Return the list of detected ports.
--firmware-dir <dir>
       Firmware directory.
       Indicates that device is self-powered.


file <HEX-filename for programming>.


piklab was written by Nicolas Hadacek and many others, including:

    * Alain Gibaud: author of Pikdev; main infrastructure; IDE interface; direct programmers; gputils integration.

    * Keith Baker: direct programmer support for 16F7X devices.
    * Xiaofan Chen: numerous tests of PICkit1/2 and ICD2 programmers.
    * Craig Franklin: author of gputils (disassembler and coff parser).
    * Manwlis Giannos: direct programmer support for PIC18FXX2/FXX8 devices.
    * Stephen Landamore: author of LPLAB (microchip command-line programmer).
    * Brian C. Lane: original code for direct programming.
    * Sébastion Laoût: author of Likeback.
    * Nestor A. Marchesini: tests of PicStart+ programmer.
    * Lorenz Mösenlechner and Matthias Kranz: USB support for ICD2 programmer.
    * Mirko Panciri: direct programmers with bidirectionnal buffers.
    * Sean A. Walberg: direct programmer support for 16F676/630 devices.

    * Michele Petrecca: Italian translation.
    * Alain Portal: French translation.
    * Stefan von Halenbach: German translation.
    * Nagy Lázló: Hungarian translation.


This is free software. You may redistribute copies of it under the terms of the GNU General Public License
        <http://www.gnu.org/licenses/gpl.html>.  There is NO WARRANTY, to the extent permitted by law.

This manual page was written by Stefan <[email protected]>, for the Debian project (but may be used by others).