- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an irritating issue with PSoC Creator version 2.2 and PSoC5 running under Windows 7. When I am in one of the editors and want to proceed to debugging I click on the debug icon (looks like an ant) and the software does its own thing (compiling when necessary etc.) and then moves into the debug environment. The problem is that maybe 60% of the time, it doesn't set the pointer/ProgramCounter to the first instruction in the main procedure, it simply opens a Disassembly tab and seems not to place the ProgramCounter anywhere, or maybe above the first line in the window (I can't tell- there is no yellow arrow). Although I am sure it is irrelevant, the first line in the debugger is:
0x00000000 <__cs3_interrupt_vector>:
Trying to run results in indeterminate results. The only way is to click on the Reset icon (double rewind arrow) and sometimes you even need to do that twice. If you are in the disassembly window it will take you to the correct point, but still in the Disassembly tab.
I have tried to find any pattern as to when I invoke the debugger (like completely build before I start) but I can find no pattern to it.
Is anyone esle seeing this problem?
- 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
there are no breakpoints set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not talking about breakpoints! The debugger stops when you start it (smile) at a given location: Address 0 or first instruction in main. That is to give you time to set breakpoints or set variables before main() runs.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look at the setting for "At Run / Reset, run to"
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Firstly I would appreciate it if you could let me know where I find this " "At Run / Reset, run to"
Secondly, if it is a setting, how come it happens sometimes and other times not and why does the reset always take me to where I am expecting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found the "At Run / Reset, run to" and it is set to Main.
So my question remains. Why does is sometimes go to main and sometimes not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can try modify miniprog3 clock speed to 0.8MHz. ^_^