View previous topic :: View next topic |
Author |
Message |
rikotech8
Joined: 10 Dec 2011 Posts: 376 Location: Sofiq,Bulgariq
|
|
Posted: Fri May 25, 2018 9:11 am |
|
|
OK, I switched to 12F683, and imagine my happy face when I got the same error. There is definitely something wrong with the programmer. I scoped the clock - ok, the data -ok, the VDD is stable during programming. Guess what? The MCLR pin barely reached 6V when programming. I supplied the MCLR/VPP from external source (12V) and TADAAA! WORKS :O.
First I thought that the USB doesn't supply the programmer well. I moved the usb from the PC port to a powered USB Hub. Same issue.
I am almost sure that the programmer has failed. Any ideas how to fix VPP on a PICKit3?
I know this is another topic and most probably not for this forum and I would understand no answers at all. Anyway at least you can't downvote it  _________________ A person who never made a mistake never tried anything new. |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9469 Location: Greensville,Ontario
|
|
Posted: Fri May 25, 2018 9:37 am |
|
|
Hmm.. any chance you've got the LVP fuse set i your program ? I've had a PICkit3 for years and never had it not work. Do you have a 10K pullup on _mclr to Vdd ?
Jay |
|
 |
rikotech8
Joined: 10 Dec 2011 Posts: 376 Location: Sofiq,Bulgariq
|
|
Posted: Fri May 25, 2018 10:00 am |
|
|
No LVP. Nothing connected. The experimental board is like this <http://www.prodctodc.com/bmz_cache/3/38fe401e7cff9a868cb556fd077fa1a7.image.300x300.jpg>
Just the programmer wires and bare uC. The uC itself is powered by the programmer. _________________ A person who never made a mistake never tried anything new. |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9469 Location: Greensville,Ontario
|
|
Posted: Fri May 25, 2018 10:04 am |
|
|
do you have a 10K pullup between VDD and mclr (pins 1 and 2 of the PK3) ?
Jay |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri May 25, 2018 10:55 am |
|
|
rikotech8 wrote: | OK, I switched to 12F683, and imagine my happy face when I got the same error. There is definitely something wrong with the programmer. I scoped the clock - ok, the data -ok, the VDD is stable during programming. Guess what? The MCLR pin barely reached 6V when programming. I supplied the MCLR/VPP from external source (12V) and TADAAA! WORKS :O.
|
There are several threads on the 6v Vpp problem with Pickit 3 on
the Microchip forum. You should move your problem to Microchip.
Maybe open a support ticket.
https://www.microchip.com/forums/m895528.aspx
https://www.microchip.com/forums/m824325.aspx |
|
 |
rikotech8
Joined: 10 Dec 2011 Posts: 376 Location: Sofiq,Bulgariq
|
|
Posted: Fri May 25, 2018 11:33 am |
|
|
@temtronic:
Yes there is 10K between these two pins.
All:
It seems that the problem may be caused by bad PICKit3 firmware. The micro within controls the VPP boost circuits. I will upgrade the MPLAB or probably move to MPLAB X, though there are reported bugs with it too. _________________ A person who never made a mistake never tried anything new. |
|
 |
|