OnCE CONTROLLER AND SERIAL INTERFACE

10.3.1.2Exit Command (EX) Bit 5

If the EX bit is set, the processor will leave the debug mode and resume normal operation. The Exit command is executed only if the Go command is issued, and the operation is write to OPDBR or read/write to “No Register Selected”. Otherwise the EX bit is ignored.

EX

Action

0Remain in debug mode

1Leave debug mode

10.3.1.3Go Command (GO) Bit 6

If the GO bit is set, the chip will execute the instruction which resides in the PIL register. To execute the instruction, the processor leaves the debug mode, and the status is reflect- ed in the OS0-OS1 pins. The processor will return to the debug mode immediately after executing the instruction if the EX bit is cleared. The processor goes on to normal opera- tion if the EX bit is set. The GO command is executed only if the operation is write to OPDBR or read/write to “No Register Selected”. Otherwise the GO bit is ignored.

GO

Action

0Inactive (no action taken)

1Execute instruction in PIL

10.3.1.4Read/Write Command (R/W) Bit 7

The R/W bit specifies the direction of data transfer. The table below describes the options defined by the R/W bit.

R/W

Action

0Write the data associated with the command into the register specified by RS4-RS0

1Read the data contained in the register specified by RS4-RS0

10.3.2OnCE Bit Counter (OBC)

The OBC is a 5-bit counter associated with shifting in and out the data bits. The OBC is incremented by the falling edges of the DSCK. The OBC is cleared during hardware reset and whenever the DSP56K acknowledges that the debug mode has been entered. The OBC supplies two signals to the OnCE Decoder: one indicating that the first 8 bits were

MOTOROLA

ON-CHIP EMULATION (OnCE)

10 - 9

Page 201
Image 201
Motorola 24-Bit Digital Signal Processor, DSP56000 manual OnCE Controller and Serial Interface Exit Command EX Bit, Action