2008-03-21 07:43 AM
Software reseet in str 911fm44 how?
2011-05-17 12:43 AM
Hi all, How to make reset in str 911fm44 (software, without WDG timer)
You have some code example ?2011-05-17 12:43 AM
It is very simple!
asm(''MOV PC,#0x00'');2011-05-17 12:43 AM
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.
2011-05-17 12:43 AM
Through the Peripheral reset register SCU_PRR0 and Peripheral reset register SCU_PRR1 it is possible to force the reset for each peripheral.
2011-05-17 12:43 AM
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.