Please can somebody tell me if it isn’t possible to do some simple floating point calculation? For example: I have to convert a radial value to a decimal value. I’ve noticed that in RTE modes the calculation works without any problem, but in Target mode I get some weird results. Does somebody know a workaround for this?
You didn’t say anything about what compiler is used for the target.
I don’t see why floats wouldn’t be available on Q2501. Even if not supported directly in hardware (FPU) it should still be no problem with FPU emulation.
Maybe it’s GCC that is the problem or something else in the compile stage that is not properly set to allow floats.
In what way do you see the problem?
The problem is with GCC compiler and usage of %f format string. The floating point manipulations (like additons, multiplications and substraction etc ) work fine.