The current Device file (1.63.148) needs patching to get the PIC18F24K50 to work properly.
Here are the things needing changing with the Device file editor:
1) Device ID is 5C60 not 5C30
2) OSCAL save must be set to 0
3) Program memory write script should be 104 not 298
4) Program memory word is 32 not 64
5) Write cfg on erase set to 0
with these changes, I was able to get it to work properly.
Search Criteria
Package Details: pk2cmd-plus 1.21rc1_1.63.148-2
Package Actions
| Package Base: | pk2cmd-plus |
|---|---|
| Description: | PICkit 2 CLI software with updated DeviceFile and udev rules |
| Upstream URL: | http://www.microchip.com/pickit2 |
| Category: | devel |
| Licenses: | |
| Submitter: | bxs |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 5 |
| First Submitted: | 2012-07-24 01:59 |
| Last Updated: | 2014-02-01 20:05 |
Dependencies (1)
Required by (0)
Sources
- 60-pickit2.rules
- http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit2_PK2CMD_WIN32_SourceV1-21_RC1.zip
- LICENSE
- PK2DeviceFile_v1.63.148.zip
- pk2_devicefile_osfile_paths.patch
Latest Comments
Comment by konsgn1
Comment by Manouchehri
I think I managed to add PIC32MX250F128B with the pk2dft tool.
If anyone wants to download it:
curl -s http://sprunge.us/TSVO | base64 -d | xz -d > PK2DeviceFileNew.dat
And the sha512sum is:
a73cea8a80a362d8e0c4be8e73a3d492d5946cf047343c9be786ed0aa8bf6815766a7ed465af78a85de0aebd002dc0c382a96a762b6892d9e642ff1ea4d79aca
Comment by bxs
@ivanovp
Thanks for the report, updated the PKGBUILD, now it should work well with curl.
Comment by ivanovp
Interestingly curl cannot download the PK2DeviceFile:
-> Downloading PK2DeviceFile_v1.63.148.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
curl: (22) The requested URL returned error: 403 Forbidden
However I can download it using browser...
Comment by bxs
New Device File that got (http://www.microchip.com/forums/fb.ashx?m=749972) with new 57 supported devices ;)
//----------------------------------------
pk2cmd -?V
Executable Version: 1.21.00
Device File Version: 1.63.148
OS Firmware Version: 2.32.00
//----------------------------------------
pk2cmd -?P
Device File Version: 1.63.148
Number of devices = 694
(...)
//----------------------------------------
List of New Supported Devices:
PIC16F527
PIC16C83
PIC16C84
PIC16F83
PIC16F84
PIC12F1501
PIC12LF1501
PIC16F1784
PIC16F1786
PIC16F1787
PIC16LF1784
PIC16LF1786
PIC16LF1787
PIC16F1454
PIC16F1455
PIC16F1459
PIC16LF1454
PIC16LF1455
PIC16LF1459
PIC18F26J13
PIC18F26J53
PIC18F27J13
PIC18F27J53
PIC18F46J13
PIC18F46J53
PIC18F47J13
PIC18F47J53
PIC18LF26J13
PIC18LF26J53
PIC18LF27J13
PIC18LF27J53
PIC18LF46J13
PIC18LF46J53
PIC18LF47J13
PIC18LF47J53
PIC18F24K50
PIC18F25K50
PIC18F26K50
PIC18F45K50
PIC18F46K50
PIC18LF24K50
PIC18LF25K50
PIC18LF26K50
PIC18LF45K50
PIC18LF46K50
PIC18F25K80
PIC18F45K80
PIC18F46K80
PIC18F65K80
PIC18F66K80
PIC18LF25K80
PIC18LF26K80
PIC18LF45K80
PIC18LF46K80
PIC18LF65K80
PIC18LF66K80
DSPIC33FJ64GS608
Comment by bxs
V1.21RC1 with support for most recent Device Files, supports 637 devices!
Nice :D
//----------------------------------------
$ pk2cmd -?V
Executable Version: 1.21.00
Device File Version: 1.62.14
OS Firmware Version: 2.32.00
//----------------------------------------
$ pk2cmd -?P
Device File Version: 1.62.14
Number of devices = 637
Device Name Device Family
----------- -------------
PIC10F200 Baseline
PIC10F202 Baseline
PIC10F204 Baseline
(...)