cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

I trying to use the debugger but getting error "Debugger exited unexpectedly during run"(Please see the attachment for your reference). 

   

working on OS Windows 7

   

How to use debugger in Creator 3.3 ??

   

 

   

 

   

Thanks in advance.

0 Likes
Reply
8 Replies
JoMe_264151
Expert II

When you do not use any power-saving modes during debug as deep sleep, I would suggest you to try to re-install Creator completely. Use the update manager for de-install.

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

Are you saying that using deep sleep while trying to debug will cause this error?

0 Likes
Reply
JoMe_264151
Expert II

Welcome in the forum!

   

Exactly. Deep sleep and debugging do not go together, the device will disconnect from debugging interface for too long. This will raise an error.

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

i am trying to debug C file, but Run option is hidden.As i am new to PSoC programming, please guide me to debug the C program. i am programming for CY8C22545

0 Likes
Reply
JoMe_264151
Expert II

Welcome in the forum. The Cy8c22545 is a PSoC1 chip for which you need PSoC Designer 5.4 IDE. No built-in debug capabilities, you would need an ICE-Box (In-Circuit-Emulator) which is comparably expensive.

   

I would suggest you to use a different chip: There is a CY8CKIT-043 PSoC4-M Prototyping Kit with programmer and debug capabilities. You will need PSoC Creator 4.1 as IDE.

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

Thanks for replying.I am using PSoC Designer 5.4 IDE and I have to use CY8C22545 only. Is there any other way to check whether my program is right or wrong.

0 Likes
Reply
JoMe_264151
Expert II

You will need to use "poor man's debugger": That is by switching signals to indicate a certain stage in your project met. You can also use UART and send short ASCII messages but this may slow down the performance significantly. A logic analyzer can be very helpful.

   

 

   

Bob

0 Likes
Reply
WaMa_286156
Contributor II

 Also, if you have any static electricity in your body, especially if the usb cable is long, you will get this message if you touch your board, even the ground lead.

0 Likes
Reply