What can be the minimum programming cycles for pic18f452? I tried searching everywhere but couldn't find. Any help would be appreciated.
As Papabravo said, the minimum number of times you can program a PIC is 0.@MaxHeadRoom
I am talking about programming cycles...number of times one can program (write/erase program flash) 18f452.
Like I always say, "Words mean things."As Papabravo said, the minimum number of times you can program a PIC is 0.
I'll consider that an answer but if u've had any experience of number of times programming 18f452. Then i would like to have a number. I know it can't be an exact one but some number would help.Do you mean:
How many times can I program the part?
or do you mean:
"What is the minimum that it takes to program the part?"
The answer to the first question is trivial - it is zero. This means you don't ever have to program it at all. There is probably a maximum specified in the datasheet, but don't think of it as a hard boundary. Some devices will fail sooner and some devices will last longer.
The answer to the second question depends on the actual storage technology used by the part. Basically programming involves placing a charge on the floating gate of a MOS transistor. The datasheet will recommend a minimum time for each cell. You multiply this by the number of cells you want to program and that gives you a lower bound on the programming time. If you wish you can experiment with shorter times, but you run the risk of having the device loose it's programming sooner than it would with a longer programming time.
Did that answer your question?
Why do you make this assumption? To me, a "minimum" on a datasheet, is, in fact, a minimum. Like a guaranteed specification....I interpret the 100,000 to be the mean ... 10,000 to be the minus 3 sigma point.
It is an excellent question. The specifications in a datasheet are not guaranteed by 100% testing. Lots coming out of the fab are sampled and tested. A sample mean and a population mean are close with a large enough sample. Similarly the sample variance and the population variance are similarly close for a large enough sample. Standard deviation or sigma is just the square root of the variance.Why do you make this assumption? To me, a "minimum" on a datasheet, is, in fact, a minimum. Like a guaranteed specification.
And 3 sigma? Why this? Why not 4, or 5, or 6 even?
I am aware of statistical analysis, but thanks for the review.It is an excellent question. The specifications in a datasheet are not guaranteed by 100% testing. Lots coming out of the fab are sampled and tested. A sample mean and a population mean are close with a large enough sample. Similarly the sample variance and the population variance are similarly close for a large enough sample. Standard deviation or sigma is just the square root of the variance.
For a normally distributed random variable 99% of all members in a population will lie between minus 3 sigma and plus 3 sigma from the population mean. That is the reason behind using minus 3 sigma for the minimum. Show me any datasheet where the minimum or a maximum is guaranteed. You can't have a guaranteed minimum without 100% testing. If they did 100% testing then none of the parts would have any endurance left.
In the case of the 18f452, it is my contention that the chances of getting a part with an endurance of less than 10,00 cycles is 0.5% or 1 in 200.
Is that low enough for your purposes? I don't know, but even in a product with field upgrade capability, the number of erase/write cycles is unlikely to approach that number by several orders of magnitude.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
T | I2C protocol Programming | Homework Help | 31 | |
D | using code blocks for programming | Programming & Languages | 4 | |
Creating a PWM-signal that works properly | Microcontrollers | 13 | ||
Z | What's difference between RS232 and UART in context of programming? #2 | Microcontrollers | 18 | |
P | Nh5100 Development board (STC MCU programming) | Microcontrollers | 0 |
by Jake Hertz
by Luke James
by Steve Arar