This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

不能运行sprintf函数

本人用CCSv5,TM4C123Gh6mz MCU,尝试用sprtinf() 将浮点数交换成字符串,程序走到sprtinf(),就出现异常如下:

1. 设置了断点,看上去正常。

2. 用步进功能走下一步,程序跑到FaultISR(void)。

另外,专门写个小程序试试:

用“单步执行”,走到sprintf(),就出这个画面。

哪位能帮帮忙,又或者用的方法实现浮点数变成字符串而不用sprintf()。

先谢了。

Ng