Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

RE: [AVR-Chat] prevent attiny2313 flash corruption

RE: [AVR-Chat] prevent attiny2313 flash corruption

2009-11-04 by Tim Mitchell

----Original Message----
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com
[mailto:AVR-Chat@yahoogroups.com] On Behalf Of David
VanHorn Sent: 04 November 2009 15:25 To:
AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] prevent
attiny2313 flash corruption 

> Sorry!   Insuficient caffiene errror.
> I was thinking EE, but still most of the same issues
> apply. 
> Writing while the power is failing is a bad idea, as is
> writing while 
> the power is coming up.
> Sometimes, a power supply can have a glitch in its rise,
> such that the 
> power goes invalid again, before it rises all the way.

I presume you're talking about bootloaders here where the flash is being
modified by the software.

Is there a known corruption problem in a simple application which is not
modifying its own flash?

-- 
Tim Mitchell

RE: [AVR-Chat] prevent attiny2313 flash corruption

2009-11-04 by Marc R.J. Brevoort

On Wed, 4 Nov 2009, Tim Mitchell wrote:

> I presume you're talking about bootloaders here
> where the flash is being modified by the software.

No, actually it's just an ATtiny which will be
programmed, fuses set, inserted into a circuit
and shipped. From that point on, nothing is ever
written to persistent memory (EPROM/FLASH)
anymore, but it'd be nice if things keep "just
working". Any protective measures needed for
that?

Best,
Marc

RE: [AVR-Chat] prevent attiny2313 flash corruption

2009-11-04 by david Vanhorn

Nope, just feed it good vcc, clock, and reset, and don't zap the pins.

-- Sent from my Palm Prē
Marc R.J. Brevoort wrote:

On Wed, 4 Nov 2009, Tim Mitchell wrote:



> I presume you're talking about bootloaders here

> where the flash is being modified by the software.



No, actually it's just an ATtiny which will be

programmed, fuses set, inserted into a circuit

and shipped. From that point on, nothing is ever

written to persistent memory (EPROM/FLASH)

anymore, but it'd be nice if things keep "just

working". Any protective measures needed for

that?



Best,

Marc





------------------------------------



Yahoo! Groups Links



<*> To visit your group on the web, go to:

    http://groups.yahoo.com/group/AVR-Chat/



<*> Your email settings:

    Individual Email | Traditional



<*> To change settings online go to:

    http://groups.yahoo.com/group/AVR-Chat/join

    (Yahoo! ID required)



<*> To change settings via email:

    mailto:AVR-Chat-digest@yahoogroups.com 

    mailto:AVR-Chat-fullfeatured@yahoogroups.com



<*> To unsubscribe from this group, send an email to:

    AVR-Chat-unsubscribe@yahoogroups.com



<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/






[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.