View previous topic :: View next topic |
Author |
Message |
luisjoserod
Joined: 10 Jan 2019 Posts: 16 Location: Maracaibo, Venezuela
|
Constantly doing different setups for Timers |
Posted: Fri Feb 22, 2019 6:58 am |
|
|
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
|
|
Posted: Fri Feb 22, 2019 9:39 am |
|
|
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: 19549
|
|
Posted: Fri Feb 22, 2019 9:53 am |
|
|
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
|
|
Posted: Fri Feb 22, 2019 2:47 pm |
|
|
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: 19549
|
|
Posted: Fri Feb 22, 2019 2:56 pm |
|
|
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
|
|
Posted: Fri Feb 22, 2019 3:09 pm |
|
|
Thanks you _________________ Luis,
IEEE Member at University of Zulia
Electronics Engineering Student at URBE |
|
|
|