---
name: "piklab-prog"
section: "1"
platform: "linux"
package: "piklab"
version: "0.15.7-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/piklab-prog"
---

# piklab-prog(1)

Commandline program for PIC-microcontroller programming.

## NAME

piklab-prog - Commandline program for PIC-microcontroller programming.

## SYNOPSIS

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

## DESCRIPTION

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).

## OPTIONS

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.

- **--help-qt**

  	Show Qt specific options

- **--help-kde**

  	Show KDE specific options

- **--help-all**

  	Show all options

- **--author**

  	Show author information

- **--license**

  	Show license information

- **--**

  	End of options\
   **Options:** **-c, --command \<name\>**\
   	Perform the requested command.

- **--command-list**

  	Return the list of recognized commands.

- **--debug**

  	Display debug messages.

- **--extra-debug**

  	Display extra debug messages.

- **--max-debug**

  	Display all debug messages.

- **--quiet**

  	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.

- **--range-list**

  	Return the list of memory ranges.

- **-p, --programmer \<name\>**

  	Programmer to use.

- **--programmer-list**

  	Return the list of supported programmers.

- **-d, --device \<name\>**

  	Target device.

- **--device-list**

  	Return the list of supported devices.

- **-f, --format \<name\>**

  	HEX output file format.

- **--format-list**

  	Return the list of supported HEX file formats.

- **-t, --port \<name\>**

  	Programmer port ("usb" or device such as "/dev/ttyS0")

- **--port-list**

  	Return the list of detected ports.

- **--firmware-dir \<dir\>**

  	Firmware directory.

- **--target-self-powered**

  	Indicates that device is self-powered.\

## Arguments:

**file \<HEX-filename for programming\>.**\

## SEE ALSO

[**piklab-prog**(1)](/piklab-prog/1.md), [**piklab-hex**(1)](/piklab-hex/1.md), [**piklab-coff**(1)](/piklab-coff/1.md), [**gputils**(1)](/gputils/1.md), [**sdcc**(1)](/sdcc/1.md).\

## AUTHORS

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.

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

## COPYRIGHT

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 \<vonHalenbach@users.sf.net\>, for the Debian project (but may be used by others).
