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

---------------------------------- HD68450, HD68450Y tion is signaled during a DMA bus cycle. (e) Count Error - A count error occurs in· the following cases: (i) The STR bit is set when zero is set in the MTC and the channel control register. After the successful comple- tion of any transfer, the memory and device address registers points to the location of the next operand to be transferred and the memory transfer counter contains the number of operands yet to be transferred. If an error occurs during a transfer, that transfer has not completed and the registers contain the values they had before the transfer was attempted.

If the channel operation uses chaining, the Base Address Register points to the next chain entry to be serviced, unless the termination occurred while attempting to fetch an entry in the chain. In that case, the Base Address Register points to the entry being fetched. However, in the case of external abort, there are cases in which the previous values are not recovered. and the MTC and the chaining mode is not used. (ii) the STR bit is set when zero is set in BTC (or the array chaining mode. (iii) zero is loaded from memory to the BTC or the MTC in the chaining modes or the continue mode.

(f) External Abort - External abort occurs if an abort is asserted by the external circuitry when the PCL line is configured as an abort input and the STR or the ACT bit is set. (g) Software abort - Software abort occurs if the SAB bit is set when the STR or the ACT bit is set. Bus Exception Operating Flow The bus exception operating flow in the case of multiple exception conditions occurring continuously in sequence is shown in Figure 43. Note that the DMAC can receive and exe- cute the next exception condition.

For example, if the retry exception occurs, and next the relinquish and retry exception occurs while the DMAC is waiting for the retry condition to be cleared, the DMAC relinquishes the bus and waits for the exception condition to be cleared. If a bus error occurs during this period, the DMAC executes the bus error exception operation. The flow diagram of the normal operation without exception operation or errors is shown in Figure 44. Error Recovery Procedures If an error occurs during a DMA transfer, appropriate infor- mation is available to the operating system (OS) to allow a software failure recovery operation.

The operating system must be able to determine how much data was transferred, where the data was transferred to, an what type of error occurred. The information available to the operating system consists of the present value of the Memory Address, Device Address and Base Address Registers, the Memory Transfer and Base Transfer Counters, the channel status register, the channel error register, l ANY STATE ~ RESETTING ,---IALL CHANNELS NON HL T. BEA. RTY. RRT -1 IDLE MODE I Y IDLE MODE DTACK & HLT (DTC) NON WAITING FOR BER IDLE MODE BEC CLEAR ~ WAITING FOR I SEC CLEAR ~T TO RETRY DMAC YIELDS BUS 1- --------- 1- f-------- ----- I- '-- DMAC OWNS BUS f-- REO REON HLT. RRT RRT. HLT RRT.

HLT DMA MODE ~ DMA MODE-' BER DMA MODE NO ACTIVE NON WAITINGFOR 1 CYCLE BEC CLEAR BEC CLEAR TO RETRY I BEA. RTY I WAITING FOR AST : reset NON : no exception HLT : halt BEA : bus error ATY : retry AAT : relinquish and retry AEO : external request AEON : no external request STAAT: bus cycle start DTACK: DTACK signal asserted DTC : DTC signal asserted BER NON START RTY DMA MODE NON DTACK & NON BUS CYCLE ACTIV (DTC) DTACK & HLT (DTC) Figure 43 Bus Exception Flow Diagram ~HITACHI 43