Development Port Serial Communications–Debug Mode; Serial Data Into Development Port - Freescale Semiconductor MPC850 User Manual

Mpc850 family integrated communications microprocessor
Table of Contents

Advertisement

Development System Interface
Table 44-12. Status/Data Shifted Out of Development Port Shift Register
Status
Ready
[0–1]
Bit 0
(0)
0
0
(0)
0
1
Freeze
status
(0)
1
0
(0)
1
1
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.
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.
44.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.

44.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 field.
Table 44-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 specified are reserved.
Bit 1
Bits 2–31 or 2–6 Depending on Input Mode
Download
1
procedure in
2
progress
MPC850 Family User's Manual
Data
Data
1s
1s
1s
Function
Valid data from core
Sequencing error
Core interrupt
Null

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc850deMpc850dslMpc850sr

Table of Contents