Hi He Wei
printf()/fprintf() is not possible since there is NO "standard output" in embedded system. User has to implement their own "pseudo" prinf() function, i.e. to format the output in memory and then print out through SCI or SPI
HI-WAVE supports a command FPRINTF which can be used in that case.
Syntax is pretty similar to ANSI C fprintf.
You can have a command as follows:
FPRINTF (MyLog.txt, "temp1 = %d temp2= %d temp3= %d\n", temp1, temp2, temp3)
If you are using tabs between the different items, you should be able to read the file in a .xls spreadsheet without trouble.
Have a nice day,
Jun Zhang