This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Undefined abort in fpconst.o

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?

Parents
  • 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.

Reply
  • 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.

Children