PICkit 2 stand-alone app device file update (1.62)

Post
MichaelS
Moderator
2010/03/22 09:41:42
Here's a device file update for the stand-alone PICkit 2 programmer application. It should show as device file version 1.62. I'm working on posting it to the website.

New parts:
PIC16F1827
PIC16LF1827
PIC16LF1933
PIC16F1933
PIC12F617
PIC16F707
PIC16LF707
PIC16LF1826
PIC18F45K22
PIC18LF45K22
PIC12F1822
PIC16F1823
PIC12LF1822
PIC16LF1823
PIC16F1947
PIC16LF1947
PIC16F1946
PIC16LF1946
PIC18LF25K22
PIC18F25K22
PIC18F46K22
PIC18LF46K22
PIC18F26K22
PIC18LF26K22
PIC18F44K22
PIC18LF44K22
PIC18F24K22
PIC18LF24K22
PIC18F43K22
PIC18LF43K22
PIC18F23K22
PIC18LF23K22
dsPIC33FJ64GP206A
dsPIC33FJ64GP306A
dsPIC33FJ64GP310A
dsPIC33FJ64GP706A
dsPIC33FJ64GP708A
dsPIC33FJ64GP710A
dsPIC33FJ128GP206A
dsPIC33FJ128GP306A
dsPIC33FJ128GP310A
dsPIC33FJ128GP706A
dsPIC33FJ128GP708A
dsPIC33FJ128GP710A
dsPIC33FJ256GP506A
dsPIC33FJ256GP510A
dsPIC33FJ256GP710A
Stefan Uhlemayr
Super Member
RE: PICkit 2 stand-alone app device file update (1.62) 2010/03/22 12:28:06
ORIGINAL: MichaelS

Here's a device file update for the stand-alone PICkit 2 programmer application. It should show as device file version 1.62. ...
Thanks for this update, Michael! Smile
FunnyNYPD
Super Member
RE: PICkit 2 stand-alone app device file update (1.62) 2010/03/22 15:02:43
No rush for MPLAB support, as long as PK2 can program it, those new chips can be considered for new projects.
FunnyNYPD
Super Member
RE: PICkit 2 stand-alone app device file update (1.62) 2010/03/22 15:04:24
Sooner or later, more and more PK2 user will ask for more "newer" PIC32 support on PK2 software.
xiaofan
Super Member
RE: PICkit 2 stand-alone app device file update (1.62) 2010/03/22 16:07:10
Thanks!!! That helps PICKit 2 users!
xiaofan
Super Member
RE: PICkit 2 stand-alone app device file update (1.62) 2010/03/22 16:49:16
BTW, could you bring pk2cmd up to date just like the standalone GUI V2.61? Thanks.
ewetzel
New Member
RE: PICkit 2 stand-alone app device file update (1.62) 2010/11/02 11:14:41
xiaofan

BTW, could you bring pk2cmd up to date just like the standalone GUI V2.61? Thanks.


I second this request.

I'm somewhat curious about what changed in PK2DeviceFile.dat that broke compatibility with pk2cmd v1.20. The latest release of the GUI (v2.61) and the CLI (v1.20) both ship with the same version of the device firmware (v2.32.00). If the PICkit 2 didn't need new firmware when you updated the PK2DeviceFile.dat, did the Compatibility number really need to be incremented?
nextime
New Member
RE: PICkit 2 stand-alone app device file update (1.62) 2010/11/05 03:53:32
I also add my request to let the pk2cmd users to update the devicefile too!
jap
New Member
Re: RE: PICkit 2 stand-alone app device file update (1.62) 2010/12/01 17:29:47
Please provide compatible pk2cmd source for the device file.
It is unusable with pk2cmd v1.20

ggallant571
New Member
Re:PICkit 2 stand-alone app device file update (1.62) 2010/12/02 15:14:18
I replaced a pic18f2520 with a pic18f25k22. Both parts at 5V. I can usually program the 25K22 as long as the 5V power is off. When it is on, I get random device ID's. The spec sheet is somewhat ambiguous about operating the 26K22 at 5V. Once programmed it operates as expected.

George
kotkis
Starting Member
Re:PICkit 2 stand-alone app device file update (1.62) 2010/12/03 09:13:03
ggallant571
The spec sheet is somewhat ambiguous about operating the 26K22 at 5V

18f26k22 works fine at 5v;)



jap

Please provide compatible pk2cmd source for the device file.
It is unusable with pk2cmd v1.20

I needed the new pk2cmd PK2DeviceFile.dat for 18f26k22 .. and just decreased compatibility number.
Works for 25k22 and 26k22 - don't know for the other new devices.


MichaelS
Moderator
Re:PICkit 2 stand-alone app device file update (1.62) 2010/12/03 10:31:11
kotkis
I needed the new pk2cmd PK2DeviceFile.dat for 18f26k22 .. and just decreased compatibility number.
Works for 25k22 and 26k22 - don't know for the other new devices.

If I remember correctly, that should work for everything except the PIC24 parts with 9 config words.


jap
New Member
Re:PICkit 2 stand-alone app device file update (1.62) 2010/12/07 14:52:42
There is no response from microchip, so I modified the pk2cmd source. After googling I found the latest sources for the win gui, the binary dat file layout modifications are not used for anything, so it seems nonsense to break compatibility.

changed cmd_app.h, DevCompatLevel value. The utility now accepts the latest device dat file.

--- cmd_app.h~    2008-12-20 03:07:02.000000000 +0100
+++ cmd_app.h    2010-12-02 02:21:30.000000000 +0100
@@ -27,7 +27,7 @@
     void PK2_CMD_Entry(int argc, _TCHAR* argv[]);
     void ResetAtExit(void);
 
-    static const unsigned char DevFileCompatLevel = 5;
+    static const unsigned char DevFileCompatLevel = 255;
     static const unsigned char DevFileCompatLevelMin = 0;
 
     CPICkitFunctions PicFuncs;

fwd03
Starting Member
Re:PICkit 2 stand-alone app device file update (1.62) 2011/09/27 13:06:06
I am sorry, this file does not work for my pickit2 on 18F24K22 chip.
It always say "Unsupported Part (ID=FFE0)"
I know pickit3 support 18F24K22, but I like pickit2 for its capability to automatically detect the correct part.  But now, somehow it does not work for 18F24K22.
Ninestone
Super Member
Re:PICkit 2 stand-alone app device file update (1.62) 2011/09/27 14:24:36
fwd03

I am sorry, this file does not work for my pickit2 on 18F24K22 chip.
It always say "Unsupported Part (ID=FFE0)"
I know pickit3 support 18F24K22, but I like pickit2 for its capability to automatically detect the correct part.  But now, somehow it does not work for 18F24K22.


0xFFE0 is not the device ID for this chip.  It looks like a value of all 1's 0xFFFF masked for the device ID (revision zeroed out). 

This is not a tool support issue, this is an ICSP connection problem.  The programmer and/or PIC is not hooked up correctly, so the programmer is unable to communicate with the PIC.