Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
September 7, 2007 - 10:48am
|
Dear Raisonance team, I'm started to use the raisonance c compiler under ride (version build 746). I have done a formula with some floating point calculation. Can you help me ? It seems that floating point calculation is not working. I need to enable some option in the ride ? thanks Enrico |
the following message is "Step is not over yet.Go on ?" related to my precedent post
Could you send us (support@raisonance.com) a small project to reproduce the issue.
Thanks.
Francis
Hi Enrico,
Thanks for your submission. I received your project files and reproduced your problem in the Raisonance labs.
The root cause is that the compiler generates highly optimized functions for an efficient manipulation of floats. The debugger is not (yet) smart enough to understand the optimizations of the compiler, hence is not able to determine where to place its breakpoints, so it places several of them. As the device you use has a limited number of hardware breakpoints, once the simulator runs out of them it generates the "Step is not over yet. Go on?" message you reported.
This issue will be fixed in the next Ride release. We do not have a fixed schedule yet, but this should occur in the upcoming months.
A workaround to this issue is to avoid stepping in you program, but rather place a breakpoint and perform a "Go" in the debugger. You can use the _nop_() intrinsic function to have "clean" places where to set your breakpoints in case your C statements are too complex to follow.
I hope this helps,
Bruno Richard, PhD.
RAISONANCE - 17, avenue Jean Kuntzmann - F-38330 Montbonnot St Martin - FRANCE
http://www.raisonance.com Tel: +33 4 76 61 02 31