David,
In general, SDRAM will be much faster than FLASH memory. If you need
detailed timing information you need to look on your imote for the chips
that are used for FLASH/SDRAM and look up the manufacturer's datasheets
(not crossbow's datasheet which is more like an advertisement for the
imote2). However, SDRAM is volatile memory and flash memory is
non-volatile, meaning that when the mote loses power, SDRAM will lose
all stored information while FLASH will maintain it.
As for accessing the flash or sdram: The ram is on-board meaning that
whenever you allocate variables, it will use the microprocessor's RAM to
store it. So if you want to store a 10 element vector in ram, you just
declare the variable, and access it like any other variable. I don't
have any personal experience with imote2, but flash should be able to be
accessed just like the flash on other platforms (assuming the
functionality has been ported from the Tinyos 1.x stack). See TEP 103
for more information
http://www.tinyos.net/tinyos-2.x/doc/pdf/tep103.pdf
The tinyos IMOTE2 wiki might also help:
http://docs.tinyos.net/index.php/T2_on_Imote2
-Paul
David Rodenas Herráiz wrote:
Hi all
Imote2 has 32 MB of FLASH memory and 32MB of SDRAM. Which of these
memories, FLASH or SDRAM, is faster? I
searched that in the datasheet but I did not find it.
How can I use anyone of them? I need to store large data structures.
Regards
David
------------------------------------------------------------------------
49 habitantes, 49 expertos en Windows 7. Así es Sietes, ¡Visítalo!
<http://www.sietesunpueblodeexpertos.com/>
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help