CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug Reports on this forum. Send them to support@ccsinfo.com

PIC10F200 OSCCAL

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ViperARG



Joined: 07 Jan 2017
Posts: 16

View user's profile Send private message

PIC10F200 OSCCAL
PostPosted: Mon May 22, 2017 4:52 pm     Reply with quote

Hi guys, I'm using Googlium training board and for some reason It lost OSCCAL value. On Pickit 2 says invalid osccal value detected and when I try to regenerate it says programming failed at memory address 0x000000. On Pickit 3 says Target has invalid calibration data (0x3f).


How can I rescue the chip? In my city this chip is hard to find and I need it for the training board since it's tutorials were written for this chip. Can I manually set it? Which value goes in for this chip. How do I prevent this from happening again? Thanks in advance.
Ttelmah



Joined: 11 Mar 2010
Posts: 18003

View user's profile Send private message

PostPosted: Tue May 23, 2017 12:00 am     Reply with quote

Have a look at this thread:

(A search here would have found this.....)

<http://www.ccsinfo.com/forum/viewtopic.php?t=47427&highlight=osccal>

So you would need to add:

#ROM 0x0FF=0x83F

You can also then run some code and test if the oscillator is giving the correct timings. If not, 'tweak' the value.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group