sergev / pic32prog

Flash programming utility for Microchip PIC32 microcontrollers
GNU General Public License v2.0
111 stars 52 forks source link

pickit3 is not recognized #62

Closed igagis closed 4 years ago

igagis commented 4 years ago

I'm using a pickit3 with firmware version 01.56.00. Here is what MPLAB prints when I try to program some MCU:

Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.00
Firmware type..............PIC32MZ

Target voltage detected

However, when I'm trying to use pic32prog I get the following message:

ivan@igagis:~/prj/pic32prog$ ./pic32prog
Programmer for Microchip PIC32 microcontrollers, Version 2.0.241
    Copyright: (C) 2011-2015 Serge Vakulenko
Reply 0036
Incompatible PICkit3 firmware detected.
Please, upgrade the firmware using PICkit 3 Scripting Tool.

No target found.

the pic32prog is built from latest github sources.

After googling for about an hour I could not figure out how to upgrade the pickit3 firmware... My understanding was that MPLAB IDE upgrades the firmware automatically...

Any idea how can I mace pic32prog work?

igagis commented 4 years ago

Ok, I found the instructions:

https://github.com/sergev/pic32prog/wiki/Using-PICkit3

after upgrading pickit3 firmware all works OK.