We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, the system is lpc2468 KEIL IDE, -o3, -otime
Recently I had problem with unknown data or undefined aborts. In debbuger I saw that last PC was in 0x0000c648 c$$dinf fpconst.o(fz_4s.l) in .map file.
If I change in any .c file the static function to normal, this error disappears. However it may appear again when I write another static function. What is it?
I don't know what you mean "behind", but the files you are mentioning is for floating point support.
fÂ'pconst probably contains the numberic constants for 0.0, 1.0, and a number of other constants needed for the maths library.
fpcmp should be floating point comparison.
It sounds like you have an alignment problem. Either of the data segments (fpconst) or of the stack. This will make the floating-point code fail with a data abort.
Thank you, however I don't understand why aligment problems could be in the project, as I use pure C, and RealView compilar does the thing (as I remember the code is alined to 4 byte boundary by default). And what about the static functions?