When the variable value of the real type is output in the target test, the result value is retrieved through the sprintf function.
However, there are cases where the library provided by CodeWarrior cannot use the sprintf function for real types.
In this case, you need to replace or add the library linked from the CodeWarrior project.
Libc99_E200z650.a is a library that can use the sprintf function for the real type currently identified.
After replacing with the library, edit the contents of the cs_tfx.h file as follows.

Before modification

#define TFX_ftoa_writeBytes(value) \ 
do {\ 
	sprintf(buf, "%g", value);\ 
	TFX_writeBytes(buf);\ 
} while(0)

After modification

 #define TFX_ftoa_writeBytes(value) \ 
do {\ 
	sprintf(buf, "%f", value);\ 
	TFX_writeBytes(buf);\ 
} while(0)

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.