The firmware should be flashed by bash script.

./flash.sh

The script downloads, compile and install the pk2cmd utility. After that firmware is flashed. 

PIC microcontroler should be powered from programmer during this process.