I have an Arduino Mini Rev5 (NOT a pro mini) with an atmel 328p. Data sheet says 32KB of flash.
My program will run until until I change it to the main running state (its a Finite State Machine) and it freezes and resets.
If i modify the program until "sketch size" is approx 15KB, everything runs like a dream
When I introduce a certain function (prints floats to an LCD screen) my "sketch size" jumps up to 17KB and that is when i run into problems.
I have already run a simple "freeMemory()" test that executes during that specific state, and reports 1436 free bytes of RAM so i don't think that is the issue here.
Is there something I am missing? Thanks for any advice. I am happy to post any code but not sure that it will help.