37-32
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part VI. Debug and Test
The ÒValid Data from CoreÓ and ÒCore InterruptÓ functions cannot occur in trap enable
mode. When not in debug mode, the sequencing error encoding indicates that the
transmission from the external development tool was a debug mode transmission. When a
sequencing error occurs the development port ignores the data shifted in while the
sequencing error is shifting out and is treated as a no-op function. The null output encoding
is used to indicate that the previous transmission had no associated errors. When not in
debug mode, ready is asserted at the end of each transmission. If debug mode is not enabled
and transmission errors can be guaranteed not to occur, the status output is not needed.
37.3.2.5 Development Port Serial CommunicationsÐDebug Mode
Debug mode is a superset of trap enable mode. All of the trap enable mode functionality is
available, with the following additions.
¥
In debug mode, the development port starts communications by setting DSDO low
to indicate that the core is trying to read an instruction from DPIR or data from
DPDR.
¥
When the core writes data to the port to be shifted out, the ready bit is not set.
Instead, the port waits for the core to read the next instruction before asserting ready.
This allows duplex operation of the serial port and lets the port control all
transmissions from the external development tool. After detecting this ready status
the external development tool begins transmitting to the development port with a
start bit (logic high) on DSDI.
37.3.2.5.1 Serial Data Into Development Port
In debug mode the 35 bits of the development port shift register are interpreted as a
start/ready bit, a mode/status bit, a control/status bit, and 32 bits of data. All instructions
and data for the core are sent with the mode bit cleared indicating a 32-bit data Þeld.
Table 37-13 shows the encoding of data shifted into the development port shift register
through DSDI. Data values in the last two functions other than those speciÞed are reserved.
1
The freeze status is 1 when the core is in debug mode. Otherwise it is 0.
2
The ÒDownload Procedure In ProgressÓ status is asserted (0) when the debug port in the download procedure is
negated. Otherwise it is set to 1.
Table 37-12. Status/Data Shifted Out of Development Port Shift Register
Rea
dy
Status
[0Ð1]
Data
Function
Bit 0
Bit 1
Bits 2Ð31 or 2Ð6 Depending on Input Mode
(0)
0
0
Data
Valid data from
core
(0)
0
1
Freeze
status
1
Download
procedure
in progress
2
1s
Sequencing error
(0)
1
0
1s
Core interrupt
(0)
1
1
1s
Null
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......