PDA

View Full Version : PIC12F629 - OSCCAL LOST in combat



ewandeur
- 28th March 2007, 16:47
I'm accidentally overwrite the OSCCAL value, how can I restore this value to the PIC?
I've tried to rewrite using ICPROG, assigning the value in the last position but without success until now.

Tks in advance.

malc-c
- 28th March 2007, 20:56
It is possible to regenerate the OSCAL value. Some Programmers (PicKIT1 for example) has the ability. It may be possible using the software you have by reading one of the values (the last set in the code I think). - Try searching the forum, I'm sure the subject has been covered before.

flotulopex
- 28th March 2007, 21:06
You can try WINPIC.

It will restore the default OSCCAL value for you or you can set it as you like in the HEX editor.

http://freenet-homepage.de/dl4yhf/winpicpr.html