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 CCS Technical Support

load osccal register

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



Joined: 07 Sep 2003
Posts: 56

View user's profile Send private message Send e-mail

load osccal register
PostPosted: Sun Feb 22, 2004 1:35 am     Reply with quote

Hello
I have a pic 16f630
I know that every time the pic is programmed, the calibration word erases.
I want to prevent it.
since this is a manufacturing process, I can't check each pic's calibration word. how can I do that?
Felix Althaus



Joined: 09 Sep 2003
Posts: 67
Location: Winterthur, Switzerland

View user's profile Send private message

PostPosted: Sun Feb 22, 2004 3:54 am     Reply with quote

Hi
Quote:
I know that every time the pic is programmed, the calibration word erases.

Thats not exactly true.If you tell the programmer not to programm the last program memory address the osccal value will be still there (if the chip wasn't erased before, I think a few programmers do that before programming)
The other calibration value are the two bandgap bits in the config word but I don't know if you can only program specific config bits.

Wouldn't it be possible to first read the whole pic, extract the calibration constants and then program it?


Felix
chava



Joined: 07 Sep 2003
Posts: 56

View user's profile Send private message Send e-mail

canot
PostPosted: Sun Feb 22, 2004 7:41 am     Reply with quote

tank you
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