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