I am having issues using the watchdog timer system on the PSoC 6. I used the CE220060 example project.
I have two PSoC 6 devices, a custom board (which has part number CY8C6247BZI-D54) and the PSoC 6 BLE Pioneer Kit CY8CKIT-062-BLE (CY8C6347BZI-BLD53). I created a pair of identical projects, one for each board. They contain literally the same CM0 and CM4 main files and virtually identical TopDesign.cysch files.
In these projects, all I do is set up the watchdog and then read the watchdog timer several times a second. You expect the watchdog timer to count up several times and then reset the device printing "hello new project 2". The Pioneer Kit project (josh_test_watchdog) works exactly as expected. The watchdog timer is started, it counts up, device resets. The custom board project (josh_qnet_board_wd_test) does not work well. The watchdog timer stays at zero indefinitely, so the system stays in this short loop printing the same line forever.
My questions are:
1) Are there other considerations for setting up the watchdog timer than those in these projects' InitializeWDT() functions (which are more or less ripped straight out of the CE220060 app note)?
2) Are there known issues using the watchdog timer on a CY8C6247BZI-D54 PSoC 6?
I've attached my two projects and a document showing their terminal outputs to this question.
Solved! Go to Solution.
Disabling "Run in hibernate mode" worked perfectly. Thanks for the help!