Skip to main content
Visitor II
March 21, 2008
Question

Software reseet in str 911fm44 how?

  • March 21, 2008
  • 5 replies
  • 1159 views
Posted on March 21, 2008 at 15:43

Software reseet in str 911fm44 how?

    This topic has been closed for replies.

    5 replies

    mariusz2Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:43

    Hi all, How to make reset in str 911fm44 (software, without WDG timer)

    You have some code example ?

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:43

    It is very simple!

    asm(''MOV PC,#0x00'');

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:43

    It is very simple!

     

    asm(''MOV PC,#0x00'');

     

    Okay, this might be very simple if you dont't care about the state of the HW registers (incl. peripherals) prior to performing this type of ''warm boot'', as suggested.

    Many times one cares about the initial conditions being at a known state - which only a real reset (ext. or powercycle) will provide.

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:43

    Through the Peripheral reset register SCU_PRR0 and Peripheral reset register SCU_PRR1 it is possible to force the reset for each peripheral.

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:43

    I've been looking for the answer for this for a while, and it seems the best answer is to enable the Watchdog (WDG) and do a while(1); to force it to reset.