28
Data Device Cor poration
www.ddc-web.com BU-65569i
F-011/05-0
The Enhanced Mini-ACE supports all the interrupt events from
ACE/Mini-ACE (Plus), including RAM Parity Error, Transmitter
Timeout, BC/RT Command Stack Rollover, MT Command Stack
and Data Stack Rollover, Handshake Error, BC Retry, RT
Address Parity Error, Time Tag Rollover, RT Circular Buffer
Rollover, BC Message, RT Subaddress, BC End-of-Frame,
Format Error, BC Status Set, RT Mode Code, MT Trigger, and
End-of-Message.
For the Enhanced Mini-ACE's Enhanced BC mode, there are
four user-defined interrupt bits. The BC Message Sequence
Control Engine includes an instruction enabling it to issue these
interrupts at any time.
F or R T and Monitor modes, the Enhanced Mini-ACE architecture
includes an Interrupt Status Queue.This provides a mechanism
for logging messages that result in interrupt requests. Entr ies to
the Interrupt Status Queue may be filtered such that only valid
and/or invalid messages will result in entr ies on the queue.
Enhanced Mini-ACE incorporates additional interrupt conditions
beyond ACE/Mini-ACE (Plus), based on the addition of Interr upt
Mask Register #2 and Interrupt Status Register #2. This is
accomplished by chaining of the two Interrupt Status Registers
(#1 and #2) using one of the bits in Interrupt Status Register #2
to indicate an interrupt has occurred in Interr upt Status Register
#1. Additional interrupts include "Self Test Completed", masking
bits for the Advanced BC Control Interrupts, 50% Rollover inter-
rupts for R T Command Stack, R T Circular Buff ers, MT Command
Stack, and MT Data Stack; BC Op Code Parity Error, (RT) Illegal
Command, (BC) General Purpose Queue or (RT/MT) Interrupt
Status Queue Rollover, Call Stack Pointer Register Error, BC
Trap Op Code, and four User-Defined interrupts for the
Enhanced BC mode.
BUILT-IN SELF-TEST
The Enhanced Mini-ACE includes extensive, highly autonomous
self-test capability. This includes both protocol and RAM self-
tests. The Enhanced Mini-ACE protocol test is performed auto-
matically following power turn-on. In addition, either or both of
these self-tests may be initiated by command(s) from the BU-
65569i's PCI host.
The protocol test consists of a toggle test of 95% of the terminal's
logic gates. The test includes a comprehensive test of all regis-
ters, Manchester encoder and decoders , transmitter failsaf e timer ,
and protocol logic.This test is performed in approximately 2.0 ms .
There is a separate b uilt-in test for the Enhanced Mini-A CE's 64K
X 16 RAM. This test consists of writing and then reading/verify-
ing the two walking patterns "data = address" and "data =
address inver ted". This test takes about 40 ms to complete.
The Enhanced Mini-ACE built-in test may be initiated by a com-
mand from the PCI host, via the START/RESET REGISTER. For
RT mode, this may include the host invoking self-test following
receipt of an Initiate self-test mode command. The results of the
self-test are host accessible by means of the BIT status register.
For the BU-65569i's RT mode, the result of the self-test may be
communicated to the b us controller b y means of the Terminal flag
status word bit and bit 8 of the R T BIT word ("0" = pass , "1" = f ail).
If there is a f ailure of the protocol self-test, it is possible to access
information about the first failed vector. This may be done by
means of the Enhanced Mini-ACE's upper registers (register
addresses 32 through 63).Through these registers, it is possible
to determine the self-test ROM address of the first failed vector,
the e xpected response data pattern (from the ROM), the register
or memory address, and the actual (incorrect) data value read
from register or memor y.The on-chip self-test ROM is 4K X 24.
Note that the RAM self-test is destructive. That is, following the
RAM self-test, regardless of whether the test passes or fails, the
shared RAM is not restored to its state prior to this test.F ollowing
a failed RAM self-test, the host may read the internal RAM to
determine which location(s) failed the walking pattern test.
SOFTWARE
The BU-69090 series Enhanced Mini-ACE software is a suite of
library functions and device drivers, which provide comprehen-
sive support of the BU-65569i card.The base librar y consists of
a suite of function calls that serves to offload a great deal of low-
level tasks from the application programmer.This includes regis-
ter initialization, along with memory management software, and
the means to implement an offline development environment.
As a means of supporting operation on multiple platforms, the
BU-69090 library is written in ANSI C, and leverages component
object modeling (COM). The use of ANSI C and component
object modeling provides portability to different operating sys-
tems and card types. As a result, the library may be easily por t-
ed to run on platforms based on a variety of microprocessors,
running under different operating systems or -- in some cases --
no operating system.
The BU-69090 software includes drivers for specific operating
systems, including Linux, and 32-bit Microsoft oper ating systems .
The library allows the user to specify a unique device number,
along with memory size, base register address, base memory
address, and mode of operation for any Enhanced Mini-ACE on
a given card.The library initialization function results in configur-
ing the Enhanced Mini-ACE’s to a specific state, depending on
the mode of operation. For each mode, advanced architectural
features are enabled as part of the initialization. Depending on
the mode of operation that is initialized, the user may access
specific data structures. For example, for BC mode, there are
separate functions for accessing op codes, messages, data
blocks, and frames.There are separate functions, which may be
invoked to release all resources for a particular device.