Installation and Configuration Guide
Trademark Notices Comtrol, NS-Link, and DeviceMaster are trademarks of Comtrol Corporation. Microsoft and Windows are registered trademarks of Microsoft Corporation. HyperTerminal is a registered trademark of Hilgraeve, Inc. Portions of SocketServer are copyrighted by GoAhead Software, Inc. Copyright © 2001. GoAhead Software, Inc. All Rights Reserved. Other product names mentioned herein may be trademarks and/or registered trademarks of their respective owners.
Table of Contents Introduction ........................................................................................................................................................ 7 Installation and Configuration Overview .............................................................................................................................. 7 NS-Link COM Port Driver Installation........................................................................................................................
Table of Contents Initial Configuration.......................................................................................................................................33 PortVision Plus Requirements ................................................................................................................................................33 Installing PortVision Plus ...................................................................................................................................
Table of Contents DeviceMaster 1E (Serial Terminals) Cables and Loopbacks.........................................................................................63 Serial Terminal (4) Null-Modem Cables (RS-232)......................................................................................................................... 63 Serial Terminal (4) Null-Modem Cables (RS-422).........................................................................................................................
Table of Contents DeviceMaster Product Pictures ..............................................................................................................................................90 1-Port (DB9) 5VDC ...................................................................................................................................................................................... 90 1-Port (DB9) 5-30VDC .............................................................................................
Introduction This section provides an installation and configuration overview for the DeviceMaster platform: • DeviceMaster PRO • DeviceMaster RTS • DeviceMaster Serial Hub In addition, it provides links to download the latest files for the DeviceMaster installation. Optionally, you can use the Software and Documentation CD to install the DeviceMaster. Installation and Configuration Overview There are four basic installations depending on your requirements.
Step 5: Configure NS-Link Port Properties Page Step 5: Configure NSLink Port Properties Page Configuring the NS-Link Driver for Windows on Page 43 provides and overview of COM port configuration and Configuring COM Port Properties for Windows on Page 44 provides DeviceMaster device configuration information. Step 6: Configure Socket Ports Optionally, you may need to configure one or more ports for socket mode.
NS-Link tty Port Installation Overview NS-Link tty Port Installation Overview Use the following steps, which are discussed in detail in the subsequent sections, to install and configure the DeviceMaster to run the NS-Link device driver for Linux operating systems.
Step 4: Update SocketServer Step 4: Update SocketServer If necessary, update SocketServer. You can use Checking the SocketServer Version on Page 36 and then refer to Locating Software and Documentation on Page 10 to locate the latest version on the web site. See Uploading SocketServer on Page 37 if you need to update SocketServer.
Developer’s Kit Installation Document (this guide) DeviceMaster Installation and Configuration Guide Port Testing and Monitoring Applications Windows 2000 (32-bit) Windows XP (32/64-bit) Windows Server 2003 (32/64-bit) Windows Vista (32-bit) Comtrol Utilities (Test Terminal and Port Monitor)† Linux (32-bit) LCOM † Test Terminal and Port Monitor are included in PortVision Plus.
Developer’s Kit 12 - Introduction DeviceMaster Installation and Configuration Guide: 2000506 Rev.
Hardware Installation Installation Overview The DeviceMaster enables communications with serial devices over an Ethernet network. The DeviceMaster provides for remote management, configuration, and connectivity through its 10/100BASE–T Ethernet connection. Use the links below to locate installation procedures for the following models: DeviceMaster PRO Default Network Settings IP address: 192.168.250.250 Subnet mask: 255.255.0.0 Gateway address: 192.168.250.
1-Port - Enclosed Models 1-Port - Enclosed Models Use the following procedure to install the DeviceMaster 1-Port. 1. Record the MAC address and serial number of the DeviceMaster on the customer service label provided. You may need the MAC address during driver configuration. The MAC address (starts with 00 C0 4E) and serial number are located on a label on the DeviceMaster. Note: Do not connect multiple units until you have changed the default IP address, see Initial Configuration on Page 33. 2.
1-Port - Enclosed Models 5-30VDC with Screw Terminal Power Connector Use the following procedure power on this model. Observe proper ESD techniques when connecting and disconnecting the DeviceMaster. Caution • Insert the earth ground wire into the earth ground screw terminal. • Insert the DC positive wire into the positive screw terminal and the DC return wire into Screw Terminal Power Connector Return the return screw terminal.
1-Port - Embedded Model 1-Port - Embedded Model Installing the DeviceMaster 1-Port Embedded system follows these basic steps: • Building the serial ribbon cable (below). • Mounting the Embedded on Page 17 and installing light pipes. • Attaching the Network and Serial Cables on Page 18. • Connecting the Power and Verifying Installation on Page 18. Observe proper ESD techniques when handling the DeviceMaster.
Mounting the Embedded Mounting the Embedded Use the following procedure to mount the DeviceMaster 1-Port Embedded with the 530VDC power supply. Observe proper ESD techniques when handling the DeviceMaster. 1. Caution Carefully remove the DeviceMaster from the anti-static bag, following standard electrostatic device handling procedures. Note: Write down the MAC address located on a label on the bottom (solder side) center of the DeviceMaster because you may need it during configuration. 2.
Attaching the Network and Serial Cables After mounting the DeviceMaster, you are ready to connect the cables. Attaching the Network and Serial Cables Use the following procedure to attach the serial ribbon and Ethernet cables. For a larger illustration of the system, see 1-Port Embedded on Page 92. 1. Attach the ribbon cable built in Building the Serial Ribbon Cable on Page 16 to the header labeled J3. 1 Ethernet 10/100 Connector 2 J3 9 2.
Connecting the Power and Verifying Installation 5. Plug the screw terminal power connector into the DeviceMaster. 6. Connect the power supply to a power source. 7. Plug the screw terminal power connector into JP1 on the DeviceMaster by aligning the scalloped sides. Note: Align the plug properly. The scalloped side of the screw terminal power connector should be aligned with the scalloped side of the power jack on the unit. LEDs JP1 8. Apply power to the DeviceMaster. 9.
2-Port (Serial Terminal) 1E/2E Models 2-Port (Serial Terminal) 1E/2E Models Use the following procedure to install DeviceMaster 2-port models with serial terminal connectors. See 2-Port (DB9) 1E/2E Models on Page 22 if the DeviceMaster has DB9 serial connectors. 1. Record the MAC address and serial number of the DeviceMaster unit on the customer service label provided. You may need the MAC address during driver configuration.
2-Port (Serial Terminal) 1E/2E Models Do not connect RS-422/485 devices until the appropriate port interface type has been configured. The default port setting is RS-232. Caution 5. Verify that the Status LED has completed the boot cycle and network connection for the DeviceMaster is functioning properly using the following table. 2-Port LED Descriptions The STATUS LED on the device is lit, indicating you have power and it has completed the boot cycle.
2-Port (DB9) 1E/2E Models 2-Port (DB9) 1E/2E Models Use the following procedure to install DeviceMaster 2-port models with DB9 connectors. 1. Record the MAC address and serial number of the DeviceMaster unit on the customer service label provided. You may need the MAC address during driver configuration. The MAC address (starts with 00 C0 4E) and serial number are located on a label on the DeviceMaster. 2. Attach the DeviceMaster 2-Port to the DIN rail adapter. 3.
2-Port (DB9) 1E/2E Models 4. Use the appropriate method for network attachment of your DeviceMaster 2-port: DeviceMaster 1E: Connect the 10/100 port to the same Ethernet network segment as the host PC using a standard network cable. DeviceMaster 2E: Connect the DeviceMaster 2E using one of these methods: • Ethernet hub, switch (10/100Base-T), Server NIC (10/100Base-T): Connect a 10/100 port to the same Ethernet network segment as the host PC using a standard Ethernet cable.
4-Port and 8-Port Models 4-Port and 8-Port Models Use the following procedure to install the DeviceMaster 4-port or 8-port. 1. Record the MAC address and serial number of the DeviceMaster unit on the customer service label provided. You may need the MAC address during driver configuration. The MAC address (starts with 00 C0 4E) and serial number are located on a label on the DeviceMaster.
4-Port and 8-Port Models 5. Verify that the PWR LED has completed the boot cycle and network connection for the DeviceMaster is functioning properly using the table below. 4-Port and 8-Port LED Descriptions LED on the front panel of the DeviceMaster is lit, indicating you have power and it has completed the boot cycle. PWR Note: The PWR LED flashes while booting and it takes approximately 15 seconds for the Bootloader to complete the cycle.
16-Port (DeviceMaster RTS - External Power Supply) 16-Port (DeviceMaster RTS - External Power Supply) Use the following procedure to install the DeviceMaster RTS 16-port with an external power supply. 1. Record the MAC address and serial number of the DeviceMaster unit on the customer service label provided. You may need the MAC address during driver configuration. The serial number and MAC address (starts with 00 C0 4E) are located on a label on the DeviceMaster.
16-Port (DeviceMaster RTS - External Power Supply) 5. Verify that the PWR LED has completed the boot cycle and network connection for the DeviceMaster RTS is functioning properly using the table below. DeviceMaster RTS 16-Port (External Power Supply) LED Descriptions Red LED on the front panel of the DeviceMaster is lit, indicating you have power and it has completed the boot cycle.
16-Port (DeviceMaster PRO) 16-Port (DeviceMaster PRO) Use the following procedure to install the DeviceMaster PRO 16-port with an external power supply. 1. Record the MAC address and serial number of the DeviceMaster unit on the customer service label provided. You may need the MAC address during driver configuration. The serial number and MAC address are located on a label on the device. The MAC address starts with 00 C0 4E. 2.
16-Port (DeviceMaster PRO) 6. Verify that the PWR LED has completed the boot cycle and network connection for the DeviceMaster is functioning properly using the table below. DeviceMaster PRO 16-Port LED Description Red LED (Front panel) Red LED on the front panel of the DeviceMaster PRO is lit, indicating you have power and it has completed the boot cycle. Note: The LED flashes while booting and it takes approximately 15 seconds for the Bootloader to complete the cycle.
16/32-Port Rack Mount Models (Internal Power Supply) 16/32-Port Rack Mount Models (Internal Power Supply) Use the following procedure to install the DeviceMaster 16-port or 32-port with an internal power supply. 1. Record the MAC address and serial number of the DeviceMaster unit on the customer service label provided. You may need the MAC address during driver configuration. The serial number and MAC address (starts with 00 C0 4E) are located on a label on the DeviceMaster.
16/32-Port Rack Mount Models (Internal Power Supply) 3. Connect the DeviceMaster port labeled 10/100 NETWORK to the same Ethernet network segment as the host PC using a standard network cable. DeviceMaster RTS Larger picture, Page 94 Larger picture, Page 94 DeviceMaster Serial Hub Larger picture, Page 94 Caution If you plan on using the NS-Link device driver, make sure that you do not connect RS-422/485 devices until the appropriate port interface type has been configured in the driver.
16/32-Port Rack Mount Models (Internal Power Supply) 32 - Hardware Installation DeviceMaster Installation and Configuration Guide: 2000506 Rev.
Initial Configuration There are several ways to configure network information. Comtrol Technical Support recommends connecting the DeviceMaster to a PC or laptop running Windows® and installing PortVision Plus for initial configuration.
Configuring the Network Settings Serial Hub and DeviceMaster UP. 4. Go to Step 4 in the next section, Configuring the Network Settings, to program the DeviceMaster network settings. If you need additional information about PortVision Plus, refer to the Help system. Configuring the Network Settings Default Network Settings IP address: 192.168.250.250 Subnet mask: 255.255.0.0 Gateway address: 192.168.250.
Configuring the Network Settings 5. 6. Optionally, rename the DeviceMaster in the Device Name field. Change the DeviceMaster network properties as required for your site. • If you want to run the DeviceMaster using the MAC addressing scheme, click Disable IP. • To use the DeviceMaster with DHCP, click DHCP IP, and make sure that you provide the MAC address of the device to the network administrator.
Checking the SocketServer Version Checking the SocketServer Version SocketServer refers to the web page that is integrated in the firmware that comes preinstalled on your DeviceMaster platform, which provides an interface to TCP/IP socket mode configuration and services. Comtrol recommends verifying that your DeviceMaster contains the latest SocketServer version before setting up the secure COM port redirector or configuring socket ports to avoid installation problems.
Uploading SocketServer Uploading SocketServer Use this section to upload a new version of SocketServer on the DeviceMaster using PortVision Plus. Technical Support recommends updating SocketServer before setting up the secure COM ports redirector or to configure the sockets using the SocketServer web page to avoid configuration problems. Note: This section contains SocketServer update information for installations that are NOT running an NS-Link driver.
Uploading SocketServer 38 - Initial Configuration DeviceMaster Installation and Configuration Guide: 2000506 Rev.
Device Driver Installation Before installing the NS-Link device driver, the following conditions must be met: • The DeviceMaster is connected to the network and powered on (Hardware Installation on Page 13) • The network information has been configured in the DeviceMaster (Configuring the Network Settings on Page 34) • If this is the initial device driver installation, verify that the DeviceMaster contains the latest version of SocketServer (Checking the SocketServer Version on Page 36) After NS-Link
Windows Vista: NS-Link Installation 3. Windows Vista: NSLink Installation Go to the appropriate procedure to install the driver. The device driver for Windows installation follows these steps for each DeviceMaster. If you have multiple DeviceMasters, you must repeat this process for each DeviceMaster.
Windows XP and Windows Server 2003: NS-Link Installation Windows XP and Windows Server 2003: NS-Link Installation After locating the latest driver (Page 39) and extracting the files, use this procedure to install and configure the NS-Link device driver for your DeviceMaster. 1. From the Start button, click Control Panel and then double-click Add Hardware. 2. Click Next when the Add Hardware Wizard starts. 3. Click Yes, I have already connected the hardware and then Next. 4.
Windows 2000: NS-Link Installation Windows 2000: NSLink Installation After locating the latest driver (Page 39) and extracting the files, use this procedure to install and configure the NS-Link device driver for your DeviceMaster. 1. Click Start, Settings, and Control Panel, and then double-click Add/Remove Hardware. 2. Click Next. 3. Click Add/Troubleshoot a device and then Next. 4. Highlight Add a new device and click Next. 5. Click No, I want to select the hardware from a list and then Next.
Configuring the NS-Link Driver for Windows Configuring the NS-Link Driver for Windows The DeviceMaster must be connected to the local network segment or directly to a NIC on the host system to operate in MAC mode to perform the following procedure. 1. Access the Properties page for the DeviceMaster. a. Right-click My Computer or Computer, click Manage, and then highlight Device Manager. b.
Configuring COM Port Properties for Windows Configuring COM Port Properties for Windows The following is a COM port properties configuration overview. Use the NS-Link User Guide for Windows (also available on the CD) or the NS-Link Help system for detailed configuration information. 1. 44 - Device Driver Installation Access the Properties page for the DeviceMaster. a. Right-click My Computer or Computer, click Manage, and then highlight Device Manager. b.
Secure COM Port Set Up Before configuring security and installing the secure COM port redirector, the following conditions must be met: • The DeviceMaster is connected to the network and powered on (Hardware Installation on Page 13) • The network information has been configured in the DeviceMaster (Configuring the Network Settings on Page 34) • If this is the initial device driver installation, verify that the DeviceMaster contains the latest version of SocketServer (Checking the SocketServer Version
Configuring Serial Ports and Enabling Security want to configure the secure COM port redirector. 7. Click Save. 8. Click Ok at the Configuration Updated page. 9. Click Configure Security. 10. Click Enable Secure Data Mode so that TCP connections that carry data to/from the serial ports are encrypted using SSL or TLS security protocols.
Installing the Secure COM Port Redirector If a CA certificate is uploaded, the DeviceMaster only allows SSL/TLS connections from client applications that provide to the DeviceMaster an identity certificate that has been signed by the CA certificate that was uploaded to the DeviceMaster. This uploaded CA certificate that is used to validate a client's identity is sometimes referred to as a “trusted root certificate”, a “trusted authority certificate”, or a “trusted CA certificate”.
Configuring Secure Redirector COM Ports Configuring Secure Redirector COM Ports Use the following procedures to: • Add a DeviceMaster port • Configure the port for the secure port redirector If necessary, refer to the secure port redirector help system for more information. Adding a Secure Port Use the following procedure to add a secure port or ports. Note: You must have enabled the security feature in SocketServer and have the IP address and TCP port numbers to perform the following procedure.
Socket Port Configuration This section discusses the following topics: • SocketServer Overview • SocketServer Versions on Page 52 • Accessing Socket Configuration on Page 51 SocketServer Overview SocketServer is the name of the TCP/IP socket web page that is integrated in the firmware that comes pre-installed on your DeviceMaster.
SocketServer Architecture SocketServer Architecture TCP/IP socket mode operation is used to connect serial devices with an application that supports TCP/IP socket communications addressing. DeviceMaster PC or Mainframe IP socket application Ethernet Hub LAN/WAN Ethernet Hub Serial Device TCP/IP Socket Mode Serial tunneling mode is used to establish a socket connection between two DeviceMasters through an ethernet network.
Accessing Socket Configuration Accessing Socket Configuration There are several ways to access the socket configuration pages (SocketServer or NSLink). Use the method that fits your environment best. Web Browser • Web Browser • PortVision Plus To access the socket configuration page for the DeviceMaster using a web browser, follow this procedure. 1. Start your web browser. 2. Enter the IP address of the DeviceMaster in the URL field.
SocketServer Versions SocketServer Versions The SocketServer Overview discusses the that the default SocketServer web page is the same as the NS-Link web page. If the NS-Link driver is not running (not installed or disabled), the default SocketServer loads when you open a web browser session. Your SocketServer or NS-Link version may be different than these examples. 52 - Socket Port Configuration DeviceMaster Installation and Configuration Guide: 2000506 Rev.
Connecting Serial Devices This section discusses connecting your serial devices to the DeviceMaster. In addition, it provides you with information to build serial or test cables and loopback connectors to test the serial ports. Note: Go to Building the Serial Ribbon Cable on Page 16 for connector information for the DeviceMaster 1-Port Embedded adapter. Connecting Devices Use the appropriate procedure to connect asynchronous serial devices to the DeviceMaster ports.
DeviceMaster 1/4/8/16/32-Port Models 1-Port (Standard) LEDs The amber Status LED on the device is lit, indicating you have power and it has completed the boot cycle. Status Note: The Status LED flashes while booting and it takes approximately 15 seconds for the Bootloader to complete the cycle. When the Bootloader completes the cycle, the LED has a solid, steady light that blinks approximately every 10 seconds. Link Act If the red Link Act LED is lit, it indicates a working Ethernet connection.
DeviceMaster 1/4/8/16/32-Port Models LEDs - DeviceMaster Serial Hub 16-Port with DB9 Connectors LINK ACT If the LINK ACT LED (UP or DOWN) is lit, it indicates a working Ethernet connection. 100 When lit, the red 100 (D4) LED indicates a working 100 MB Ethernet connection (100 MB network, only). If the LED is not lit, it indicates a 10 MB Ethernet connection. Duplex If the red Duplex LED is lit, it indicates full-duplex activity.
DeviceMaster 2-Port with Serial Terminals DeviceMaster 2-Port with Serial Terminals Use the following information to connect the DeviceMaster UP 2-port. 1. Connect your serial devices to the appropriate serial port on the DeviceMaster UP using the appropriate cable.
Serial Terminal (8) Signals (2E) RS-232† TxD RTS RxD CTS RS-422/RS-485 Full-Duplex TxD- TxD+ RxD- RxD+ RS-485 Half-Duplex TRxD- TRxD+ † RS-232 ground must be connected to the appropriate signal ground terminal. Serial Terminal (8) Signals (2E) Use the following drawings or table for signal information. The signals for SERIAL2 are the same as SERIAL1.
DeviceMaster 2-Port (1E/2E) DB9 Connectors DeviceMaster 2-Port (1E/2E) DB9 Connectors Use the following information to connect the DeviceMaster UP 2-port. 1. Connect your serial devices to the appropriate serial port on the DeviceMaster UP using the appropriate cable. Use the following table and the appropiate discussion to build cables or loopback plugs.
DB9 Serial Cables and Loopback Plugs DB9 Serial Cables and Loopback Plugs You can build your own null-modem or straight-through DB9 serial cables for 1-port and 4/8-port models using the following subsections. Note: See DeviceMaster 2-Port with Serial Terminals on Page 56 for 2-port models with DB9 connectors..
DB9 Null-Modem Cables (RS-232) Wire the following pins together for an RS-422 loopback plug: • Pins 2 to 3 • Pins 7 to 8 Pin 1 Pin 6 Pin 9 RS-422 Only (Back View) Use the following figure if you need to build an RS-232 null-modem cable. A null-modem cable is required for connecting DTE devices.
RJ45 Serial Cables and Loopback Plugs RJ45 Serial Cables and Loopback Plugs You can build your own null-modem or straight-through RJ45 serial cables using the following subsections. Pin RS-232 RS-422 RS-485 1 RTS TxD+ TRxD+ 2 DTR Not used Not used 3 Signal GND Not used† Not used† 4 TxD TxD- TRxD- 5 RxD RxD- Not used 6 DCD Not used Not used 7 DSR Not used Not used 8 CTS RxD+ Not used † Pin 3 is tied to ground on the board, but is not used in the cable.
RJ45 Null-Modem Cables (RS-422) Use the following figure if you need to build an RS-422 null-modem RJ45 cable. A nullmodem cable is required for connecting DTE devices. DeviceMaster Female RJ45 Null-Modem Cables (RS-422) Signal TxD+ TxDRxD+ RxD- RJ45 Pins 1 4 8 5 Signal RxD+ RxDTxD+ TxD- Note: RS-422 pinouts are not standardized. Each peripheral manufacturer uses different pinouts. Please refer to the documentation for the peripheral to determine the pinouts for the signals above.
DeviceMaster 1E (Serial Terminals) Cables and Loopbacks DeviceMaster 1E (Serial Terminals) Cables and Loopbacks Use the appropriate discussion to build the following cables: Serial Terminal (4) Null-Modem Cables (RS-232) Serial Terminal (4) Null-Modem Cables (RS-422) • Serial Terminal (4) Null-Modem Cables (RS-232) on Page 63 • Serial Terminal (4) Null-Modem Cables (RS-422) on Page 63 • Serial Terminal (4) Straight-Through Cables (RS-232/485) on Page 64 • 1E Loopback Signals on Page 64 An RS-232
Serial Terminal (4) Straight-Through Cables (RS-232/485) Serial Terminal (4) Straight-Through Cables (RS-232/485) RS-232 or RS-485 straight-through cables are used to connect modems and other DCE devices. RS-232/422 Straight-Through Cable TxD RTS TxD or TRxD3 DB9 DB25 1E Loopback Signals 2 RxD CTS RTS RxD or TRxD+ 7 2 CTS 4 3 8 5 Use this drawing to wire a loopback, which is used in conjunction with application software (Test Terminal or minicom) to test serial ports.
DeviceMaster 2E (Serial Terminals) Cables and Loopbacks DeviceMaster 2E (Serial Terminals) Cables and Loopbacks Use the appropriate discussion to build the following cables: Serial Terminal (8) Null-Modem Cables (RS-232) • Serial Terminal (8) Null-Modem Cables (RS-232) on Page 65 • Serial Terminal (8) Null-Modem Cables (RS-422) on Page 65 • Serial Terminal (8) Straight-Through Cables (RS-232/485) on Page 66 • 2E Loopback Signals on Page 66 An RS-232 null-modem cable is required for connecting DTE
Serial Terminal (8) Straight-Through Cables (RS-232/485) Serial Terminal (8) Straight-Through Cables (RS-232/485) RS-232 or RS-485 straight-through cables are used to connect modems and other DCE devices.
Managing the DeviceMaster This section discusses the following DeviceMaster maintenance procedures: • Rebooting the DeviceMaster • Uploading SocketServer to Multiple DeviceMasters on Page 68 • Configuring Multiple DeviceMasters Network Addresses on Page 68 • Using Configuration Files on Page 69 • Managing Bootloader on Page 70, which also discusses checking the Bootloader version and downloading the latest Bootloader • Adding a DeviceMaster to an Existing Installation on Page 72 • Replacing a
Uploading SocketServer to Multiple DeviceMasters Uploading SocketServer to Multiple DeviceMasters If the Windows NS-Link driver has been installed, make sure that the driver is disabled through the Device Manager before uploading SocketServer. 1. If you have not done so, install PortVision Plus (Installing PortVision Plus on Page 33) and Scan the network. 2. Shift-click the multiple DeviceMasters on the Main screen that you want to update and use one of the following methods: 3.
Using Configuration Files Using Configuration Files If you are deploying multiple DeviceMaster units that share common values, you can save the configuration file (.dmc) from the Main or Configure Device screens in PortVision Plus and load that configuration onto other DeviceMaster units. If you save a configuration file from the Main or Configure Device screen, you can choose what properties you want saved. Use this procedure to save a configuration file using the Main screen. 1.
Managing Bootloader Managing Bootloader Bootloader refers to the operating system that runs on the DeviceMaster hardware during the power on phase, which then loads SocketServer. Note: Typically, you should not update the Bootloader unless advised to do so by Comtrol Technical Support. There are several methods and tools that you can use to check the Bootloader version or update the Bootloader.
Uploading Bootloader 3. Right-click the DeviceMaster for which you want to update, click Upload Firmware, browse to the Bootloader .bin file, and then click Open. 4. Click Yes to the Upload Firmware message that warns you that this is a sensitive process. 5. Click Ok to the second Upload Firmware message and then click Refresh until the Bootloader version displays in the List View pane, which should show the new version. DeviceMaster Installation and Configuration Guide: 2000506 Rev.
Adding a DeviceMaster to an Existing Installation Adding a DeviceMaster to an Existing Installation Use this procedure to add another DeviceMaster to an existing configuration. 1. Install the DeviceMaster to an Ethernet hub or server NIC. If necessary, see Hardware Installation on Page 13. Note: Technical support recommends installing and testing one DeviceMaster at a time when installing multiple DeviceMasters.
Restoring Factory Defaults (2-Port, Only) Restoring Factory Defaults (2-Port, Only) Use the following procedures to restore the DeviceMaster to the factory defaults. If Technical Support advises you to restore the DeviceMaster factory defaults, depress the Reset/Restore switch for greater than 5 seconds.
Socket Port 74 - Managing the DeviceMaster DeviceMaster Installation and Configuration Guide: 2000506 Rev.
RedBoot Procedures Use this section as a reference if you want to perform tasks in Redboot. Typically, most of these procedures can be performed using PortVision Plus. Overview You can use a serial connection between Port 1 on the DeviceMaster and a COM port on a PC. If you plan on using the serial method, you will need a null modem cable and a terminal program installed and configured on the PC.
Establishing a Telnet Connection 7. Establishing a Telnet Connection Go to the appropriate task: • Determining the Network Settings on Page 77 • Configuring the Network Settings on Page 77 • Determining the Bootloader Version on Page 78 • Resetting the DeviceMaster on Page 78 • Uploading Firmware on Page 79 • Configuring Passwords on Page 82 • Redboot Command Overview on Page 83. Use the following procedure to telnet to the DeviceMaster. 1.
Determining the Network Settings Determining the Network Settings If you are not sure what the network information is on a DeviceMaster, you can perform the following procedure. Default Network Settings IP address: 192.168.250.250 1. Establish communications with the DeviceMaster using the serial (Page 75) method. 2. At the RedBoot prompt, type ip. RedBoot>dis Loading disabled RedBoot> ip IP Config: IpAddr 192.168.250.250 IpMask 255.255.0.0 IpGate 192.168.250.1 RedBoot> Subnet mask: 255.255.0.
Determining the Bootloader Version Determining the Bootloader Version Use the following procedure to determine what Bootloader version is loaded in the DeviceMaster. 1. Establish communications with the DeviceMaster using the serial (Page 75) or telnet (Page 76) method. 2. At the RedBoot prompt, type version. RedBoot> version ********************************************* ** ** Comtrol DeviceMaster Bootloader Version 3.
Uploading Firmware Uploading Firmware Use the appropriate procedure for your environment: • Serial Method on Page 79 • Telnet Method on Page 80 Note: Optionally, you can install PortVision Plus on a Windows system on the network and upload firmware. PortVision Plus is the recommended method for uploading firmware. Serial Method The procedure for updating the Bootloader and SocketServer are the same, but the .bin files are unique. 1. Verify that you have the .
Telnet Method e. Click Send. 10. When the RedBoot> prompt appears (after approximately one minute for the Bootloader and approximately three minutes for SocketServer), type go. CCCCCCRaw load done: 542721 bytes read Address range: 00000000-00084800, Entry point: 00000000, xyzModem - CRC mode, 4241(SOH)/0(STX)/0(CAN) packets, 8 tries RedBoot> go ... Erase from 0x05030000-0x050c0000: ......... ... Program from 0x00000000-0x00084801 at 0x05060000: ... ... Erase from 0x050f0000-0x05400000: . ...
Telnet Method 3. Open a new telnet session and enter the DeviceMaster IP address. $ telnet 192.168.250.250 Trying 192.168.250.250... Connected to 192.168.250.250. Escape character is ‘^]’. 4. Default IP Address Enter the webserver password. Note: Press the Enter key if you have not programmed a password. Password: ********************************************* ** ** Comtrol DeviceMaster Bootloader Version 3.
Configuring Passwords If uploading SocketServer: a. At the RedBoot> prompt, type: fis list and press Enter. RedBoot> fis list Name FLASH addr Mem addr Length Entry point FIS_directory 0x053F0000 0x053F0000 0x00010000 0x00000000 default 0x05030000 0x00000000 0x00090000 0x00000000 RedBoot> Note: You should see file information for a file called default. If you do not see this file, repeat the process starting with Step 7. b. Reset the DeviceMaster by typing reset at the RedBoot> prompt.
Redboot Command Overview Redboot Command Overview The following table is an overview of Redboot commands available. You can access the list of commands online by entering help and pressing the Enter key. For more detailed information, see the eCos Reference Manual that is located on the Comtrol product CD or download it from the web. RedBoot Commands Sets or displays web authentication. The default is set to none, which means that there is no authentication required to access the web server.
Redboot Command Overview 84 - RedBoot Procedures DeviceMaster Installation and Configuration Guide: 2000506 Rev.
Hardware Specifications The following subsections contain specifications and safety notices for the DeviceMaster family. RoHS compliant products conform to EU Directive 2002/95/EC. These products do not contain any restricted substances (lead, cadmium, hexavalent chromium, mercury, PBB, and PBDE) except as specifically provided in the Directive. Locating DeviceMaster Specifications Specifications can be found on the Comtrol web site at: • DeviceMaster AIR: http://www.comtrol.
Serial Communications Serial Communications NS-Link control: Data bits Parity Stop bits Flow control 7 or 8 Odd, even, none 1 or 2 Hardware or software Network default values: IP address Subnet mask Gateway 192.168.250.250 255.255.0.0 192.168.250.
External Power Supply Specifications External Power Supply Specifications This subsection discusses information that you may need if you wish to use your own external power supplies.
2-Port (Serial Terminals) Power Supply 2-Port (Serial Terminals) Power Supply This table provides the specifications to purchase a power supply for a DeviceMaster 2port 1E/2E model with serial terminal connectors.. External Power Supply: 2-Port (Serial Terminal Conectors) 5-30VDC Output voltage† Current† Power 5-30VDC 100 mA (Min) @ 24VDC 2.5 W † Any power supply that meets current consumption, voltage, power, and connector pinouts requirements can be used.
16-Port Power Supplies The following table provides the specifications, if you intend on purchasing your own power supply. External Power Supply: 8-Port Output voltage† Current† Power 9-30VDC 290 mA (Min) @ 24VDC 6.96 W † Any power supply that meets current consumption, voltage, power, and connector pinouts requirements can be used. 16-Port Power Supplies The following table provides the specifications for the Comtrol-supplied power supply for the DeviceMaster 16-port models.
DeviceMaster Product Pictures DeviceMaster Product Pictures This subsections provides you with detailed pictures of the different DeviceMaster models: • 1-Port (DB9) 5VDC on Page 90 • 1-Port (DB9) 5-30VDC on Page 91 • 1-Port Embedded on Page 92 • 2-Port (Serial Terminals) Power Supply on Page 88 • 4-Port (DB9) on Page 93 • 8-Port (DB9) on Page 93 • 16-Port (RJ45) External Power Supply on Page 94 • DeviceMaster Serial Hub 16-Port (DB9) on Page 94 • 16-Port (RJ45) Internal Power Supply on Pa
1-Port (DB9) 5-30VDC 1-Port (DB9) 5-30VDC This illustrates the DeviceMaster 1-Port 5-30VDC. Note: The supported input voltage (5VDC or 5-30VDC) is printed on the top and bottom of the DeviceMaster. DeviceMaster Installation and Configuration Guide: 2000506 Rev.
1-Port Embedded 1-Port Embedded This illustrates the DeviceMaster 1-port Embedded system that uses a 5-30VDC power supply. See 1-Port 5-30VDC Power Supply on Page 87 so that you can provide a power supply for the DeviceMaster. 2-Port (Single Ethernet Port) with Serial Terminals The DeviceMaster 2-port 1E with serial terminals uses a 5-30VDC power supply. See 2Port (Serial Terminals) Power Supply on Page 88 for information about the power supply.
2-Port (Single Ethernet Port) DB9 2-Port (Single Ethernet Port) DB9 The DeviceMaster 2-port 1E DB9 uses a 5-30VDC power supply. See 2-Port (Serial Terminals) Power Supply on Page 88 for information about the power supply. 2-Port (Dual Ethernet Ports) DB9 The DeviceMaster 2-port 2E DB9 uses a 5-30VDC power supply. See 2-Port (Serial Terminals) Power Supply on Page 88 for information about the power supply. 4-Port (DB9) The PWR LED for the DeviceMaster 4 with DB9 ports is on the other side of the unit.
16-Port (RJ45) External Power Supply 16-Port (RJ45) External Power Supply The PWR LED for this model is on the other side of the unit. 16-Port (RJ45) Internal Power Supply The power switch for this model is on the other side of the unit. DeviceMaster PRO 16Port (RJ45) The power connector for this model is on the other side of the unit. NEW GRAPHIC NEEDED DeviceMaster Serial Hub 16-Port (DB9) The power switch for this model is on the other side of the unit.
Notices Notices Radio Frequency Interference (RFI) (FCC 15.105) Labeling Requirements (FCC 15.19) This equipment has been tested and found to comply with the limits for Class A digital devices pursuant to Part 15 of the FCC Rules. This equipment generates, uses, and can radiate radio frequency energy, and if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications.
Important Safety Information 96 - Hardware Specifications DeviceMaster Installation and Configuration Guide: 2000506 Rev.
Troubleshooting and Technical Support This section contains troubleshooting information for your DeviceMaster. You should review the following subsections before calling Technical Support because they will request that you perform many of the procedures or verifications before they will be able to help you diagnose a problem.
Troubleshooting Checklist PWR or Status LED Description 5 quick flashes The default application is starting up. 10 sec. on, .1 sec. off, 10 sec. on .1 sec. off ... The default application is running. • If the device has a power switch, turn the device’s power switch off and on, while watching the LED diagnostics. • If the DeviceMaster does not have a power switch, disconnect and reconnect the power cord. • Verify that the hardware MAC address in NS-Link matches the address on the DeviceMaster.
General Troubleshooting General Troubleshooting This table illustrates some general troubleshooting tips. Note: Make sure that you have reviewed the Troubleshooting Checklist on Page 97. General Condition Explanation/Action Indicates that boot program has not downloaded to the DeviceMaster. PWR or Status LED flashing 1. Make sure that you have downloaded the most current driver from: http://www.comtrol.com/support/ download.asp?partnumber=1800288. 2.
General Troubleshooting General Condition DeviceMaster continuously reboots when connected to some Ethernet switches Explanation/Action The problem is caused by a L2 bridging feature called Spanning Tree Algorithm (STA) in the Switch. This feature is enabled by default in some switches. This features causes time-out problems on certain L2 protocols, such as our MAC mode. Resolution: There will be no firmware fix for this problem. Only one of the following fixes is required for resolution. 1.
Daisy-Chaining DeviceMaster 2E/4/8/16-Port Units Daisy-Chaining DeviceMaster 2E/4/8/16-Port Units The DeviceMaster 2E/4/8/16-port models with external power supplies follow the IEEE specifications for standard Ethernet topologies. When using the UP and DOWN ports, the DeviceMaster 2E/4/8/16 is classified as a switch. When using the UP port only, it is a simple end node device.
Technical Support Technical Support If you are using an NS-Link driver for a Windows system, you should review the troubleshooting section in the NS-Link User Guide for Windows (Page 10) before contacting Technical Support. It contains troubleshooting procedures that you should perform before contacting Technical Support since they will request that you perform, some or all of the procedures before they will be able to help you diagnose your problem.
Index A add DeviceMaster to existing installation 72 address IP configuring 34 MAC format 43 agency notices 95 associating MAC address in NS-Link 43 B baud rate/port 85 boot cycle 16-port external power supply 27 internal power supply 31 PRO 29 1-port embedded 19 enclosed 15 2-port 56, 58 DB9 23 serial terminal 21 32-port 31 4-port 25 8-port 25 Bootloader downloading the latest 10 updating 70 version Redboot 78 building embedded serial ribbon cable 16 building cables see cables C cables embedded ribbo
Index devices how to connect 53 how to daisy-chain 16-port models (external power supply) 26 2-port 2E model DB9 23 serial terminal 20 4-port models 24 8-port models 24 hardware MAC address 43 help command Redboot 83 I installation 16-port 28 external power supply 26 internal power supply 30 disable loading 1-port disable DeviceMaster #!DM command 75 display Bootloader timeout 83 IP address 83 MAC address 83 model number 83 Redboot version 83 telnet 83 DOWN port 16-port 2-port Redboot 83 externa
Index loopback plugs DB9 59 RJ45 62 serial terminal (4) 64 serial terminal (8) 66 M MAC address associating in NS-Link 43 format 43 mac command 83 model command 83 N network configuration telnet 77 configuration with PortVision Plus 34 default values 86 how to connect to 13 protocols 86 network information how to determine RedBoot 77 NS-Link associating MAC address 43 data bits 86 installation Windows 2000 42 Windows Server 2003 41 Windows Vista 40 Windows XP 41 parity 86 SocketServer 52 stop bits 86 NS-Li
Index serial terminals (4) loopback plugs 64 null-modem cables 63 signals 56 straight-through cables 64 serial terminals (8) loopback plugs 66 null-modem cables 65 signals 57 straight-through cables 66 serial tunneling 50 set Bootloader timeout 83 IP address 83 password 83 telnet 83 signals serial terminals (4) 56 serial terminals (8) 57 SNMP support 86 SocketServer downloading latest 10 version 52 software downloading latest 10 software control specifications 86 specifications power supply 16-port 89 1-po