PICkit 2 Device Data File Editor? - Page 1
Forum section: electronics / general

author: AcHmed99
author_rank: Contributor
timestamp: July 07, 2014, 11:47:08 am
content: Does anybody know of any reason why a Pickit2 would not be able to flash a new PIC16F1713? I’ve modified the pk2devicefile using thePICkit 2 Device Data File Editor. I copied most of the settings from a similar PIC the PIC16F1508. The only settings I changed was part number, Device ID to 3049h and config mask 3EFF and 3F87 pulled from page 30 of theprogramming spec’sof the 1713.When I try to flash the 1713 I get “selected device not detected”. Is their some other setting I’m missing?I know that the simplest solution would be to buy a PICKIT3 but I already have a PICKIT2 and a ME microprog. ME can’t give an answer on when they will update microprog for PIC and I would rather not buy yet another PIC programmer. If anyone has experience with updating the device file and can offer some pointers it would be appreciated.

author: 22swg
author_rank: Frequent Contributor
timestamp: July 07, 2014, 08:04:47 pm
content: Buy a PK3 there on offer at the moment , you will need it for PIC24F

author: dannyf
author_rank: Super Contributor
timestamp: July 08, 2014, 12:52:00 am
content: QuoteWhat's the id returned by pickit2?Maybe it is a confusion between hex vs. dec?Two solutions:1) get a pickit3 - it is a pain;2) use only chips supported by pickit2 - my mode of operations.

author: picandmix
author_rank: Frequent Contributor
timestamp: July 08, 2014, 03:51:45 pm
content: Quote from: 22swg on July 07, 2014, 08:04:47 pmHi,Have looked around but cannot see any PK3 offers - can I ask where you saw it and what price ?Thanks

author: Skimask
author_rank: Super Contributor
timestamp: July 08, 2014, 05:59:37 pm
content: I've tried off and on over the past few months to do the same thing to my PK2 for the '1713, and can't get it to work either. Change DEV ID, config masks, etc, as required, and even tweak a couple of timings back and forth. No dice.The PK3 however works FINE for me under MPLAB. Don't know what everybody else's issue is...Yes, the PK3 is not even in the same league as the PK2 as far as ease of use, and I agree, it's basically garbage when compared...but it works...and it's worked every time.

author: kolbep
author_rank: Frequent Contributor
timestamp: July 08, 2014, 06:20:19 pm
content: The offer s on the microchip direct site. You get a pk3 and a pic on a small board. You get 40% off when you use the coupon code they have above the description

author: kolbep
author_rank: Frequent Contributor
timestamp: July 08, 2014, 06:24:04 pm
content: https://www.microchipdirect.com/ProductSearch.aspx?keywords=DV164131

author: dannyf
author_rank: Super Contributor
timestamp: July 08, 2014, 07:34:04 pm
content: Microchip runs promotions from time to time.Also, watch out for clones that are considerably cheaper.Overall, PICs are not the best chips to get into now.

author: 22swg
author_rank: Frequent Contributor
timestamp: July 08, 2014, 08:25:42 pm
content: Microchip Direct ... have this alsohttp://www.microchipdirect.com/ProductSearch.aspx?Keywords=PG164130In the UK some distributers have same sort of price for dev bd ...http://uk.farnell.com/microchip/dv164131/debug-express-pickit-3-pic-dspic/dp/1686530I guess some countries will differ.I dont know why some have problems with PK3 I run it with MPLABX 2.10 and PIC24FV series. no problems at all ! ( PC is XP pro or win7)

author: picandmix
author_rank: Frequent Contributor
timestamp: July 08, 2014, 08:56:52 pm
content: Hi,Thanks for the heads up, will wait a bit longer and see if they give 40% off the base Pk3 as the dev board is of little use.

author: JTR
author_rank: Regular Contributor
timestamp: July 09, 2014, 04:16:11 am
content: Pretty much the whole 16F1xxx family have a unified programming algorithm.The ONLY reason why the existing pickit 2 software / firmware may choke on the newer 16F1xxx parts is because the DevID and revision has been split across two words. This is something the older pickit 2 wares does not know about. This in itself will not stop the newer devices from being programmed correctly, it may however cause error messages about the DevID that, all else being equal, can be ignored.I am not saying that this is the issue here as I have not checked if the target part actually uses a two word DevID and revision. If it doesn't then something is wrong with the new device entry. If it does then this probably is the right reason for the issue.

author: bequest333
author_rank: Contributor
timestamp: July 23, 2014, 07:47:02 am
content: hi,Hear is Editor and Device file.http://www.elproducts.com/build-your-own-pickit-2.html

author: bequest333
author_rank: Contributor
timestamp: July 24, 2014, 10:05:45 am
content: Hi,Do not write in the following way?0.Editor start1.Open the device file2.Select PIC16F1508 from PartsList3.Right click -> Duplicate Item4.PIC16F1508 can be two5.Select one6.PartName: PIC16F1508 -> PIC16F17137.DeviceID: 2D20 -> 30438.ConfigMasks: 3E03 -> 3F879.Save Device File.

author: bequest333
author_rank: Contributor
timestamp: July 24, 2014, 02:40:53 pm
content: hi, ID

author: bequest333
author_rank: Contributor
timestamp: July 24, 2014, 10:21:58 pm
content: Hi,I do not own the PIC16F17XX.Increase the PIC24F08KL200 in the same way, I have succeeded in writing.Referencehttp://sourceforge.net/p/tinypicbootload/discussion/devices/thread/e3e646c0/PIC16F1508 -> 20pinPIC16F1713 -> 28pinWere compared with data of the same PIC16F1938 28PIN, but could not find the items that reflect the PIN count of the device file.

author: bequest333
author_rank: Contributor
timestamp: July 25, 2014, 06:35:08 am
content: Hi,Cause this is not it?Device ID of the PIC16F1713 is 14bitsDevice ID of the PIC16F1508 is 9bitsPIC16F1508's Device Families = 14Device Family14 has DeviceIDMask 0x3FE0.If you select Device Family14 in PIC16F1713, ID is 0x3043 & 0x3FE0 = 0x3040.Solution1.Duplicate Device Families-Midrange/1.8V Min2.FamlyID 14 --> 213.FamlyName Midrange/1.8V Min --> Midrange/1.8V Min ID-144.DeviceIDMask 3FE0 --> 3FFF5.Move Parts List6.Select PIC16F17137.Family 14 --> 21Referencehttps://www.eevblog.com/forum/microcontrollers/pickit-2-c-sources/If you extracted by combining the file macboy uploaded,PICkit2SourceGuidePCv2-40FWv2-10.doc is generated.Parameters DeviceFile are detailed in the Chapter 7.Thank you very much macboy, the file very helpful !!!