avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Overlays


From: Ron Kreymborg
Subject: RE: [avr-gcc-list] Overlays
Date: Mon, 29 Dec 2003 00:08:18 +1100

> On Friday 26 December 2003 05:05, Geoffrey Wossum wrote:
>
> > Since Atmel officially only guarantees 1,000 R/W cycles of the program
> > flash (at least the last time I checked), a few thousand cycles might
> > be pushing your luck.
>
> According to the datasheet, the ATmega169 will survive 10000
> write cycles.
> AFAIK that's also the case for all the other ATmega parts. This should be
> plenty since it means you can flash the MCU once a day for 30 years.
>
> Ulrich

Yes, a guaranteed 10,000 writes gives me a nice safe margin. I agree my
first thoughts were too complex. I now have only two function sets. One set
makes up the setup menus and button management etc, and the other makes up
the set of runtime algorithms. The two overlays are now not demand triggered
but by an operator switch event (much simpler). I see how ld configures
overlays and their descriptors and how I can test the overlay manager in
flash with some test code. Once that's all going looks like I use objcopy to
extract the overlay sections, write them with a small header to the eeprom,
change the overlay manager to copy from the eeprom, and that should be that.
Many thanks for all the comments.

Regards
Ron



reply via email to

[Prev in Thread] Current Thread [Next in Thread]