- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sirs and Madams,
We have to confirm the operation of the WDT function of PSoC4.
Therefore, I was thinking of referring to "CE210292 – WDT P4S Example" for the project.
The demo kit uses CY8CKIT-145.
Next, I changed the assignment to match the demo kit.
Devide: CY8C4045AZI-S413
LED_Reset: P3 [4]
LED_WdtInt: P3 [5]
LED_WdtReset: P3 [6]
After programming, I confirmed the operation normally.
Then launch it in the debugger.
Then, the following error occurs,
We cannot confirm the debug operation of WDT.
Can WDT not work with the debugger?
CE10292
https://www.cypress.com/documentation/code-examples/ce210292-psoc-4s-watchdog-timer
Regards,
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MiNe_85951 ,
1. In this CE, low power APIs are used, therefore the debug functionality is disabled in this project. To enable debugging, go to systems tab and set the Debug Select to SWD
2. The debugger will be crashed in case of any calls to System low power modes. Therefore any calls to sleep, deep sleep or hibernate should be disabled from the code.
After 1 and 2, if you should be able to enter the debugging mode.
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MiNe_85951 ,
1. In this CE, low power APIs are used, therefore the debug functionality is disabled in this project. To enable debugging, go to systems tab and set the Debug Select to SWD
2. The debugger will be crashed in case of any calls to System low power modes. Therefore any calls to sleep, deep sleep or hibernate should be disabled from the code.
After 1 and 2, if you should be able to enter the debugging mode.
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bragadeesh-san,
I overlooked the description of low power mode.
So, comment out "Deep Sleep API" and changed GPIO on the system tab to SWD.
I confirmed the operation of debug mode.
Thank you.