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

---------------------------------- HD68450, HD68450Y ClK Lrl...JL.YS 1 2 3 4 5 30 31 32 33 34 35 36 37 38 AI-A7 QJl :: ) AS ~n lZl i! lACK ~~~ alll I~ R/W II lDS \\\ ill H DDIR (if , UDS ~H :: III DBEN rf11\ I AI6/Da-A23/DIS H Aa/Do-Als/D7 ~~lZlI XDo-XDlS H-{jlZllL IExternal System Data Bus) DTACK is ClK ~S\ 1 2 3 4 5 30 31 32 33 34 35 36 37 3B Figure 36 MPU lACK Cycle to DMAC (3) MUltiple Data Block Transfer Operation When the memory transfer counter (MTC) is exhausted, the channel operation still continues if the channel is set to the array chaining mode or the linked array chaining mode and the chain is not exhausted.

The channel operation also containes if the continue bit (CNT) of the CCR is set. The DMAC provides the initialization of the memory address register and the memory transfer counter in these cases so that the DMAC can transfer the multiple blocks. Continued Operation The continued operation is described in the Initiation and the Control of the Channel Operation section. Array Chaining This type of chaining uses an array in memory consisting of memory addresses and transfer counts. Each entry in the array is six bytes long and, consists of four bytes of address followed by two bytes of transfer count.

The beginning address of this array is in the base address register, ar.d the number of entries in the array is in the base transfer counter. Before starting any block transfers, the DMAC fetches the entry currently pointed to by the base address register. The address in formation is placed in the memory address register, and the count informa- tion is placed in the memory transfer counter. As each chaining entry is fetched, the base transfer counter is decremented by one. After the chaining entry is fetched, the base address register is incremented to point the next entry.

When the base transfer counter reaches a terminal count of zero, the chain is exhausted, and the entry just fetched determines the last block of the channel operation. An example of tire array chaining mode operation and the memory format fdl -'supporting for array chaining is shown in Figure 37. The array must start at an even address, or the entry fetch results is an address error. If a terminal count is loaded into the memory transfer counter or the base transfer counter, the count error is signaled. Since the base registers may be read by the MPU, appropriate error recovery information is available should the DMAC encounter an error anywhere in the chain.

Contents of the BFC is outputted as the function code when the DMAC is accessing the memory using the base address register. The value of the function code registers are unchanged in the array chaining operation. ~HITACHI 35