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