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 miguel.joao.goncal...@gmail.com wrote:
Thanks for your anwsers. Mydoubt was if the code was
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 jino.vadak...@gmail.com escreveu:
Hi,
Use command msp430-size
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
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 miguel.joao.goncal...@gmail.com wrote:
Hello, can someone
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