- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you saying that using deep sleep while trying to debug will cause this error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.