To do that you must:
* CW:
Start the IDE and click on Help | About Metrowerks CodeWarrior.
Click on Installed Products
Provide us all info displayed.
Pascal
Sometime ago I had a similar issue about sin() function.
- customer must use C_TRK_4i_CF_FPU_MSL.a instead C_TRK_4i_CF_MSL.a (must use MSL with floating point unit FPU)
- must use A6 frame and rebuild MSL library
I attached here my old comments:
Please use attached CF_M5485EVB_C.mcp from 5485math.zip.
Target "M5485 Console Debug" uses "C_TRK_41_CF_FPU_MSL.a" library Target "M5485 ROM" uses "C_41_CF_FPU_MSL.a" library
For "M5485 Console Debug" target you must recompile "C_TRK_41_CF_FPU_MSL.a" library using a6 frames ON.
- Open "...\E68K_Support\msl\MSL_C\MSL_E68k\Project\MSL_C.CF.FPU.mcp (see MSL_C.CF.FPU.mcp.jpg)
- Select TRK 4i FPU ColdFire target (see MSL_C.CF.FPU.mcp_target.jpg)
- a6 frames ON (see A6frame.JPG)
- Build (F7) (in my test I must not include "math_fpu_cf.c" file (see math_fpu_cf.c.jpg).
- Check if C_TRK_4i_CF_FPU_MSL.a has a new date (see C_TRK_4i_CF_FPU_MSL.a.jpg).
Rebuild CF_M5485EVB_C.mcp project. I tested sin function and now it is working fine.
Please use the same for "M5485 ROM" target.
Pascal
Message Edited by BugMan on 2007-02-1408:23 AM