PKCMD-LX CommandLine Application
Overview
We call PICKitPlusCommandLine for Linux Operating Systems PKCMD-LX.
PKCMD-LX is a new Linux operating systems application that provides support for the latest generation of Microchip microcontrollers. The software is feature rich and easy to use via the console.
PKCMD-LX application is the replacement application for the existing Microchip PICkit2 Open Source command line application and the MPLAB Java based PICkit3 command line application.
The intent of PKCMD-LX is to enable operations using either a PICkit2 or PICkit3 programmer via the Linux Operating System console interface. Console arguments are passed to the software to configure the operation of write, reading, verify. The software capabilities are shown in the table.
PKCMD-LX supports nearly 1000 different types of microcontrollers.
- PIC10F, PIC12F, PIC16F, PIC18F, PIC24.
- dsPIC30 and dsPIC33 family.
- See here for the full list of supported parts.
New functionality
- Manages Microchip HEF and SAF memory with automatic merging of HEF/SAF memory into target part.
- Certified for specific Linux distributions.
- New programming protocols to support new classes of Microchip microcontrollers.
- Simple command line arguments.
- Part type, revision and family displayed during read operations.
- Reset of Bandgap.
- Updated and managed database for Microchip and other EEPROM devices.
- Automatic programming of programmer firmware.
PKCMD-LX features:
- Supports the standard Microchip PICkit2 and PICkit3 programmer firmware. PICKitPlus does not require an update to the Microchip PICkit2 and PICkit3 programmer firmware.
- Supports multiple voltages within constraints of physical programmer - noting that some clone programmers do not support voltage control.
- Read/write program and data memory of microcontroller.
- Erase of program memory space with verification.
- Write/Read and Verify options.
- Control power on and off independent of programming state.
- OSCCAL support
Safe Usage Enhancements
- Generation of log file.
- Generation of error log file.
- Internet connection not required.
User licensing
- Single named user license.
- One year software support/maintenance.
What is the difference between the PKCMD-LX and other Microchip console software?
The table below compares the capabilities.
| PKCMD-LX | Other Microchip software | |
|---|---|---|
|
Hex File Operations
|
Same capability | Same capability |
|
Device Family - microcontrollers
|
Legacy parts and latest parts |
PICkit2 software limited to legacy parts. PICkit3 supports legacy and latest parts via MPLAB-X Java interface. |
|
Programmer Operations
|
Same capability | Same capability |
|
Yes | Partial |
|
Yes | No |
|
Yes | No |
|
Tool Operations
|
Yes | No |
PKCMD-LX Prerequisites and Constraints
PICkit2 and PICkit3 Device Programmers supported.
EEProm devices not supported.
Tested on 32-bit and 64-bit Debian-based Linuxes, but should work on all flavours, within specific constraints:
-
Requires
libcv2.13 or above. This is linked to specific distro. If the libc version is too low, only recourse is to install a newer distro. -
Requires root (or sudo) during installation and configuration.
-
Requires
fuse(i.e.fusermount), if you want to run PKCMD-LX without root privileges. -
Expects
libfusev2.9.0 or greater, although older versions may work. For example, v2.8.5 prints warning messages but does function. -
Requires a CPU with an Intel architecture (i.e. x86 or x64). Will not run on ARM.
WARNING: DOES NOT CURRENTLY WORK IN DEBIAN 13. We are working on a fix.
Distros known to have a compatible version (and later) of libc include:
-
Arch 2011.08.19
-
CentOS 7.8.2003 (released in 2020)
-
Debian 7 (Wheezy)
-
Fedora 15 (Lovelock)
-
Gentoo 11.2
-
Mint 11 (Katya)
-
openSUSE 12.1
-
Slackware 13.37
-
Ubuntu 11.04 (Natty)
Distros that do not use libc (such as Abyss, Alpine, Sabotage, Vanilla and Void) are not compatible unless libc is installed on those distros - but, this is not supported.
What customers say
Customer rating: 5/5 from 2,011 customer feedback ratings.
“This device [a PICKit2] suddenly stopped working a couple of years ago after Mplab IPE said updating firmware. Using this software [PKCMD-LX] has brought it back to life so thank you.”
“I have used it over this last year and it has performed faultlessly both with pickits 2 & 3 - a feature previously unknown with other programmers/software that I have used over the years.”
“I am very satisfied with your great software. I use it with clones of PicKit2 and it works very well.”
Our service record: no customer issues, outstanding service and no open support tickets.
PICKitPlus