SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Contents Preface ......................... vii Purpose of this Guide ....................... viii Using this Guide ........................viii Conventions ..........................ix Style............................ix Terminology ..........................x Special Notation ........................xi Card Overview ......................13 1.1 Warnings and Cautions......................14 1.2 Card Features........................15...
This guide contains technical and product-related information on the SST-DN4-104-1 and SST-DN4-104-2 network interface cards. The SST-DN4-104-1 consists of a single DeviceNet network interface (or channel), and the SST-DN4-104-2 comprises two independent interfaces, controlled by independent CPUs. Each CPU executes downloadable application firmware modules, which enable application-level product behavior.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Conventions This guide uses stylistic conventions, special terms, and special notation to help enhance your understanding. Style The following stylistic conventions are used throughout this guide: Bold indicates field names, button names, tab names, executable files,...
SST-DN4-104-1 and SST-DN4-104-2 Terminology The following special terms are used throughout this guide: Card The SST-DN4-104-1 or SST-DN4-104-2 network interface card Channel A DeviceNet network interface on the card Firmware Module The embedded software module that gets loaded to the card’s memory and runs on the card.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Special Notation The following special notations are used throughout this guide: Warning Warning messages alert the reader to situations where personal injury may result. Warnings are accompanied by the symbol shown, and precede the topic to which they refer.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 1.1 Warnings and Cautions The card is an electrical component and must be treated with the following precautions: Warning Only qualified electrical personnel familiar with the construction/ operation of this equipment and the hazards involved should install, adjust, operate, and/or service this equipment.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 1.2 Card Features The card is a PC/104 interface for communication with DeviceNet and other CAN-based networks. The main features of each channel are: 16-bit PC/104 interface (compliant with PC/104, specification 2.4). Sixteen bits is the •...
The main features of the card are described in more detail in the following sections. For information on card dimensions, refer to Section B.1, Technical Specifications. Figure 1: SST-DN4-104-1 & 2 Interface Card Table 1: Card Features Feature Description Feature...
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 1.5.1 CAN Connector The 5-pin connector is a removable connector that conforms to the standard DeviceNet pinout. Pin numbers, names and color codes are identified in the figure below. Figure 2: 5-Pin CAN Connector...
Page 18
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 1.5.1.2 CANH, CANL These are the CAN communication bus signal terminals. Use only shielded twisted pair cable. When using the card on DeviceNet with DeviceNet approved cabling, these wires will already be a twisted pair with the proper DeviceNet impedance.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 1.5.2 LEDs There are three LEDs per channel: Power (PWR), Health (HLTH) and Communications (COMM). Note For information on troubleshooting using LEDs, refer to Section 4.1, HLTH or PWR LED is Red. 1.5.2.1 PWR LED The PWR LED indicates whether or not power is applied to the CAN connector.
Page 20
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 1.5.2.2 HLTH LED The HLTH LED indicates the channel’s health status. This LED’s behavior is described in the following table: Table 3: HLTH LED Behavior Color Status Card initialization failed or the card is not powered...
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 1.5.3 Switches Each channel’s I/O base address is set via a 6-position switch. Figure 3: Switch Positions Note Each channel uses 8 I/O addresses. For example, on the 2-channel card, selecting I/O addresses 228 and 250 actually uses 228 through 22F and 250 through 257.
Page 22
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 Table 4: Switch Settings A “1” in the following table indicates that a switch is on (or UP), and a “0” indicates that a switch is off (or DOWN). The arrow on the switch (refer to Figure 3:...
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 2.1 System Requirements To install and operate the card, the following system requirements must be met: Minimum 8K window in host memory map (default is 16K) • An available PC/104 slot • If interrupts are required, you will need a physical interrupt for each channel on which •...
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 2.3 Installing the Card To install the card in your computer: 1. Ensure that all power to the computer is off. 2. Adequately ground yourself, as cautioned in Section 2.2, Handling Precautions. 3. Unplug the power cord, modem (if applicable), and any network cables.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 2.4 Connecting to a Network This section consists of two parts: connecting to a DeviceNet network, and connecting to a CAN network. 2.4.1 Connecting to a DeviceNet Network Connect either a DeviceNet Trunk or Drop cable to the 5-pin connector, according to the color code in Section 1.5.1,...
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 2.4.2 Connecting to a CAN Network Connect the CAN cable to the 5-pin connector and tighten all screws. Make sure that all strands of wire go into the connector, as bent strands may cause shorts to an adjacent terminal.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 3.1 DN4 Card Configuration Registers This section provides hardware register details for the card. 3.1.1 Host Register Layout Each channel has its own set of registers, located in I/O space. The base I/O address is set via the switch for that channel.
This bit indicates and controls whether or not the channel’s shared memory will respond to host memory accesses. This may be used to multiplex several SST-DN4-104-1 or SST-DN4-104-2 cards or channels at the same base address, by enabling the memory on one channel at a time.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 Bit Name Description • Reading 0 indicates interrupt complete 3.1.3 AddrMatch Register This register controls the channel’s base memory address in host memory space. Each channel may be at a different address. If two channels are used at the same address, use MemEn to turn on one channel at a time.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 3.1.4 WinSize Register This register controls the window size by masking off the AM19-AM12 and BA19-12 bits in the AddrMatch and Bank Address registers. Table 12, WinSize Register Values, maps the WS bit values required for each valid window size.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 Table 13: WinSize Register Bit Descriptions Bit Name Description WS19-WS12 WS19-WS12 represent the window size, according to Table 12: Winsize Register Values. • Writing any value other than those above has no effect The size of the memory window affects the number of banks required to access all memory.
Page 39
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Bit and Value Window Size and Bank Number BA19 BA18 BA17 BA16 BA15 BA14 BA13 BA12 128k 256k * x = don’t care Table 16: Bank Address Register Bit Descriptions Description Bit Name Each channel has 256k of memory accessible to the host. The Bank Address bits select BA17-13 which bank of memory the host can access.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 3.1.6 HostIrq Register This register controls how interrupts from the card are generated. Table 17: HostIrq Register Settings Name Platform Platform ID IrqLevel3 IrqLevel2 IrqLevel1 IrqLevel0 Read/Write Reset The DN4 platform supports DN3/DN4 hardware detection in the HostIrq register as follows: 1.
Page 41
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Table 18: HostIrq Register Bit Descriptions Bit Name/ Value Description IrqLevel3-IrqLevel0 These bits determine the hardware interrupt level used when interrupts are enabled and an interrupt is generated by the channel’s processor. Supported values are:...
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 3.1.7 LedReg Register This register reflects the state of the channel’s LEDs, allowing host software to monitor the LEDs and display them on-screen. Table 19: LedReg Register Settings HLTH COMM Name Reserved PwrRed PwrGrn...
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 3.1.8 Reserved Register This register is reserved and must not be accessed by host applications. 3.1.9 FamilyId Register This register identifies the product family of the card. Table 21: FamilyId Register Settings Name FamilyId7...
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Troubleshooting Chapter Sections: HLTH or PWR LED is Red • Memory Conflict • Card Not Found • General Troubleshooting • For a list of hardware-related errors that can be generated by the card, refer to Appendix A, Error Messages.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 4.1 HLTH or PWR LED is Red This section describes strategies for troubleshooting, using a red HLTH or PWR LED. Note For information on LED flash codes, refer to Section A.3, Fatal Hardware Self-Test Flash Codes.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide 4.2 Memory Conflict If a memory conflict is detected, examine the resource allocations in the operating system. If the operating system does not manage resources, review the requirements of the other hardware installed in the machine to select a non-conflicting memory window. If you continue to experience difficulties, refer to Section 4.4,...
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 A.1 Introduction The following errors may be reported during the card’s startup self-test. Error messages are posted in the Message Area (0x40) of the Host Interface Memory and can be displayed using one of the status applications, such as DNSTAT, provided with the card.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide A.3 Fatal Hardware Self-Test Flash Codes Fatal failures during startup are accompanied by an 8-bit fault code, flashed on the HLTH LED. The fault code will be output MSB first, with a 1 (one) bit shown as a green LED, and a zero (0) bit shown as a red LED.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 B.1 Technical Specifications The following tables list the technical specifications for the card. Table 24: Environmental Specifications Ambient Conditions Storage temp: -40°C to +85°C Operating temp: 0°C to 55°C Humidity: 5% to 95% non-condensing...
Page 55
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide The following figure provides a detailed breakdown of the card’s dimensions. Figure 4: SST-DN4-104-1 & 2 Interface Card Dimensions Legend For information on card components, refer to Section 1.5, Hardware 1- and 2-channel Description.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Loading Firmware Appendix Sections: Loading Firmware • Note This appendix explains how to load firmware to the card manually, or how to write your own loader. If you are using a Windows loader provided by Woodhead Software & Electronics, the following instructions are not required.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 C.1 Loading Firmware Firmware modules for the card are supplied as .ss4 files, found on the software CD-ROM or on the website at http://www.woodhead.com. If you are developing a driver for the card or producing a stand-alone embedded application, read the following section for details on loading a module into the channel’s memory.
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide C.1.2 Check for Conflicting RAM Before the channel’s shared memory can be safely enabled, you must determine that no other system devices are using the intended memory address range. Note Any task switching, interrupts or processes should be disabled during this procedure.
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 C.1.3 Test Channel RAM To test a channel’s RAM, follow these steps: 1. Write the upper byte of the desired 20-bit base address (base address >> 12) to the AddrMatch Register. 2. Write the desired window size to the WinSize register (refer to Section 3.1.4, WinSize Register, for details).
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide C.1.4 Load and Start the Firmware Module To load and start the firmware module, follow these steps: 1. Write the contents of the entire firmware file into shared memory, starting at bank zero (0), offset zero (0).
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 D.1 CE Compliance This device meets or exceeds the requirements of the following standards: EN 61326-1:2006: “Electrical equipment for measurement, control and laboratory use - • EMC requirements, Part 1: General Requirements. EN 55011:1998 + A1:1999 & A2:2002, Class A, Group 1 – Industrial, Scientific and •...
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 E.1 Warranty For warranty information pertaining to the card, refer to http://www.mysst.com/warranty.asp. E.2 Reference Documents The following documents provide additional details on DeviceNet and/or the card: DeviceNet Specification: CIP Library Volume 1 Ed 3.2 "Common Industrial Protocol”...
Page 67
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide E.3.1 Getting Help Technical support is available during regular business hours by telephone, fax or email from any Woodhead Software & Electronics office, or from http://www.woodhead.com. Documentation and software updates are also available on the website.
Page 69
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Index status of, 19 system requirements for, 26 AddrMatch Register, 34 technical specifications for, 54 technical support for, 66 troubleshooting, 46 Bank Address Register, 38 verifying presence of, 58 byte ordering, 15 warnings for, 14, 45, 64...
Page 70
Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 conventions used in this guide status of, 42 special notation, xi troubleshooting with, 46 special terms, x Host Register, 32 host, defined, x style, ix current draw, 54 HostIrq Register, 40 humidity, operating, 54...
Page 71
SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide network specifications, 54 HostIrq, 40 note, defined, xi reserved, 43 WinSize, 37 requirements, system, 26 Reserved register, 43 operating temperature, 54 settings power for jumpers, 21 external, 54 for switches, 21 for CAN network, 29...
Need help?
Do you have a question about the SST-DN4-104-1 and is the answer not in the manual?
Questions and answers