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/66AK2H12:TI.sysbios.timers.timer64.Timer:行644:断言故障:A_notavailable:静态创建的计时器不可用

Guru**** 2558160 points
Other Parts Discussed in Thread: SYSBIOS

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/625431/rtos-66ak2h12-ti-sysbios-timers-timer64-timer-line-644-assertion-failure-a_notavailable-static-created-timer-not-available

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

工具/软件:TI-RTOS

当我加载程序(简单 BIOS 程序)时、我在所有内核上收到此错误消息:

[C66xx_1] ti.sysbios.timers.timer64.Timer:第644行:断言失败:A_notavailable:静态创建的计时器不可用
xdc.runtime.Error.raise:终止执行

这是我的 cfg 文件。

VAR 默认值= xdc.useModule('xdc.runtime.Defaults');
VAR 诊断= xdc.useModule('xdc.runtime.Diags');
VAR 错误= xdc.useModule('xdc.runtime.Error');
VAR 日志= xdc.useModule('xdc.runtime.Log');
VAR LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');
VAR Main = xdc.useModule('xdc.runtime.Main');
VAR 内存= xdc.useModule('xdc.runtime.Memory')
VAR SysMin = xdc.useModule('xdc.runtime.SysMin');
VAR 系统= xdc.useModule('xdc.runtime.System');
var text = xdc.useModule('xdc.runtime.Text');

VAR BIOS = xdc.useModule('ti.sysbios.BIOS');
VAR 时钟= xdc.useModule('ti.sysbios.knl.Clock');
VAR Swi = xdc.useModule('ti.sysbios.knl.Swi');
VAR 任务= xdc.useModule('ti.sysbios.knl.Task');
VAR 信标= xdc.useModule('ti.sysbios.knl.Semaphore');
VAR Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
VAR 计时器= xdc.useModule('ti.sysbios.timers.timer64.Timer');

System.maxAtexitHandlers = 4;       

/*
 * BIOS 模块将为系统创建默认堆。
 *指定此默认堆的大小。
 *
BIOS.heapSize = 0x40000; // 2^18 */

/*
 *从源构建自定义 SYS/BIOS 库。
 *
BIOS.libType = BIOS.LibType_Custom;

/*系统堆栈大小(由 ISR 和 Swi 使用)*/
program.stack = 0x8000;

System_printf()的/*循环缓冲区大小*/
SysMin。bufSize = 0x200;

/*
 *为整个系统创建并安装记录器
 *
var logerBufParams = new LoggerBuf.Params();
LoggerBufParams.numEntry = 16;
var logger0 = LoggerBuf.create (logerBufParams);
Defaults.common$.logger = logger0;
Main.common$.diags_INFO = Diags.always_on;

System.SupportProxy = SysMin;


感谢您的任何帮助。

谢谢、
Bruce

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

    我已通知工厂团队。 他们的反馈将在此处发布。

    此致、
    Yordan