The Error: dbg.M0015 mentioned is a very generic one.
Can you please provide more details on the error window that you get?
Is this issue occurring in our EVK or on a custom board?
Can you disable the deepsleep mode in the project and try debugging?
Please do make sure debugging setting is as per the Debugging CCG3PA with a MiniProg3/Miniprog4 - KBA227291.
t haapens on cy4532 evk board when pass instrumentation_task(); function either when
also SYS_DEEPSLEEP_ENABLE 0 or 1
all setup done according
Debugging CCG3PA with a MiniProg3/Miniprog4 - KBA227291
We are not able to reproduce this issue with the project you shared in another thread.
Are you using "noboot" project for debugging? Also does this occur every time you try debugging?
Please compile CLA sdk example noboot project on cy4532 evk and go step by step F10
When you pass instrument task the debug failed
Sorry for the delay in response.
We were able to reproduce the issue. This is caused by Watchdog timer timeout causing the chip to reset.
In order to solve this, please do disable WATCHDOG_HARDWARE_RESET_ENABLE and RESET_ON_ERROR_ENABLE macros present in config.h file.