- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have new Pioneer Kit CY8CKIT-042-BLE-A. I can build any examples and program the BLE PSoC chip without any problem. All is work as expected. Excluding the debugging. When I try to run debug session I get next error:
Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again.
Output listing of building and debugging :
Programming started for device: 'PSoC 4200 BLE CY8C4248LQ*-BL583'.
Device ID Check
Erasing...
Programming of Flash Starting...
Protecting...
Verify Checksum...
Device 'PSoC 4200 BLE CY8C4248LQ*-BL583' was successfully programmed at 04/22/2017 21:41:24.
Continuing target program
=thread-group-exited,id="i1"
Error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
CANCEL
At the same time using the same USB cable on the same computer and the same PSoc Creator I do not have any problem with debugging session of other not BLE PSoCs.
I did even turn off sleep mode for using USB port but with zero result.
Also I did try to debug on another computer and did get the same error.
I cannot start debug session and with PRoS module (black, is second in kit).
And of course I have updated firmware of base plate.
I am absolutely new in Cypress PSoC so do not have any ideas about resolving this situation.
Thank you for help.
Solved! Go to Solution.
- Labels:
-
BLE
-
ispn:39612:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In design wide resources go to system tab and change debug from GPIO to SWD(serial wire DEbug). That will fix the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please post your code by Clicking on File and then Create Workspace bundle and attach the file to a new Comment by clicking on Add Attachments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did use code from examples that including in kits of BLE. All examples did build and work perfect. I just cannot begin debug session. Also I did try to run just empty project for my BLE PSoC. And also I can build and load this empty project but cannot start debug session.
For example PSoC_4_BLE_CapSense_Slider_LED example from kit without any modifications from me perfect builds and runs but not debugged.
Should I steel post this code ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes because there may be something that is changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In design wide resources go to system tab and change debug from GPIO to SWD(serial wire DEbug). That will fix the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
bobgoar, thank you personally. The problem is fixed and debug session is work as expected.
Thank you for help.