Part Number: MSP430F5419A
Tool/software: TI C/C++ Compiler
Hi all,
I am running into some weird issues associated with CCSv6 and newer with all compiler versions up to TI v19.6.0 STS. The problem started when I tried to upgrade my project from CCSv4 with compiler TI v3.3.3 to the newer CCS with latest compilers. I imported the project fine using CCSv8 and compiled with TI v18.1.4 LTS and my code exhibited some abnormal behaviors, like it seemed to skip lines of code or optimize out register settings, etc. It also did not seem to like the << >> operators, as in
Para <<= 0x01;
I suspect it had something to do with optimization but I tried my best to make sure I completely turned it off just like in the CCSv4 environment (Settings/MSP430 Compiler/Optimization/Optimization level (--opt_level, -O): off), to no avail. Is there a way to make sure all optimization is turned off. Or if you have any ideas or know of pitfalls converting from CCSv4 to newer CCS and compilers please let me know.
Thanks in advance,
ED