Skip to content

Watchdog is not working #5

Description

@qiayuanl

Your code and documents are awesome! Thank you for your sharing.

In SOES_CIA402_AX58100, you set watchdogcnt in check_dc_handler(). The comments and the variable names indicate that you consider each count of watchdogcnt as a nanosecond.

Yet, the DIG_process(DIG_PROCESS_WD_FLAG) in each while(), which subtracts the watchdog value between the duration, which is the processing time of while() (dozens of micorsenconds in my case). So the watchdog value is almost never below zero.

I am wondering there's any misunderstanding of the program about watchdog in your code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions