2 reset status register (rsr), 2 reset status register (rsr) -4, Of lock caused the reset. see – Motorola ColdFire MCF5281 User Manual
Page 612: Section 29.4.2, “reset status register (rsr)

Reset Controller Module
29-4
Freescale Semiconductor
29.4.2
Reset Status Register (RSR)
The RSR contains a status bit for every reset source. When reset is entered, the cause of the reset condition
is latched along with a value of 0 for the other reset sources that were not pending at the time of the reset
condition. These values are then reflected in RSR. One or more status bits may be set at the same time.
The cause of any subsequent reset is also recorded in the register, overwriting status from the previous reset
condition.
RSR can be read at any time. Writing to RSR has no effect.
3
LVDIE
LVD interrupt enable. Controls the LVD interrupt if LVDE is set. This bit has no effect if
the LVDE bit is a logic 0.
1 LVD interrupt enabled
0 LVD interrupt disabled
2
LVDRE
LVD reset enable. Controls the LVD reset if LVDE is set. This bit has no effect if the
LVDE bit is a logic 0. LVD reset has priority over LVD interrupt, if both are enabled.
1 LVD reset enabled
0 LVD reset disabled
1
—
Reserved, should be cleared.
0
LVDE
Controls whether the LVD is enabled.
1 LVD is enabled
0 LVD is disabled
7
6
5
4
3
2
1
0
Field
—
LVD
SOFT
WDR
POR
EXT
LOC
LOL
Reset
Reset Dependent
R/W
R
Address
IPSBAR + 0x11_0001
Figure 29-3. Reset Status Register (RSR)
Table 29-4. RSR Field Descriptions
Bit(s)
Name
Description
7
—
Reserved, should be cleared.
6
LVD
Low voltage detect. Indicates that the last reset state was caused by an LVD reset.
1 Last reset state was caused by an LVD reset
0 Last reset state was not caused by an LVD reset
5
SOFT
Software reset flag. Indicates that the last reset was caused by software.
1 Last reset caused by software
0 Last reset not caused by software
4
WDR
Watchdog timer reset flag. Indicates that the last reset was caused by a watchdog
timer timeout.
1 Last reset caused by watchdog timer timeout
0 Last reset not caused by watchdog timer timeout
Table 29-3. RCR Field Descriptions (continued)
Bit(s)
Name
Description
MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3