Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : programming 16F628A
Author | Message | ||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
Trying to program a 16F628A with my PicKit3 it connects OK but gives an error message Device ID does not match. I have checked my setting OK. I tried to program anyway but programming failed. Any ideas. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 815 |
Hi Paul, is your PIC self powered? Did you use 5V or 3V3? Did you have a connection between VCC of the PicKit and your PIC? Frank |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
Yes it is powered by my Bench Supply I have programmed a lot of PICs before and never had a problem. I think maybe a faulty chip, I will get another next time I go to town. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2794 |
Paul, Sometimes the PicKit3 software will reply with this error even though the selection is correct. Couple of things to check/try: 1: Ensure the reset pin is pulled high (10k) 2: Ensure you have a decoupling cap close to PICs power pins (100nF) 3: If in a breadboard - move circuit to a different position (cheap breadboard issue that keeps appearing on this forum!!) If all above ok, then just try programming anyway - it may well work. The early MaxiMites I had the Device ID error, but was able to program and successfully use the PICs. Good luck . . . . WW EDIT: The debugging feature of the PicKit3 may not work with an 'incorrect Device ID'; but programming will (or should!!) For everything Micromite visit micromite.org Direct Email: whitewizzard@micromite.o |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
Not a Dreadboard and I tried programming anyway but it didn't work. I will look at your other suggestions especially the decoupling, I know my bench power supply is a bit dirty so I will try powering from a cleaner supply. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 815 |
I had the same problem last week with a 12F629 - always an error message: Device ID does not match! I tried a old board revision which worked in the past with the same 12F629 on it and got the same error! Now I tried IPE instead of MPLAB and all was working without any trouble?! I don't know why my MPLAB suddenly doesn't worked with my PicKit 3... Paul, try another program (PicKit 3 standalone software, MPLABX, IPE, MPLAB) to program your chip... Frank |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Paul, I flashed one of these a few weeks ago with the PiKcit3 and V2.26 of IPE - I'm using it for a capacitance meter a la Roman Black. As I remember it complained the first time I tried and then worked the second time. The supply is a good bench one. Greg |
||||
Print this page |