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.

TMS320C6678: 多核DSP将打印调试信息输出到串口,数据显示乱序

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

按照下面的程序将输出信息重新映射到串口,调试程序发现printf()输出到ccs的控制台,System_printf()函数会输出到串口,输出到串口的数据是乱序的。

1 . printf()System_printf()有什么区别?SysMin和SysStd有什么区别

2. 多核调试信息怎么能够发送到同一个串口资源?

var SysMin = xdc.useModule('xdc.runtime.SysMin');
System.SupportProxy = SysMin;
SysMin.bufSize = 1024;
SysMin.outputFxn = "&myOutputFxn";

var Idle = xdc.useModule('ti.sysbios.knl.Idle');

Idle.addFunc('&my_flush');