PIC12F629 - OSCCAL LOST in combat


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Location
    Sao Paulo - Brazil
    Posts
    16

    Default PIC12F629 - OSCCAL LOST in combat

    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.

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    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.

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default Try WINPIC

    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
    Roger

Similar Threads

  1. How to Reset Osccal Value
    By greensasquatch in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 1st September 2008, 03:11
  2. Lost your OSCCAL Value ???
    By Acetronics2 in forum Documentation
    Replies: 10
    Last Post: - 27th November 2007, 18:11
  3. 12f509 and OSCCAL
    By mwhatley in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 20th October 2007, 01:35
  4. Problem DEFINE OSCCAL and PBP 2.46
    By David in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd April 2005, 17:19
  5. PIC12F629, useing all I/O pins
    By Jcee324 in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 7th December 2004, 11:05

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts