[Tinyos-help] Tinyos1.x,micaz mote,ATmega128,FLASH!!
Simon Willis
simon.willis at jcu.edu.au
Wed Aug 2 03:47:33 PDT 2006
Have a look at tutorial 8.
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson8.html
It uses the logger component to perform datalogging into Flash. That
should get you started.
I had problems last week using the Flash on mica2, because it was using
the wrong PageEEPROM files. For some reason the compiler was getting the
files from the /platform/mica directory instead of /lib/flash/AT45DB.
This cause it to throw an error during compilation about PageEEPROM.
I'm pretty new at TinyOS and couldn't work out how to fix it, so I just
copied the necessary files from /lib/flash into the same directory as my
program and it worked. I'd be interested to know if you have similar
problems.
Simon
Munaretto, Daniel wrote:
>Hi all,
>i found some files in www.tinyos.net/tinyos-1.x/tos/ for using the FLASH memory. I transferred these files to my "FLASH" folder in tinyos-1.x/tos/lib but now i don't know how to use them. Previously in this folder there were only ByteEEPROM.nc, ByteEEPROMC.nc, PageEEPROM.h, PageEEPROM.nc, PageEEPROMShare.nc.
>
>My project needs more memory than the available RAM (only 4 Kbytes), so we think to write data on FLASH.
>
>Does anyone know how to handle these files? like BlockStorage.h, BlockRead.nc, BlockWrite.nc, FormatStorage.nc, Mount.nc, Storage.h, FlashWP.nc, StorageRemap.nc
>
>Do i need other files?
>
>Please, every help will be really appreciated!
>Thanks very much,
>cheers
>Daniele
>
>_______________________________________________
>Tinyos-help mailing list
>Tinyos-help at Millennium.Berkeley.EDU
>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
More information about the Tinyos-help
mailing list