beautypg.com

Motorola DSP96002 User Manual

Page 184

background image

10 - 18

DSP96002 USER’S MANUAL

MOTOROLA

0 write the data associated with the command into the
register specified by RS4-RS0
1 read the data contained in the register specified by
RS4-RS0

10.11 DSP96002 TARGET SITE DEBUG SYSTEM REQUIREMENTS

A typical DSP96002 debug environment consists of a target system where the DSP96002 resides in the

user defined hardware. The debug serial port interfaces to the command convertor over a 6 wire link con-

sisting of the 4 OnCE

wires, a ground and reset wire. The reset wire is optional and is only used to reset

the DSP96002 and its associated circuitry.

The command controller acts as the medium between the DSP96002 target system and a host computer.

The host computer interfaces to the controller using a standard RS232 three wire cable or the DSP96002

Application Development System parallel bus. A jumper option on the command controller board selects

which method of communications will be used. This allows a variety of different host computers to commu-

nicate with the controller circuit.

The controller circuit provides several important functions. It acts as a DSP96002 serial debug port driver,

host computer command interpreter, and DSP96002 controller. The DSP96002 acts as a slave when in the

debug mode and provides data only upon request. The controller issues commands based on the host com-

puter inputs from a user interface program which communicates with the user.

10.12 USING THE OnCE

The following notations are used:

ACK = Wait for acknowledge on the DSO pin

CLK = issue 32 clocks to read out data from selected register

10.12.1 Begin Debug Activity

Most of the Debug activities will have the following beginning:

1.

ACK

2.

Save pipeline information:

1.

Send command READ PDB REGISTER

2.

ACK

3.

CLK

4.

Send command READ PIL REGISTER (instruction latch).

5.

ACK

6.

CLK

3.

Read PAB FIFO and fetch/decode info (this step is optional):

1.

Send command READ PAB address for fetch

2.

ACK

3.

CLK

4.

Send command READ PAB address for decode

5.

ACK