The Blackbook file system will do this, and will work on the mica2 motes
you're using.  There is a Dictionary file type in Blackbook that lets you
store structures and arbitrary data to a file on flash, and later you're
able to pull that data back out of flash by using the key associated with
the data.  

You can find Blackbook in the tinyos-1.x CVS under /contrib/rincon.
Download the whole /contrib/rincon directory to your local /contrib folder,
and then read the readme's and compile the programs in
/contrib/rincon/apps/Blackbook5/apps/... to get started.

-david



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jose m
Sent: Monday, June 26, 2006 11:49 AM
To: [email protected]
Subject: [Tinyos-help] Writing on flash


Hello,

How can I write on the flash memory from tinyos? and
declare constant structures that remain on flash?
(like a constant string)

José.


        
        
                
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to