Core Data Fault Recovery Registers - Freescale Semiconductor MCF52277 Reference Manual

Table of Contents

Advertisement

System Control Module (SCM)
2. Write 0xAA to CWSR.
Both writes must occur in order before the time-out, but any number of instructions can execute between
the two writes. This allows interrupts and exceptions to occur, if necessary, between the two writes.
If the CWT is enabled and has not timed out, any write of a data value other
than 0x55 or 0xAA causes an immediate system reset, regardless of the
value in the CWCR[CWRI] field.
The timer value is constantly compared with the time-out period specified by CWCR[CWT], and any write
to the CWCR register resets the watchdog timer. In addition, a write-once control bit in the CWCR sets
the CWCR to read-only to prevent accidental updates to this control register from changing the desired
system configuration. After this bit, CWCR[RO], is set, a system reset is required to clear it.
For certain values in the CWCR[CWRI] field, the CWT generates an interrupt response to a time-out. For
these configurations, the SCMISR register provides a program visible interrupt request from the watchdog
timer. During the interrupt service routine that manages this interrupt, the source must be explicitly cleared
by writing a 0x01 to the SCMISR.
12.3.3

Core Data Fault Recovery Registers

To aid in recovery from certain types of access errors, the SCM module supports a number of registers that
capture access address, attribute, and data information on bus cycles terminated with an error response.
These registers can then be read during the resulting exception service routine and the appropriate recovery
performed.
The details on the core fault recovery registers are provided in the above sections. These registers are used
to capture fault recovery information on any processor-initiated system bus cycle terminated with an error.
12-14
NOTE
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents