cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

New Contributor

Hi all,

When I'm using the PSoC Creator (4.2,4.3) to start a debug session,

after programming the device,

it frequently fails with the message

Error: dbg.M0007: The run request failed.  Encountered error (Invalid thread id: 1)

Error: dbg.M0015: Debugger exited unexpectedly during run.  Encountered error (Remote communication error.  Target disconnected.: No error.)

this occurs every second start (in average).

I'm using the CY8KIT-059, plugged directly into an USB-3.0 Hub.

OS is Win10-64.

Any suggestions?

Please help!

Tnx, Bodo

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello BoSc_1602471​,

Can you please let me know if you have enabled device protection in the System tab in the .cydwr file? Also, is the Debug Select set to SWD(serial wire debug).

Are you facing this issue in one project or all projects?

Please refer to this thread and let me know if it helps - "Debugger exited unexpectedly during run. Encountered error (Remote communication error: No error.)"

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
Reply
3 Replies
Moderator
Moderator

Hi Bodo,

This may happen due to imperfect connection between the Hub and the prototyping kit also. To check if this is the cause, you can test with any other PSoC development kit from Cypress. Please update the same if you are facing the same issue.

Please go through the following troubleshooting guide also.

Troubleshooting PSoC® 3/4/5LP Programming/Debugging Issues - KBA210619

Thanks

Ganesh

0 Likes
Reply
New Contributor

Hello Ganesh,

I have tried with different hubs (USB2.0 / 3.0) and different Kits (of the same kind), but it always showed the same problem.

I have a PSoC 6 kit here, but haven't had time to try that one,

Regards,

Bodo

0 Likes
Reply
Moderator
Moderator

Hello BoSc_1602471​,

Can you please let me know if you have enabled device protection in the System tab in the .cydwr file? Also, is the Debug Select set to SWD(serial wire debug).

Are you facing this issue in one project or all projects?

Please refer to this thread and let me know if it helps - "Debugger exited unexpectedly during run. Encountered error (Remote communication error: No error.)"

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
Reply