Re: [Tinyos-help] [TinyOS-Help] size of code in ram or flash?

2011-10-24 Thread Jino Sebastian
The code will normally execute from flash, since the flash only can
store the instructions non-volatile.

You can check the map file where the code is located.

Regards,
Jino


On 10/21/11, João Gonçalves  wrote:
> Thanks for your anwsers. Mydoubt was if the code was being executed from ram
> or rom(flash).  because I need to know if the flash is consumig energy even
> if i dont volunterely write anything in it.
>
> Em 2011/10/21 04:59, "Jino Sebastian"  escreveu:
>
> Hi,
> Use command msp430-size to see the different segments of executable
>
> example
>
> msp430-size a.out
>   textdata bss dec hex filename
>   5666   4112867981a8e a.out
>
> Br,
> Jino
>
>
> On 10/20/11, João Gonçalves  wrote:
>> Hello, can someone clarify m...
>

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] [TinyOS-Help] size of code in ram or flash?

2011-10-22 Thread João Gonçalves
Thanks for your anwsers. Mydoubt was if the code was being executed from ram
or rom(flash).  because I need to know if the flash is consumig energy even
if i dont volunterely write anything in it.

Em 2011/10/21 04:59, "Jino Sebastian"  escreveu:

Hi,
Use command msp430-size to see the different segments of executable

example

msp430-size a.out
  textdata bss dec hex filename
  5666   4112867981a8e a.out

Br,
Jino


On 10/20/11, João Gonçalves  wrote:
> Hello, can someone clarify m...
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] [TinyOS-Help] size of code in ram or flash?

2011-10-20 Thread Jino Sebastian
Hi,
Use command msp430-size to see the different segments of executable

example

msp430-size a.out
   textdata bss dec hex filename
   5666   4112867981a8e a.out

Br,
Jino

On 10/20/11, João Gonçalves  wrote:
> Hello, can someone clarify me if the msp430 compiler (mspgcc)
> can or does automatically, load some part or maybe all of an application
> code to the flash memory of an msp430,
> when the total size of the compiled aplication is bigger than the RAM size
> of the uC?
>
> Thanks
>
> João
>

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] [TinyOS-Help] size of code in ram or flash?

2011-10-20 Thread Michael Schippling
A message at the end of compilation should tell you
how many bytes of RAM and ROM are used by the program.
RAM is the declared variables and (I think) a fixed size stack.
ROM is the program code and constant "variables". It is stored
in the flash memory when downloading. Note that initialized
variables are included in this and some startup code copies
them to RAM.

MS

João Gonçalves wrote:
> Hello, can someone clarify me if the msp430 compiler (mspgcc)
> can or does automatically, load some part or maybe all of an application 
> code to the flash memory of an msp430,
> when the total size of the compiled aplication is bigger than the RAM 
> size of the uC?
> 
> Thanks
> 
> João
> 
> 
> 
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] [TinyOS-Help] size of code in ram or flash?

2011-10-19 Thread João Gonçalves
Hello, can someone clarify me if the msp430 compiler (mspgcc)
can or does automatically, load some part or maybe all of an application
code to the flash memory of an msp430,
when the total size of the compiled aplication is bigger than the RAM size
of the uC?

Thanks

João
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help