Author |
Message |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Mon Nov 01, 2021 8:07 am Subject: HEF many write cycles |
But that's how I'm going to use it, so I'm testing it like that.
So if I use it that way, will I be safe if I go over 100k? |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Mon Nov 01, 2021 7:47 am Subject: HEF many write cycles |
Also, the HEF will often fail after the chip is switched off for a while. Repeated
writes tells you almost nothing...
I went up to 200k, then I turned it off, 12 hours later another 50k, an ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Mon Nov 01, 2021 7:44 am Subject: HEF many write cycles |
Going beyond the data sheet limits is not a guarantee it will fail right away. It will typically continue working past the limit but you will have no idea how long past. You only know you are safe w ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Mon Nov 01, 2021 6:04 am Subject: HEF many write cycles |
Hey guys.
About the amount of write cycles that the 10f322 HEF supports, which was the initial question of this topic and as the datasheet informs, this pic supports 100k write or erase right?
well ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Thu Sep 30, 2021 7:58 am Subject: HEF many write cycles |
Thanks everyone for the tips. |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Wed Sep 29, 2021 8:02 am Subject: HEF many write cycles |
In this project I would really only need 1 bit to save the last state.
But ok, thanks for answering. |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Wed Sep 29, 2021 7:40 am Subject: HEF many write cycles |
Thanks for the previous answers.
I had a doubt, is it possible to use a mosfet as a 1bit memory?
I read somewhere that it keeps the last state, how would that work, or am I crazy? |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Tue Sep 28, 2021 4:57 am Subject: HEF many write cycles |
Though a lot better, it still involves a slow write. On the EEPROM, if a
write gets interrupted, only one byte would be damaged. However I still have
to just recommend a clock chip. Uses the same ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Mon Sep 27, 2021 5:25 am Subject: HEF many write cycles |
Try reading the device ID byte, and see if the ID is for a 10F or a 10LF.
It is possible that the PK3, just reports 10Fxxx, for both chips.
The device ID's are in the 'programming specifications' da ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Sat Sep 25, 2021 10:48 am Subject: HEF many write cycles |
a doubt, when I connect the pic to pickit3, it shows me pic 10F322, which is powered from 2.3 to 5.5V, if this pic were the 10(L)F322 which is powered from 1.8v to 3.6v the pickit3 would show the lett ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Sat Sep 25, 2021 10:42 am Subject: HEF many write cycles |
hmm, I'm thinking he wants to 'restore' the light based on what it was before the PIC power was lost. if the light was on, then turn the light on when PIC program runs again. If off before ,then leave ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Fri Sep 24, 2021 2:16 pm Subject: HEF many write cycles |
thanks everyone, i will test this option and be back to report success or failure. |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Fri Sep 24, 2021 2:14 pm Subject: HEF many write cycles |
If (haha) you had a spare pin, configure it as analog, to measure VDD. Have main() read it, if say >4.5, take no action. when it drops below, indicating a power fail, then save the 'status'. ?
I ... |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Fri Sep 24, 2021 2:12 pm Subject: HEF many write cycles |
Can I suggest something like an I2C clock chip. Most of these have
a small amount of RAM.
I can't embed anything else. |
Topic: HEF many write cycles |
rodrigo_cirilo
Replies: 42
Views: 101531
|
Forum: General CCS C Discussion Posted: Fri Sep 24, 2021 2:11 pm Subject: HEF many write cycles |
FRAM is quoted as having an "infinite" lifetime, but FRAM memories aren't cheap.
Can you incorporate RAM + small coin cell battery?
I can't embed anything else. |
|