Re: OT AVR Flash



On 28 Jan 2006 16:21:49 -0800, "linnix" <me@xxxxxxxxxxxxxxxxxx> wrote:

>How reliable are the AVR's flash?
>I have two Atmega169 (in AVR butterfly) failing.
>They are supposed to last 10,000 cycles.
>And yet, one failed after hundreds of cycles
>and the second failed exactly after one cycle.
>
>I can't program either one of them anymore.
>The first one refuse to verify and the second
>one verified but still contain the previous version.
>
>If it's so difficult to program them, perhap I should
>switch to PLCC (44 pins) socket rather than MLF (64 pins).

Do you have an oscillator (resonator/xtal) connected ?
If not, and you are relying on the internal RC oscillator, it can happen that the config fuses get
corrupted during programming and it ends up in an external osc configuration, so you then can't
reprogram it.
This can be recovered by applying an extarnal clock signal (e.g. 1MHz) to the oscin pin and
reprogramming the fuses to the desired INTOSC setting.


.


Quantcast