FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual

5.5.12 SEND COMMANDS The Send commands are Interrupting commands that are valid only when connected to the bus in the Target role. They are used by a Target to send status, data, and message information to an Initiator. The Send commands transfer data, and therefore, the Single Byte Transfer and DMA mode bits in the Command Register are valid for these commands. If the Single Byte Transfer bit is off(O), the Transfer Counter must be loaded before a Send command is issued to the chip. In this case, the chip uses the Transfer Counter to determine the number of bytes to send. When a Send command is issued, the chip immediately resets the Data Register Full bit in the Auxiliary Status Register.

Therefore, the first byte of data for the transfer cannot be put into the Data Register until after a Send command is loaded into the Command Register. In executing a Send command, the chip drives the 1/0, C/O, and MSG outputs for the proper information phase. These lines are logically driven for each Send command as shown below. COMMAND NAME 1/0 CID MSG Send Status 1 1 0 Send Data 1 0 0 Send Message In 1 1 1 Send Unspecified Info In 1 0 1 After resetting Data Register Full and driving 1/0, C/O, and MSG, the chip then proceeds to monitor Data Register Full, take the data from the Data Register, and send it to the Initiator.

The DMA mode bit in the Command Register specifies how the data is loaded into the chip. After interrupting, the chip is left in the connected Target state, and ACK and REO are inactive on the bus. When the transfer is complete, the chip interrupts with a Function Complete Interrupt. If the Initiator activated ATN during the transfer, a Bus Service bit will also be set by the chip. (NOTE: if a Bus Service interrupt alone occurs after issuing a Send command, the Initiator activated ATN before the chip began executing the command. In this case, the command is ignored by the Chip.) A Send command may be stopped prior to an interrupt causing event by issuing a Pause command.

Operation of the Pause command is explained in an earlier section. In the event the Initiator does not, or stops responding, the chip is left in a state where it cannot respond to a Pause command. For this case, a Disconnect command can be used to abort the command and the connection. The Disconnect command is explained in a earlier section. 26