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

Constantly doing different setups for Timers

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



Joined: 10 Jan 2019
Posts: 16
Location: Maracaibo, Venezuela

View user's profile Send private message Send e-mail Visit poster's website

Constantly doing different setups for Timers
PostPosted: Fri Feb 22, 2019 6:58 am     Reply with quote

Hello, i know that changing FUSES it's a totally BAD idea..

But i wonder if anything could go wrong if i do different setups
for timer on different situations, it could short the Life-Time of the PIC?

Thanks in advance.
_________________
Luis,
IEEE Member at University of Zulia
Electronics Engineering Student at URBE
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Feb 22, 2019 9:39 am     Reply with quote

The flash memory endurance on the 16F876A is a minimum of 10K writes.
So, if you changed the timer setup 10 times, doing experiments, you
would only use up 10 of the 10000 "lives" of the flash memory.
Ttelmah



Joined: 11 Mar 2010
Posts: 19551

View user's profile Send private message

PostPosted: Fri Feb 22, 2019 9:53 am     Reply with quote

But, I'm puzzled, since there is no fuse on this chip affecting the timers...
So how does changing timer setups involve the fuses?.
luisjoserod



Joined: 10 Jan 2019
Posts: 16
Location: Maracaibo, Venezuela

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Feb 22, 2019 2:47 pm     Reply with quote

No, i'm not saying the fuses affects the timers.
I remember you recommended other user
not to mess with fuses because of what PCM Programmer says.

i was wondering if something analogue
happens when you use setup_timer on the main
it's ok to different setup for different conditions of inputs?
_________________
Luis,
IEEE Member at University of Zulia
Electronics Engineering Student at URBE
Ttelmah



Joined: 11 Mar 2010
Posts: 19551

View user's profile Send private message

PostPosted: Fri Feb 22, 2019 2:56 pm     Reply with quote

Running code has no 'life' involved at all. You could change timer settings 10000 times a minute for ten years without any potential problems.
luisjoserod



Joined: 10 Jan 2019
Posts: 16
Location: Maracaibo, Venezuela

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Feb 22, 2019 3:09 pm     Reply with quote

Thanks you Very Happy
_________________
Luis,
IEEE Member at University of Zulia
Electronics Engineering Student at URBE
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