PDA

View Full Version : Problems programming a 10F206 PIC using the Melabs U2 USB Programmer



BobP
- 11th May 2020, 16:46
Hi All,

Having programmed 12F, 16F and 18F parts over many years with Melabs USB programmer with no problems I am struggling trying to program a 10F206 chip.

I get 2 error messages when trying to program the chip. "Calibration programming error" followed by "Erase Failed".
If I keep trying to program it once in a blue moon it will program correctly.

Here is what I have tried so far:

The chip is not in a circuit but stand alone.
Tried 2 chips both are showing this problem
Have tried both my home setup and my work setup. Both identical programmers and each PC running Windows 10.
The wiring to the PIC has been checked by others.


Both programmers are Melabs U2 USB programmer version 4.66
I have exhausted all my ideas and appreciate any clue as to the problem?


Many thanks,
Bob

richard
- 11th May 2020, 22:57
sounds like you have erased the chips osccal value.
search the forum for osccal and how to recover the value.

mpgmike
- 12th May 2020, 00:24
Referencing Figure 1 (page 2) of the PIC10F200/202/204/206 data sheet, VDD is pin 5 and VSS is pin 2. How did you physically mount a PIC10F206 into a ME Labs U2 Programmer?!?

You are going to have to run jumper wires to a PICkit3/4 to program this micro beast (or run them to your U2).

Ioannis
- 12th May 2020, 08:33
One problem seems to be the calibration that might be lost. On my programmer (Elnec Pikprog+) there is a checkbox to preserve the calibration before erasing the chip. Please check that on yours.

The second problem seems to be related to a bad contact of the pins, wires or whatever you use to physically connect the chip to the programmer.

Ioannis