This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Device suffers from reproducible resets once optimisation is turned on

I've recently begun work on maintaining and adding functionality to an existing product using the Chipcon CC1010.

<snip>

Parents Reply Children
  • Hi guys, thanks for the input.

    The watchdog has been disabled for now so that one can be pretty much ruled out.

    As far as code segments go, unfortunately it's happening somewhere in a 17Kb source file - that I'm essentially unfamiliar with. I suspect the easiest thing to do is to have a look at the map and check where memory for those functions is being allocated. These usually seem to have memory allocated from where the function pointer was assigned, as opposed to where it is actually called from.

    Thanks for the help
    Cheers
    D.

  • Why not just set a breakpoint on the reset vector, enable trace, and see what causes the reset that way?

    Jon