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

Timers and longevity of PIC

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



Joined: 23 Apr 2005
Posts: 73

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

Timers and longevity of PIC
PostPosted: Wed May 11, 2005 4:12 pm     Reply with quote

In my project I am going to have Timer0 and Timer1 (and possibly more) running constantly (never disabled once the PIC powers up) and triggering ISR's every time they overflow. Since the project will be running 24/7 for weeks and possibly months at a time, what are the repurcussions on the PIC's life expectancy with this much timer activity at all times? I am hoping that the PIC was designed with this kind of use in mind so that it won't significantly lower the lifetime. If anyone knows, please let me know!
newguy



Joined: 24 Jun 2004
Posts: 1904

View user's profile Send private message

PostPosted: Wed May 11, 2005 4:27 pm     Reply with quote

I can't imagine any instance where having the timers running for that length of time would damage anything. Think about it: what's really going on is that a bunch of counters are counting. Would that affect the PIC's life? I really doubt it.

Think about how most people leave their home PCs running 24/7. Does that affect the processor's lifetime? No. It's simply a digital circuit doing what it was meant to do.

And, some personal experience: I have a device that I created over a year ago at home here, running 24/7, without any problems whatsoever. It's PIC-based, by the way, with a couple of counters active.
Bryan



Joined: 23 Apr 2005
Posts: 73

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

PostPosted: Wed May 11, 2005 4:40 pm     Reply with quote

Excellent, thanks! I was just reading the spec sheet and noticed that the internal EEPROM has a lifetime of approximately 1,000,000 cycles so I was curious if the timers had some similar sort of lifetime (Since I don't know exactly how they work internally - if there are moving parts or anything). Good to hear that you have a project that has been running for an extended period with no problems, sounds like I should have no trouble!
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Thu May 12, 2005 3:05 am     Reply with quote

Quote:
if there are moving parts or anything

If you listen close enogh you will hear the timers ticking. Very Happy

There are similar timers / dividers implemented in silicone in any digital clock, some of them already have been working for several decades now, having made an unbelievable number of clock cycles in total. (I also tend to feel sympathy with constantly running electronics sometimes)
Ttelmah
Guest







PostPosted: Thu May 12, 2005 4:27 am     Reply with quote

I have some of the first generation PIC processors, still running, that were built into units some 20 years ago. These all use timers, and all run 24/7.
As with all electronics, you will see the classic 'bathtub' failure curve, with a reasonable number failing early, then a long period of low failures, and then a rising failure rate (this is starting to appear now, with many of the ROM memories starting to cause problems). The earliest failures, will probably be from flash memory, on current chips.

Best Wishes
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