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.

[参考译文] CCS/MSP430I2041:printf 至 SBW

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/914688/ccs-msp430i2041-printf-through-sbw

器件型号:MSP430I2041

工具/软件:Code Composer Studio

您好!

我 能够通过覆盖 fputc 和 fputs 的 EUSCI_A_UART 执行 printf。

但是、在此特定应用中、我无法访问 UART 引脚。 是否可以通过 SBW 进行 printf?   

如果有任何指向相关文件的指示,将不胜感激。

谢谢。

线性

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

    尊敬的 Linus:

    SBW 用于下载和调试程序、不支持 printf 输出。

    此致

    Johnson

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

    [引用用户="Linus Kerk1"]

    我 能够通过覆盖 fputc 和 fputs 的 EUSCI_A_UART 执行 printf。

    但是、在此特定应用中、我无法访问 UART 引脚。 是否可以通过 SBW 进行 printf?   

    [/报价]

    这是可能的、但仅适用于具有 CPUvX2 (MSP430F5xx/6xx 和 FRAM 系列)的器件。