If the problem is with the memory consumption, it would be with your RAM
consumption only. 

The Mica2 only has 4k of RAM. If your application exceeds approximately
3,500 Bytes of RAM, you will run out of memory and the mote will simply not
run.  I say approximately 3,500 bytes here because stack space on top of
that will be used as well, and stack space varies.  Sometimes you can't get
your program to run with anything over 3,000 Bytes of RAM if a lot of stack
space is used in the app.

ROM is a separate issue.  If your program size exceeds the 128 kByte limit
for the Atmega128- microcontroller, you will not be able to install the
application on the mote.

Decrease the number of global variables in your app to free up RAM.

-David




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jose m
Sent: Tuesday, April 04, 2006 12:54 PM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] RAM + ROM occuppied by app for mica2 mote


if my application installed in mica2 mote exceeds
14330 bytes (ROM + RAM when compiled), it doesn't
work. Anyone knows why?

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to