Debug fails to start

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

cross mob
Anonymous
Not applicable

I have been using PsocOC 4 creator on my Windows 7 machine for the past 6 months and everything has been fine. I installed PsOC Creator 4 and now I can't step into debugger. I'm using CY8CKIT-042. It programs fine and there nothing wrong with the SWD pin setup. I get the message 

   

Error: dbg.M0006: The start request failed.  Encountered error (SetTarget timeout)

   

but no one seems to know what the message means or how to find out what wrong.

   

Can anyone help?

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello Rod,

   

This seems like an issue with PSoC Creator 4.0. Our software team has already fixed this, and the fix will be available with PSoC Creator 4.1.

   

Thanks,

   

Hima

View solution in original post

0 Likes
6 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi Rod,

   

Could you please check whether the Debug Select is SWD or not?

   

In .cydwr, System -> Debug Select -> SWD (If it is GPIO, then debug fails.For debug, it should be SWD).

   

Thanks,
Anjana

0 Likes
Anonymous
Not applicable

Hey Hima

I'm having the exact same issue with Psoc Creator 4.2, but worked on 4.1.
(Debug select is also SWD)

Couldn't find anything else related to this.

What I did so far:

Reinstall psoc creator.

Install psoc creator 4.1 (on another PC) and it worked.

Thankful for any help

Best Regards

0 Likes
Anonymous
Not applicable

Hi Anjana.

   

Thanks for replying. I've checked the SWD setting and it is correct. 

   

Basically it all work fine until a Windows update. I have un-installed everything to do with Cypress and re-installed two or three times now but it still does not startup the debugger. The applications programs ok and the USB comms is good but the debugger won't run. I think a Windows file has been corrupted and is not updating on re-installation or the error message is correct but no-one seems to know what it means "Error: dbgM0006: The start request failed. Encountered error (SetTarget timeout). If you expand the message box it says "Make sure that all the files with debugging information are available". That's not really helpful as it doesn't say where to look.

   

Rod

0 Likes
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello Rod,

   

This seems like an issue with PSoC Creator 4.0. Our software team has already fixed this, and the fix will be available with PSoC Creator 4.1.

   

Thanks,

   

Hima

0 Likes
Anonymous
Not applicable

Hello Hima

   

Thanks for letting us know. Is there a time scale for the next release?

   

Regards

   

Rod

0 Likes
ZsGa_1206421
Level 1
Level 1

This is still happening with PSOC creator 4.2.

Many times re-installed it. Running on Win 10, 64bit.

"The start request failed.  Encountered error (SetTarget timeout)"

Cypress, please solve this, otherwise I have to stop using your awesome processors!!

0 Likes