调试指南
调试开关
在 Luban-Lite 中 Watchdog 驱动的 Log 控制接口共用了全局的 ulog 接口。
wdt_status 命令
在 Watchdog 驱动初始化成功后,会在 shell 命令行中注册生成一个 wdt_status
命令,其中打印了当前的配置及状态信息:
aic /> wdt_status In Watchdog V1.00: Module Enable: 0 Write disable: 0 IRQ Enable: 0 Current chan: hw 0, sw 0 Current cnt: 0 chan clr_thd irq_thd rst_thd 00160000320000