beautypg.com

Motorola DSP96002 User Manual

Page 186

background image

10 - 20

DSP96002 USER’S MANUAL

MOTOROLA

4.

ACK

5.

Send command READ GDB REGISTER

(ODEC selects GDB as source for serial data and an acknowledge is issued to the command

controller.

6.

ACK

7.

CLK

(The command controller generates 32 clocks that shift out the contents of the GDB register.

The value of R0 is thus saved and will be restored before exiting the Debug Mode.)

8.

Send command WRITE PDB REGISTER (no GO, no EX).

(ODEC selects PDB as destination for serial data.)

9.

ACK

10.

Send the 32-bit opcode: "MOVE #$xxxx,R0"

(After 32 bits have been received, the PDB register drives the PDB. ODEC causes the core to

load the opcode. An acknowledge is issued to the command controller.)

11.

ACK

12.

Send command WRITE PDB REGISTER and GO (no EX).

(ODEC selects PDB as destination for serial data.)

13.

ACK

14.

Send the 32-bit 2nd word of: "MOVE #$xxxx,R0" (the xxxx field).

(After 32 bits have been received, the PDB register drives the PDB. ODEC releases the chip

from the "halt" state and the instruction starts execution. The signal that marks the end of the

instruction returns the chip to the "halt" state and an acknowledge is issued to the command

controller.)

15.

ACK

16.

Send command WRITE PDB REGISTER and GO (no EX).

(ODEC selects PDB as destination for serial data.)

17.

ACK

18.

Send the 32-bit opcode: "MOVE X:(R0)+,x:OGDB"

(After 32 bits have been received, the PDB register drives the PDB. ODEC releases the chip

from the "halt" state and the contents of X:(R0) are loaded in the GDB REGISTER. The signal

that marks the end of the instruction returns the chip to the "halt" state and an acknowledge

is issued to the command controller.)

19.

ACK

20.

Send command READ GDB REGISTER

(ODEC selects GDB as source for serial data and an acknowledge is issued to the command

controller.)

21.

ACK

22.

CLK

23.

Send command NO SELECTION and GO (no EX).