Message Edited by Tim Bolbrock on 2006-08-10 03:58 PM
Hi Tim,
Not sure where you got 10 times from.
It is more like 10,000 times.
In reality you are far, far more likely to loose the chip from some other accident during this process than wearing it out from to much flashing.
Regards David
Tim, make sure you are using a better device, if you want to be certain.
9S12DPxB or C is different device from 9S12DPx.
The difference between the two being a change in the Non Volatile Memory technology to extend retention/endurance.
Make sure you do use a 9S12DPx device and not with a B or C if you want to extended memory life !
Cheers,
Alban.
Message Edited by Alban on 2006-08-11 11:26 AM
The flash lifetime specifications seem to be very conservative, and based on programming and operation at worst case temperature extremes.
Most of the current production HCS-12 parts are specified at 100 erase write cycles.
In practice, some people have reported several thousand erase write cycles on HCS-12 parts at room temperature with no signs of problems.
Some of the early MC9S12D series parts had errata associated with flash, so check the errata for your mask set.
As long as you don't erase flash automatically at frequent intervals, and you're not operating at the ends of the temperature range, you shouldn't have to worry.