Kiraneet, Your program has 128K bytes (Program Flash Memory) of memory..What you see ***** bytes in ROM uses this.
What you see as **** bytes in RAM during the compilation, has 4K bytes (Configuration EEPROM) of memory available for use. This memory is used by the data variables and stack memory used by your application. The 512K bytes (Measurement (Serial) Flash) is available on a non-volatile flash chip. Usually this is used to store configuration data and program images. See Permanent storage http://www.tinyos.net/tinyos-2.x/doc/html/tep103.html for usage of this memory. Vikram On Thu, Jan 28, 2010 at 9:59 AM, Kiraneet sharma <[email protected]> wrote: > Hello everyone.. > > I have a doubt related to the memory in T1.. > > The micaz datasheet says > > Program Flash Memory 128K bytes > Measurement (Serial) Flash 512K bytes > 100,000 Measurements > Configuration EEPROM 4K bytes > > So which two of these is used by my program when put on a mote? > > When i type make micaz on cygwin, it gives me > > compiled SenseToRfm to build/micaz/main.exe > 22918 bytes in ROM > 1192 bytes in RAM > avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec > avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex > writing TOS image > > So can this application requiring around 22 kB ROM and 1kB RAM be installed > on a mote? > Actually I dont have access to hardware for some time now..so please help > clear this confusion. > > Also what do main.srec and main.ihex signify..? > Are all the files created in build/micaz installed on a mote > when we give the required command ? > > Thanking you in advance... > > > _______________________________________________ > 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
