[En-Nut-Discussion] Data acqisition from flash instead of externalfile

Ernst Stippl ernst at stippl.org
Thu May 3 00:17:08 CEST 2007


Hi Lorenzo!

I am not sure I completely understand what you are trying to do, so let me
summarize what I think the challenge is:

1) Under certain conditions, the application will reboot the code
2) When rebooting, you will sometimes "bootstrap" (do you mean loading a new
version of the code into the AVR flash?) 
3) Sometimes there is a necessitiy to download a new "file" into flash. (do
you mean the AVR flash memory or an extra data-flash chip?)

Now:
- Is my interpretation of 2) correct?
- What occurs more often: the need for new code to be downloaded or the need
for a new version of the "file" to be downloaded (what's the ratio?)
- Is there a need for downloading a new version of the file even if the code
stays the same?
- How do you communicate data to the outside world? (you mention the uart in
your 1st mail) Is there an Ethernet connection?


My general thinking currently is:

- If the "file" changes much more often than the code, make the receiving
and storing of the file a function of the application. Then there is no need
for rebooting. (provided you store tha data in an "data flash" chip.
- If the code changes much more often then the "file", make the "file" part
of the downloaded code (if size permits).

regards

ernst

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Lorenzo Verniani
Gesendet: Mittwoch, 02. Mai 2007 19:02
An: en-nut-discussion at egnite.de
Betreff: Re: [En-Nut-Discussion] Data acqisition from flash instead of
externalfile


> How much data do you need to store in Flash? 
20KB at maximum
>How is it that data gets lost on a reboot? My understanding is that 
>Flash keeps its contents even when power is off ...
You're right.The problem is that my program must perform a bootstrap,
loading a file (on a pc that step would be ok) at every startup.That file
must stay indipendent from rest of code and even changeable

Best regards , Lorenzo

--
View this message in context:
http://www.nabble.com/Data-acqisition-from-flash-instead-of-external-file-tf
3680764.html#a10290369
Sent from the MicroControllers - Ethernut mailing list archive at
Nabble.com.

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



--
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.2/784 - Release Date: 01.05.2007
14:57




More information about the En-Nut-Discussion mailing list