- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yesterday received one cyusbkit-003. Started using it by following the startup guide.
Everything looks fine except one issue.
I am able to use onboard JTAG with openocd as mentioned in the user guide.
So basic JTAG operation like hitting breakpoint, stepping through etc work for me.
But once initial breakpoint at 'main' is hit, unless I set a breakpoint beforehand, it seems
I can not halt the cpu. Only option is to terminate the openocd.
I should be able to halt cpu at any point, irrespective of any breakpoint set or not.
Is this behaviour expected or am I missing something. I am using same openocd commands as mentioned in user guide.
Regards
Ritu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ritu,
Yes its a normal behaviour of OpenOCD. You have to the set the breakpoint before resuming the normal code flow. You can also opt for "Stepover" option in the eclipse, it will halt CPU after executing one step in the code. Please note that if you are using USB examples then put the breakpoint after the enumeration is over otherwise windows will pop up an error saying " USB device not recognized".
Thanks & regards
Abhinav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ritu,
Yes its a normal behaviour of OpenOCD. You have to the set the breakpoint before resuming the normal code flow. You can also opt for "Stepover" option in the eclipse, it will halt CPU after executing one step in the code. Please note that if you are using USB examples then put the breakpoint after the enumeration is over otherwise windows will pop up an error saying " USB device not recognized".
Thanks & regards
Abhinav