Hello
I am using CCS4.1.3 with an MSP430F5418A device. I am making calls to sprintf to format floating point numbers. I am finding that sprintf will periodically fail to properly format the float. I have read various threads on this issue and have increased my stack and heap sizes accordingly. I have also built the project using the "full" version of printf.
I set my stack and heap to 2048 bytes and filled the stack with 0xEE to see how big it got. The stack usage is less than 512 bytes.
I find that if I call the function infrequently, it will work as advertised.
If I call it every time thru my main() loop it will sometimes put a non-numeric ascii character in the buffer which then causes other functions to fail and the app ultimately crashes.
I have read in other threads that this may be a problem introduced in CCS4 vs CCS3 (X vs non-X versions of compiler?)
Anyone else run into this issue?
rich