37-34
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part VI. Debug and Test
The sequencing error encoding indicates that the inputs from the external development tool
are not what the development port and/or the core was expecting. There are two possible
causes for this error:
¥
The processor was trying to read instructions and data was shifted into the
development port.
¥
The processor was trying to read data and an instruction was shifted into the
development port.
Nonetheless, the port terminates the read cycle with a bus error. In turn, this bus error causes
the core to signal that an interrupt exception occurred. Because a status of sequencing error
is of higher priority than an exception, the port reports the sequencing error Þrst and the
core interrupt on the next transmission. The development port ignores the command,
instruction, or data shifted in while the sequencing error or core interrupt is shifted out. The
next transmission, after all error status is reported to the port, should be a new instruction,
trap enable, or command.
The interrupt occurred encoding indicates that the core encountered an interrupt during the
execution of the previous instruction in debug mode. Interrupts may occur as the result of
instruction execution (such as unimplemented opcode or arithmetic error), because of a
memory access fault, or from an unmasked external interrupt. When an interrupt occurs the
development port ignores the command, instruction, or data shifted in while the interrupt
encoding was shifting out. The next transmission to the port should be a new instruction,
trap enable, or debug port command. Finally, the null encoding indicates that no data was
transferred from the core to the development port shift register.
37.3.2.5.3 Fast Download Procedure
The fast download procedure downloads a block of data from the debug tool into the system
memory by repeating the sequence of transactions shown in Figure 37-12 from the
development tool to the debug port for the number of data words to be downloaded.
In this example, RX = r31 and RY = r30. The sequence is repeated until the end download
procedure command is issued to the debug port. GPR31 temporarily stores the data value.
Before issuing the start download procedure command, the value of the Þrst memory block
INIT:
Save RX, RY
RY <- Memory Block address- 4
¥¥¥
repeat:
mfspr
RX, DPDR
DATA word to be moved to memory
stwu
RX, 0x4(RY)
until here
¥¥¥
Restore RX,RY
Figure 37-12. Download Procedure Code Example
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......