Other Parts Discussed in Thread: SYSBIOS
Thread 中讨论的其他器件:SYSBIOS
您好!
我的客户正在使用以下示例、但实际上它无法正常工作。
IPC_3_47_00_00/Examples/DRA7XX_Linux_elf/ex02_message/dsp1
根据我们客户的说法、似乎必须从 IPC_3_47_00_00/examples/DRA7XX_Linux_elf/ex02_message/dsp1/Dsp1.cfg 中注释掉以下行才能正常工作。
VAR 空闲= xdc.useModule('ti.sysbios.knl.Idle');
VAR Deh = xdc.useModle('ti.deh.Deh');
idle.addFunc ('&ti_deh_deh_idleBegin');
我刚刚查看了有关 Deh 的代码、对我来说、我觉得 DSP1没有实际考虑到代码。 例如、请查看以下代码:
void Watchdog_idleBegin (void) { int core = 0; #ifdef SMP core = Core_getid(); if (core!= 0){ Watchdog_stop (core); } 否则 #endif { Watchdog_kick (内核); } } /* === Watchdog_kick === *刷新/重新启动看门狗计时器 */ void Watchdog_kick (int core) { volatile Watchdog_TimerRegs *timer = Watchdog_module->device[core].baseAddr; if ((Watchdog_module->STATUS[core]=Watchdog_Mode_enabled)&& timer){ while (timer->TWPS & Watchdog_timer_TWP_W_Pend_TGRR); timer->ttgr = 0; } }
我认为 SMP 定义不适用于 AM572x、因此上述"内核"变量可能始终为0。 我不`m 这是否是根本原因。 您能评论一下吗?
此致、
NK