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.

[参考译文] MSPM0G3507:硬故障 sprintf

Guru**** 2211530 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1355350/mspm0g3507-hardfault-sprintf

器件型号:MSPM0G3507

我将我的代码从"nortos"ticlang"迁移到了"freertos"、现在它在"sprintf"处崩溃、落在了 HARDFAULT 中断服务中。

在"nortos"版本中同样的代码也能正常工作。

我试图将堆栈大小更改为1024、但没有成功。

调试器的屏幕截图(如下所示)显示了一些空指针。  

这种情况的运行时间可能有什么不同?

欢迎提供任何帮助。 谢谢你。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    这是 同一芯片中的"FreeRTOS"项目的硬故障、对吗?

    我经常看到地址映射错误导致的这种情况。