- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As a new user of Cypress MCUs and tools, I am attempting to work through the CE221773 basic Hello World example. I am able to build the project, program the MCU and enter debug without problem. As soon as the dev kit Reset switch (SW1) is pressed I get the following error:
Output window
The target program has stopped at: file: main_cm4.c line: 98 function: main address: 0x10080464
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.)
Debug settings for the design:
Any assistance would be appreciated. Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pressing hardware reset when the debugger is running will cause the target to be disconnected because all the registers, stack pointer, program pointer etc. get reset. If you want the debugging session to restart please click on the symbol as shown below:
For the application to run, pressing the reset is not necessary after programming. It automatically runs once programming is done.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pressing hardware reset when the debugger is running will cause the target to be disconnected because all the registers, stack pointer, program pointer etc. get reset. If you want the debugging session to restart please click on the symbol as shown below:
For the application to run, pressing the reset is not necessary after programming. It automatically runs once programming is done.
Regards,
Dheeraj