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.

[参考译文] MSP-EXP430FR4133:printf 在调试模式下无法正常工作

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1133407/msp-exp430fr4133-printf-not-working-how-intended-in-debug-mode

器件型号:MSP-EXP430FR4133

我目前正在尝试运行此代码、这只是为了让我知道目前使用的模式。 它还不会更改模式、因此只需将"Temperature"打印到控制台即可。 但是、当我在调试模式下运行代码时、它在第二个屏幕截图第114行的 trgms.c 内暂停。 我可以恢复、它将运行、直到此时再次暂停。 我每次运行它时、它都会打印一次、但它为什么会在这一点上持续暂停?