Core Data Fault Recovery Registers - Freescale Semiconductor MCF5329 Reference Manual

Devices supported: mcf5327; mcf5328; mcf53281; mcf5329
Table of Contents

Advertisement

2. Write 0xAA to CWSR.
Both writes must occur in order before the time-out, but any number of instructions can be executed
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, then any write of a data value
other than 0x55 or 0xAA will cause 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, there is a write-once control bit in the CWCR
that sets the CWCR to read-only to prevent accidental updates to this control register from changing the
desired system configuration. Once 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 which handles this interrupt, the source must be explicitly
cleared by writing a 0x01 to the SCMISR.
11.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. It is important to note
these registers are used to capture fault recovery information on any processor-initiated system bus cycle
that is terminated with an error.
Freescale Semiconductor
NOTE
MCF5329 Reference Manual, Rev 3
System Control Module (SCM)
11-15

Advertisement

Table of Contents
loading

Table of Contents