- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I want to use debugging feature using break point to check the values of variable used in my code. however when ever i am running code in debug mode Break point present will become watch point and my code is not halting at that point. also RUN and PAUSE is also not working. i think there is problem with debug feature setting kindly suggest. I am using Creator version 3.3.
thanks
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
sometimes it depends on your optimization settings and other factors if breakpoints won't be recognized. Best way for us to reproduce your issue would be creation of a project archive as described here. Then post the archive here.
Regards,
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At first set the optimization level for the compiler from "Debug" to "none" in project -> Build options.
Keep in mind that a breakpoint stops the CPU, but no hardware as timers which will keep on generating interrupts that will be served when running again. So it might look like an interrupt handler never gets completed. when single stepping an area of code, keep interrupts disabled, there is an icon on Creator's menu bar for that.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting message on output window Error 'SWD error NACK' received while attempting to read memory location 0X....etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using any power saving modes? Or really reading at locations where no memory is??
Bob