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.

[参考译文] AM625:AM625 SDK 是否支持 WDIOC_SETTIMEOUT?

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1511003/am625-does-am625-sdk-support-wdioc_settimeout

器件型号:AM625

工具/软件:

尊敬的 TI:

在下面的 URL 中应用补丁后、看门狗开始工作。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1338070/am625-how-to-control-the-watchdog

但当我尝试下面的代码时、它返回以下错误

if (ioctl (FD、WDIOC_SETTIMEOUT、&TIMEOUT)< 0)

"不支持操作"

如果我检查 RTI_WDT.c、下方结构中没有".SET_TIMEOUT"字段。

静态常量结构体 watchdog_ops RTI_WDT_ops ={
.owner = this_module、
.start = RTI_WDT_START、
.ping = RTI_WDT_ping、
.get_timeleft = RTI_WDT_GET_timeleft、
};

RTI_WDT 是否支持 WDIOC_SETTIMEOUT 

如果没有、我们如何在运行时设置 WDT 超时?

BR

杰斯