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.

[参考译文] RTOS/CC1310:如何使用"System_printf ()"输出调试消息?

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/565872/rtos-cc1310-how-can-i-use-system_printf-to-output-debug-message

器件型号:CC1310

工具/软件:TI-RTOS

帮助我的人:

感谢您的首次参与。

我是学习 CC1310 lacuchpad 的大杂商、今天我有一个有关 TI-RTOS 中"System_printf ()"函数的小问题。 我以前在独立 C 库中使用"printf()函数输出调试消息、我可以在控制台或输出消息框(如 Keil IDE)中看到我传递给 printf()的格式字符串。  但现在我在 Windows 7 PC 中使用 IAR。当我使用如图所示的"System_printf()"时,数据输出在哪里? 是否应该出现在 Tool Output 框中?  

是否 有我忽略的配置?  或者我可以在其他位置找到输出数据?  

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

    在 IAR 中、您需要打开终端才能看到输出、它可以在 View -> Terminal 下找到。

    希望这有所帮助、
    Gerardo
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Gerardo、
    是的、它可以正常工作。 Terminal 位于 View -> Terminal I/O 但应首先启动调试模式、以便您可以找到它。
    非常感谢 Gerardo。
    不需要