4.7.3. 调试指南

4.7.3.1. 调试开关

在 ZX-RTT 中 Watchdog 驱动的Log控制接口共用了全局的 ulog 接口。

4.7.3.2. 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
   0       0  160000  320000