Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
November 4, 2009 - 5:30pm
|
Hi, I am using Ride7 (7.24.09.0251) with RKit-STM8 (2.24.09.0238) to develop an application for the STM8S105xx series. When debugging, once a breakpoint is hit, I cannot use the "Step Over" or "Step Into" functions without removing the breakpoint first (although the "Run" function works). The debug output just displays "Execution stopped by instruction breakpoint". How can I change this behavior? I would like the "Step" commands to override breakpoints like other IDEs do. Thank you in advance; any help is appreciated! |
Hi,
Sorry, but I don't observe this behavior here. I will need more information for helping you.
Could you please try and tell me if you have the problem when debugging a toggle example from Ride?
( \examples\STM8\REva\STM8S208RB\Toggle\... )
That will tell us if the problem is related to something in the application (interrupts, ...) or not.
Are you using your own board or a commercial demo board? (which one?)
Best Regards,
Vincent
Hi,
I could reproduce the problem you describe, which was indeed related to interrupts.
Please give a try at this patch and tell me if it solves the issue:
ftp://www.raisonance.com/temp/STM8/patch_091105_STM8_step_IT.zip
Copy the two files in your \bin directory. (save the originals before, just in case ;) )
Best Regards,
Vincent
Using the DLLs supplied in the patch resolved the problem; thank you very much!
I am using my own board and not a demo board right now, but I think the problem could occur in either case. Also, I am using Windows Vista x64 in case that matters.
Thanks again for your assistance.
Hi,
Yes, now that I understand the problem, I expect it to be completely independent of the board and of the host PC. (and its OS) But it IS dependent on the application code, and more precisely on its usage of interrupts.
In any case it should not appear anymore with the patch. Please let me know if it does.
Best Regards,
Vincent