Target server error divide by zero ?

Comments

5 comments

  • Avatar
    Dr Danish Ali

    I hit this problem back in August 2013 with an stm32f415 when I was playing around with low power sleep modes with all clocks stopped.

    Michael Johnson of Rowley started looking into it but we never found an explicit reason for the problem.

    The problem went away when I updated Crossworks to version 2.3.3 (Macintosh) - I see you are only on 2.3.2 so maybe this will help

    Where to find version 2.x? try http://www.rowley.co.uk/arm/releases.htm

    Hope this helps,

    Danish

    0
    Comment actions Permalink
  • Avatar
    Gordon Scott

    Hm, I see it's now on 3.1.1, so I'm well behind.

    I watch the installed packaged and assumed new versions would also appear there.

    Now seems a good time to update.

     

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    In my experience you usually get this when your program has crashed and starts executing random debug I/O commands. The usual cause is stack corruption caused by allocating insufficient stack.

    Regards,

    Jon

    0
    Comment actions Permalink
  • Avatar
    Gordon Scott

    That's quite possible.

    I think I don't have stack problems, though I'll certainly check again.

    There are some other possible causes of a scrawler, though I usually protect my code pretty well to avoid these kinds of painful bugs.

    0
    Comment actions Permalink
  • Avatar
    Gordon Scott

    Well, it's unusual for me, but yes, I was overrunning a stack, so that's the likely cause.  We'll see.

    Thanks guys.

    0
    Comment actions Permalink

Please sign in to leave a comment.