Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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?

MaMi_1205306_0-1616029541965.png

 

CE10292

https://www.cypress.com/documentation/code-examples/ce210292-psoc-4s-watchdog-timer

 

Regards,

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

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

BragadeeshV_0-1616059659420.png

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.

BragadeeshV_1-1616059883632.png

 

Regards,
Bragadeesh

View solution in original post

0 Likes
2 Replies
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

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

BragadeeshV_0-1616059659420.png

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.

BragadeeshV_1-1616059883632.png

 

Regards,
Bragadeesh
0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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.

 

0 Likes