Dennis E. bahr, P.E. wrote:
I am programming a MSP430F2274 with 1024 bytes of ram. The compiler
/ linker still sets the SP to 768 which is correct for a 256 byte
ram, but not a 1024 byte ram. I know that I can set this manually,
but should I need to do that?
It's bug at least in mspgcc-20070216 windows release. CVS log shows, that it's
fixed 19-feb-2007. You must upgrade lo last release or just fix
PROVIDE (__stack = 0x300) ;
to
PROVIDE (__stack = 0x600) ;
in 2474 linker scripts.
Regards,
Sergey.