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/TMS320F280049C:关于 TI-RTOS

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/850602/ccs-tms320f280049c-regarding-ti-rtos

器件型号:TMS320F280049C
Thread 中讨论的其他器件:SYSBIOS

工具/软件:Code Composer Studio

我正在使用 SYS/BIOS 在 main.c 程序中使用 log 语句。 我使用的是 F280049C C2000 微控制器。

在我的*。cfg 文件中、我添加了:

VAR 日志= xdc.useModule('xdc.runtime.Log');

VAR LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');

BIOS.logsEnabled = true;

LoggingSetup.logerType = LoggingSetup.LoggerType_STOPMODE;

在主源代码中、我添加了:

#include

--

--

LOG_Info1 ("LED 切换[%u]次"、切换计数);

--

--

在调试会话中、我转到"Tools"->"RTOS Analyzer"->"printf and Error Logs"。 检查 printf 日志;停止模式 JTAG 是传输方法。

当我运行并停止时、在"Debug"视图中出现的新 Live Session 或 printf Logs 中看不到任何内容。 我似乎不能超越这种座头像。 有什么建议吗?

我还 在连接.cfg file.e2e.ti.com/.../led.cfg


谢谢、

Deepak