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/TCI6638K2K:'System.SupportProx=SysMN''System.SupportProx=SysStD'?

Guru**** 2539500 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/662062/rtos-tci6638k2k-difference-between-system-supportproxy-sysmin-and-system-supportproxy-sysstd

器件型号:TCI6638K2K

工具/软件:TI-RTOS

我们的 TCI6638K2K 项目具有两对构建配置:

  1. 调试、释放、  
  2. Debug_TML、Release_TML。

这两个对之间的差异在 SYS/BIOS 配置中。 在我们的.cfg 文件中、我们具有:

var repLocation=XDC.loadPackage (Program.build.cfgHome).packageRepository;

if (repLocation.search(/Debug.$/i)>=0)||(repLocation.search(/Release.$/i)>=0)
){
// CCS 编译配置'Debug'和'Release'
打印("设置 sysMinBufSize=0x8000和 SupportProx=SysMIN");
program.global.sysMinBufSize = 0x8000;
System.SupportProxy = SysMin;

VAR Idle = xdc.useModule('ti.sysbios.knl.Idle');
/* Idle 函数*/
Idle.addFunc ('&taskIdle');
}
否则
{
//其他 CCS 编译配置('Debug_TML'和'Release_TML')
打印("设置 sysMinBufSize=0x2000和 SupportProx=SysStd");
program.global.sysMinBufSize = 0x2000;
System.SupportProxy = SysStd;

LoggingSetup.sysbiosTaskLogging = true;
LoggingSetup.sysbiosSwift Logging = true;
LoggingSetup.sysbiosHwiLogging = true;
LoggingSetup.mainLogging = true;
LoggingSetup.loadLoggerSize = 1024;
LoggingSetup.mainLoggerSize =(32768/4);
LoggingSetup.sysbiosLoggerSize =(32768/4);
}
SysMIN.bufSize = Program.global.sysMinBufSize; 

现在、配对1 (调试、发布)在我们的目标硬件上工作、但在我们的 Advantech EVM 上不工作。  配对2 (Debug_TML、Release_TML)在 EVM 上正常工作。   

"不起作用"是指在启动时控制台中不显示任何消息。

我的目标是统一这些构建配置、以便我只有 一对1 (调试、发布)。

请解释此.cfg 文件指定的不同行为、并提出第一对无法在 EVM 上工作的原因吗?

您能否解释 System.SupportProxy = SysMin System.SupportProxy = SysStd 之间的区别

此致

David

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    SysMin 不会清除 System_printf()写入的缓冲区。 必须通过调用 System_flush()来显式刷新它。 这解释了为什么我没有看到控制台消息。