I have a project using an msp430f5436a. As best I can tell, the main() function stops being called (or perhaps hangs immediately) once the total code size exceeds around 32k.
Our codebase does a lot of stuff, but right now I have it set so that the very first thing in main() is to set a GPIO, which lights a LED. When I'm seeing the problem, the LED doesn't light--it seems that main() isn't even being called.
There are two big chunks of code I can comment out, and if I do so to either one, the chip works again. Each piece of code works fine on its own. It's only when both pieces are enabled do I seem to exceed this magic threshold and have problems.
We're using the large model for both code and data, in case it matters.
Any ideas as to what's going on? I can provide .map/.hex/.out files if necessary. Thanks!