MC68HC000RC8 Freescale Semiconductor, MC68HC000RC8 Datasheet - Page 101

no-image

MC68HC000RC8

Manufacturer Part Number
MC68HC000RC8
Description
IC MPU 32BIT 8MHZ 68-PGA
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68HC000RC8

Processor Type
M680x0 32-Bit
Speed
8MHz
Voltage
3.3V, 5V
Mounting Type
Surface Mount
Package / Case
68-PGA
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Freescale Semiconductor, Inc.
After the execution of the instruction is complete and before the start of the next
instruction, exception processing for a trace begins. A copy is made of the status register.
The transition to supervisor mode is made, and the T bit of the status register is turned off,
disabling further tracing. The vector number is generated to reference the trace exception
vector, and the current program counter and the copy of the status register are saved on
the supervisor stack. On the MC68010, the format/offset word is also saved on the
supervisor stack. The saved value of the program counter is the address of the next
instruction. Instruction execution commences at the address contained in the trace
exception vector.
6.3.9 Bus Error
A bus error exception occurs when the external logic requests that a bus error be
processed by an exception. The current bus cycle is aborted. The current processor
activity, whether instruction or exception processing, is terminated, and the processor
immediately begins exception processing. The bus error facility is identical on the all
processors; however, the stack frame produced on the MC68010 contains more
information. The larger stack frame supports instruction continuation, which supports
virtual memory on the MC68010 processor.
6.3.9.1 BUS ERROR. Exception processing for a bus error follows the usual sequence of
steps. The status register is copied, the supervisor mode is entered, and tracing is turned
off. The vector number is generated to refer to the bus error vector. Since the processor is
fetching the instruction or an operand when the error occurs, the context of the processor
is more detailed. To save more of this context, additional information is saved on the
supervisor stack. The program counter and the copy of the status register are saved. The
value saved for the program counter is advanced 2–10 bytes beyond the address of the
first word of the instruction that made the reference causing the bus error. If the bus error
occurred during the fetch of the next instruction, the saved program counter has a value in
the vicinity of the current instruction, even if the current instruction is a branch, a jump, or
a return instruction. In addition to the usual information, the processor saves its internal
copy of the first word of the instruction being processed and the address being accessed
by the aborted bus cycle. Specific information about the access is also saved: type of
access (read or write), processor activity (processing an instruction), and function code
outputs when the bus error occurred. The processor is processing an instruction if it is in
the normal state or processing a group 2 exception; the processor is not processing an
instruction if it is processing a group 0 or a group 1 exception. Figure 6-7 illustrates how
this information is organized on the supervisor stack. If a bus error occurs during the last
step of exception processing, while either reading the exception vector or fetching the
instruction, the value of the program counter is the address of the exception vector.
Although this information is not generally sufficient to effect full recovery from the bus
error, it does allow software diagnosis. Finally, the processor commences instruction
processing at the address in the vector. It is the responsibility of the error handler routine
to clean up the stack and determine where to continue execution.
If a bus error occurs during the exception processing for a bus error, an address error, or
a reset, the processor halts and all processing ceases. This halt simplifies the detection of
a catastrophic system failure, since the processor removes itself from the system to
6-16
M68000 8-/16-/32-BIT MICROPROCESSORS USER'S MANUAL
MOTOROLA
For More Information On This Product,
Go to: www.freescale.com

Related parts for MC68HC000RC8