Hi to everyone,
I'm working with Kinetis K05Z32 on Codewarrior 10.6 and I have some problems.
First, the code is so longer that it is not enter in its flash, so I thought in optimize the code (without debug). But, to my surprise, the behavior is not the same as the code without optimizations.
Second, when I was trying without optimizations, the behavior of "sprintf" function was very strange sometimes. It seems (in fact happened) sprintf changes other variables values, sometimes. I had big buffers, so I believe that it was a problem of heap or stack because the behavior change when I modified some lenght of these buffers.
So, I'm a little scared because I believed that optimizing code I will solve the size flash problem...
Thanks to yours comments