My target is based on MSP430G2955 . I am using CCS 6.2.0.00050 with mspgcc. Compilation is optimized with -Os and -O1. I'm guessing that globals are being initialized by a call to memset even before calling main(). Problem is that target gets stuck inside memset. It's always within memset. My friend who has the exact codebase has no issues when using TI compiler. He can do this because he has a full CCS license. I have only a code size limited version of CCS and hence I am using mspgcc.
↧