sois manual

449
Copyright Tibbo Technology 2000-2008 Tibbo Serial-over-IP Solutions: Hardware, Firmware, PC software

Upload: ramkishorec

Post on 22-Oct-2015

53 views

Category:

Documents


1 download

TRANSCRIPT

  • Copyright Tibbo Technology 2000-2008

    Tibbo Serial-over-IP Solutions:

    Hardware, Firmware, PC software

  • Tibbo Serial-over-IP Solutions ManualI

    2000-2008 Tibbo Technology Inc.

    Table of Contents

    Introduction 1

    Legal Information 1

    Hardware Manuals 3

    ................................................................................................................................... 3Modules

    ............................................................................................................................................................... 3EM100 Ethernet Module

    ............................................................................................................................................................ 4I/O Pin Assignment and Pin Functions

    .......................................................................................................................................................... 5Ethernet Port Lines

    .......................................................................................................................................................... 5Serial Port and General-Purpose I/O Lines

    .......................................................................................................................................................... 6LED Lines

    .......................................................................................................................................................... 7Power, Reset, and Mode Selection Lines

    ............................................................................................................................................................ 9Mechanical Dimensions

    ............................................................................................................................................................ 9Specifications and EM100 Modifications

    ............................................................................................................................................................... 10EM120 Ethernet Module

    ............................................................................................................................................................ 11I/O Pin Assignment and Pin Functions

    .......................................................................................................................................................... 11Ethernet Port Lines

    .......................................................................................................................................................... 12Serial Port and General-Purpose I/O Lines

    .......................................................................................................................................................... 13LED Lines

    .......................................................................................................................................................... 14Power, Reset, and Mode Selection Lines

    ............................................................................................................................................................ 15Mechanical Dimensions

    ............................................................................................................................................................ 15Specifications and EM120 Modifications

    ............................................................................................................................................................... 16EM200 Ethernet Module

    ............................................................................................................................................................ 17I/O Pin Assignment and Pin Functions

    .......................................................................................................................................................... 17Ethernet Port Lines

    .......................................................................................................................................................... 19Serial Port and General-Purpose I/O Lines

    .......................................................................................................................................................... 20LED Lines

    .......................................................................................................................................................... 21Power, Reset, and Mode Selection Lines

    ............................................................................................................................................................ 22Mechanical Dimensions

    ............................................................................................................................................................ 22Specifications and EM200 Modifications

    ............................................................................................................................................................... 23EM203A Ethernet-to-Serial Module

    ............................................................................................................................................................ 24I/O Pin Assignment and Pin Functions

    .......................................................................................................................................................... 25Serial Port and General-Purpose I/O Lines

    .......................................................................................................................................................... 27Ethernet Lines and Jack/Magnetics Data

    .......................................................................................................................................................... 28LED Lines

    .......................................................................................................................................................... 28Power, Reset, and Mode Selection Lines

    ............................................................................................................................................................ 30Onboard LEDs

    ............................................................................................................................................................ 30Thermal considerations

    ............................................................................................................................................................ 32Mechanical Dimensions

    ............................................................................................................................................................ 32Specifications and Ordering Info

    ............................................................................................................................................................... 34EM203 Ethernet-to-Serial Module

    ............................................................................................................................................................ 35I/O Pin Assignment and Pin Functions

    .......................................................................................................................................................... 36Serial Port and General-Purpose I/O Lines

    .......................................................................................................................................................... 38Ethernet Lines and Jack/Magnetics Data

    .......................................................................................................................................................... 39LED Lines

    .......................................................................................................................................................... 40Power, Reset, and Mode Selection Lines

    ............................................................................................................................................................ 41Onboard LEDs

    ............................................................................................................................................................ 42Thermal considerations

    ............................................................................................................................................................ 43Mechanical Dimensions

    ............................................................................................................................................................ 44Specifications and Ordering Info

    ............................................................................................................................................................... 45RJ203A Jack/Magnetics Module

    ............................................................................................................................................................ 46Interface Pads

    ............................................................................................................................................................ 46Interfacing the RJ203A to the DM9000A

  • IIContents

    2000-2008 Tibbo Technology Inc.

    ............................................................................................................................................................ 48Using the RJ203A With the EM203A Module

    ............................................................................................................................................................ 49Mechanical Dimensions: RJ203A

    ............................................................................................................................................................ 50Mechanical Dimensions: RJ203A+EM203A

    ............................................................................................................................................................ 51Specifications and Ordering Info

    ............................................................................................................................................................... 52RJ203 Jack/Magnetics Module

    ............................................................................................................................................................ 52Interface Pads

    ............................................................................................................................................................ 53Interfacing the RJ203 to the DM9000B

    ............................................................................................................................................................ 54Using the RJ203 With the EM203 Module

    ............................................................................................................................................................ 55Mechanical Dimensions: RJ203

    ............................................................................................................................................................ 56Mechanical Dimensions: RJ203+EM203

    ............................................................................................................................................................ 57Specifications and Ordering Info

    ................................................................................................................................... 57Boards

    ............................................................................................................................................................... 58EM100-EV Evaluation Board

    ............................................................................................................................................................ 58Power Jack

    ............................................................................................................................................................ 59Ethernet Port Pin Assignment

    ............................................................................................................................................................ 59RS232 Port Pin Assignment

    ............................................................................................................................................................... 60EM120/EM200-EV Evaluation Board

    ............................................................................................................................................................ 60Power Jack

    ............................................................................................................................................................ 61Ethernet Port Pin Assignment

    ............................................................................................................................................................ 61RS232 Port Pin Assignment

    ............................................................................................................................................................ 62Expansion Connector Pin Assignment

    ................................................................................................................................... 63Device Servers and Controllers

    ............................................................................................................................................................... 63DS100 Serial Device Server

    ............................................................................................................................................................ 64DS100 Connectors and Controls

    .......................................................................................................................................................... 64Power Jack

    .......................................................................................................................................................... 64Ethernet Port Pin Assignment

    .......................................................................................................................................................... 65Serial Port Pin Assignment and i/f Selection

    .......................................................................................................................................................... 66Status LEDs

    .......................................................................................................................................................... 66Setup Button

    ............................................................................................................................................................ 67Specifications and DS100 modifications

    ............................................................................................................................................................... 68DS203 Serial Device Server

    ............................................................................................................................................................ 69DS203 Connectors and Controls

    .......................................................................................................................................................... 69Power Jack

    .......................................................................................................................................................... 70Ethernet Port Pin Assignment

    .......................................................................................................................................................... 70RS232 Port Pin Assignment

    .......................................................................................................................................................... 71Status LEDs

    .......................................................................................................................................................... 71Setup Button

    ............................................................................................................................................................ 71Specifications and DS203 Modifications

    ................................................................................................................................... 72Kits and Accessories

    ............................................................................................................................................................... 74WAS-P0004(B) DS-to-Device Serial Cable

    ............................................................................................................................................................... 74WAS-1404 DS-to-Device Serial Cable

    ............................................................................................................................................................... 74WAS-P0005(B) DS-to-PC Serial Cable

    ............................................................................................................................................................... 75WAS-1455 DS-to-PC Serial Cable

    ............................................................................................................................................................... 75WAS-1499 'Straight' Ethernet Cable

    ............................................................................................................................................................... 75WAS-1498 'Crossover' Ethernet Cable

    ............................................................................................................................................................... 76TB100 Terminal Block Adaptor

    ............................................................................................................................................................... 7712VDC Power Adaptors

    ............................................................................................................................................................... 77DMK100 DIN Rail/ Wall Mounting Kit

    Firmware Manuals 80

    ................................................................................................................................... 80Monitor (for Serial Firmware Upgrades)

    ............................................................................................................................................................... 81Status LED Signals

    ............................................................................................................................................................... 82DS Startup Procedure

    ............................................................................................................................................................... 82Serial Upgrade Mode

    ................................................................................................................................... 83Device Server Application Firmware (V3.34/V3.66)

    ............................................................................................................................................................... 84Status LED Signals

  • Tibbo Serial-over-IP Solutions ManualIII

    2000-2008 Tibbo Technology Inc.

    ............................................................................................................................................................... 86Operation

    ............................................................................................................................................................ 87Ethernet Port and Network Communications

    .......................................................................................................................................................... 88UDP Data 'Connections'

    .......................................................................................................................................................... 89Broadcast UDP Communications

    .......................................................................................................................................................... 89TCP Data Connections

    .......................................................................................................................................................... 90DHCP

    .......................................................................................................................................................... 91PPPoE [V3.54+]

    .......................................................................................................................................................... 92Link Server Support

    .......................................................................................................................................................... 92DS Powerup Procedure

    .......................................................................................................................................................... 94Data Connection Establishment Procedure

    ............................................................................................................................................................ 96Serial Port and Serial Communications

    .......................................................................................................................................................... 97Opened and Closed States of the Serial Port

    ............................................................................................................................................................ 98Data Routing

    .......................................................................................................................................................... 98Serial-to-Ethernet Data Routing

    ............................................................................................................................................................... 100Programming

    ............................................................................................................................................................ 100Serial Programming

    ............................................................................................................................................................ 101Network Programming

    .......................................................................................................................................................... 102Out-of-Band (UDP) Programming

    .......................................................................................................................................................... 103Broadcast Out-of-Band (UDP) Programming

    .......................................................................................................................................................... 103Inband (TCP) Programming

    .......................................................................................................................................................... 104Command-Phase (TCP) Programming

    .......................................................................................................................................................... 105Telnet TCP Programming [V3.50 and Above]

    .......................................................................................................................................................... 106Authentication

    ............................................................................................................................................................ 107Programming Priorities

    ............................................................................................................................................................ 108Error Mode

    ............................................................................................................................................................ 109Quick Initialization

    ............................................................................................................................................................ 109Custom Profiles

    ............................................................................................................................................................... 109Reference

    ............................................................................................................................................................ 110Commands, messages, and replies

    .......................................................................................................................................................... 111Command & message description format

    .......................................................................................................................................................... 111Login (L) command

    .......................................................................................................................................................... 112Logout (O) command

    .......................................................................................................................................................... 113Reboot (E) command

    .......................................................................................................................................................... 114Initialize (I) command

    .......................................................................................................................................................... 115Set Setting (S) command

    .......................................................................................................................................................... 115Get Setting (G) command

    .......................................................................................................................................................... 116Parameter (P) command

    .......................................................................................................................................................... 117Echo (X) command

    .......................................................................................................................................................... 120Status (U) command

    .......................................................................................................................................................... 122Buzz (B) command

    .......................................................................................................................................................... 123Reset Overflow Flags (R) command

    .......................................................................................................................................................... 123Assign IP-address (A) command

    .......................................................................................................................................................... 124Select In Broadcast Mode (W) command

    .......................................................................................................................................................... 125Get Firmware Version (V) command

    .......................................................................................................................................................... 125Jump To Netloader (N) command [Release3.0]

    .......................................................................................................................................................... 126Set Programming Request Flag (N) command [Release 3.5]

    .......................................................................................................................................................... 127Reset Upload Process (Q) command [Release 3.5]

    .......................................................................................................................................................... 128Upload Data Block (D) command [Release 3.5]

    .......................................................................................................................................................... 129Cable Status (C) command

    .......................................................................................................................................................... 129Get My IP (T) command

    .......................................................................................................................................................... 129Notification (J) message

    ............................................................................................................................................................ 131Settings

    .......................................................................................................................................................... 131Setting description format

    .......................................................................................................................................................... 132Network Settings

    ....................................................................................................................................................... 133Owner Name (ON) setting

    ....................................................................................................................................................... 133Device Name (DN) setting

    ....................................................................................................................................................... 134MAC-address (FE) setting

    ....................................................................................................................................................... 135DHCP (DH) setting

    ....................................................................................................................................................... 135IP-address (IP) setting

  • IVContents

    2000-2008 Tibbo Technology Inc.

    ....................................................................................................................................................... 136Port Number (PN) setting

    ....................................................................................................................................................... 137dDNS Service Registration (DD) setting

    ....................................................................................................................................................... 138dDNS Service IP-address (LI) setting

    ....................................................................................................................................................... 138dDNS Service Port (LP) setting

    ....................................................................................................................................................... 139LS Auto-registration (AR) setting

    ....................................................................................................................................................... 140PPPoE Mode (PP) setting [V3.54+]

    ....................................................................................................................................................... 141PPPoE Login Name (PL) setting [V3.54+]

    ....................................................................................................................................................... 141PPPoE Login Password (PD) setting [V3.54+]

    ....................................................................................................................................................... 142Gateway IP-address (GI) setting

    ....................................................................................................................................................... 143Netmask (NM) setting

    ....................................................................................................................................................... 144Password (PW) setting

    .......................................................................................................................................................... 145Connection Settings

    ....................................................................................................................................................... 145Connection Timeout (CT) setting

    ....................................................................................................................................................... 146Transport Protocol (TP) setting

    ....................................................................................................................................................... 147Broadcast UDP (BU) setting

    ....................................................................................................................................................... 147Link Service Login (TL) setting

    ....................................................................................................................................................... 148Inband Commands (IB) setting

    ....................................................................................................................................................... 149Data Login (DL) setting

    ....................................................................................................................................................... 149Retransmission Period (RP) setting

    ....................................................................................................................................................... 150Routing Mode (RM) setting

    ....................................................................................................................................................... 151Source IP Filtering (SF) setting

    ....................................................................................................................................................... 152Connection Mode (CM) setting

    ....................................................................................................................................................... 153Destination IP-address (DI) setting

    ....................................................................................................................................................... 154Destination Port Number (DP) setting

    ....................................................................................................................................................... 155Notification Destination (ND) setting

    .......................................................................................................................................................... 156Serial Settings

    ....................................................................................................................................................... 157Serial Interface (SI) setting

    ....................................................................................................................................................... 159Flow Control (FC) setting

    ....................................................................................................................................................... 160DTR Mode (DT) setting

    ....................................................................................................................................................... 160DTR Startup Mode (DS) setting

    ....................................................................................................................................................... 161Baudrate (BR) setting

    ....................................................................................................................................................... 162Parity (PR) setting

    ....................................................................................................................................................... 162Bits Per Byte (BB) setting

    ....................................................................................................................................................... 163Soft Entry (SE) setting

    ....................................................................................................................................................... 165Escape Character (EC) setting

    ....................................................................................................................................................... 165On-the-fly Commands (RC) setting

    ....................................................................................................................................................... 166On-the-fly Password (OP) setting

    ....................................................................................................................................................... 167Notification Bitmask (NB) setting

    .......................................................................................................................................................... 168Encapsulation Settings

    ....................................................................................................................................................... 169Maximum Packet Length (ML) setting

    ....................................................................................................................................................... 169Maximum Intercharacter Delay (MD) setting

    ....................................................................................................................................................... 170Start On Any Character (SA) setting

    ....................................................................................................................................................... 171Use Start Character (F1) setting

    ....................................................................................................................................................... 171Start Character Code (S1) setting

    ....................................................................................................................................................... 172Use Stop Character (U1) setting

    ....................................................................................................................................................... 173Stop Character Code (E1) setting

    ....................................................................................................................................................... 173Number Of Post Characters (P1) setting

    ............................................................................................................................................................ 174Parameters and Instructions

    .......................................................................................................................................................... 174Parameter & Instruction Description Format

    .......................................................................................................................................................... 175On-the-fly (Network-Side) Parameters & Instructions

    ....................................................................................................................................................... 175Flow Control (FC) parameter

    ....................................................................................................................................................... 176Baudrate (BR) parameter

    ....................................................................................................................................................... 176Parity (PR) parameter

    ....................................................................................................................................................... 177Bits Per Byte (BB) parameter

    ....................................................................................................................................................... 177Notification Bitmask (NB) parameter

    ....................................................................................................................................................... 178Get I/O Pin Status (Gx) instruction

    ....................................................................................................................................................... 179Set I/O Pin Status (Sx) instruction

    .......................................................................................................................................................... 181Modem (Serial-Side) Parameters & Instructions

    ....................................................................................................................................................... 181Transport Protocol (TP) parameter

  • Tibbo Serial-over-IP Solutions ManualV

    2000-2008 Tibbo Technology Inc.

    ....................................................................................................................................................... 182Link Server Login (TL) parameter

    ....................................................................................................................................................... 182Routing Mode (RM) parameter

    ....................................................................................................................................................... 182Source IP Filtering (SF) parameter

    ....................................................................................................................................................... 183Destination IP-address (DI) parameter

    ....................................................................................................................................................... 184Destination Port Number (DP) parameter

    ....................................................................................................................................................... 184Establish Connection (CE) instruction

    ....................................................................................................................................................... 185Close Connection (CC) instruction

    ....................................................................................................................................................... 186Abort Connection (CA) instruction

    ................................................................................................................................... 187NetLoader (For Network Firmware Upgrades, V1.10)

    ............................................................................................................................................................... 187Status LED Signals

    ............................................................................................................................................................... 188MAC- and IP-address Under the NetLoader

    ............................................................................................................................................................... 188NetLoader Communications

    ............................................................................................................................................................... 189How the NetLoader is Started

    ............................................................................................................................................................... 189Firmware Upload Procedure

    ............................................................................................................................................................... 190Available Commands

    ............................................................................................................................................................ 191Command Description Format

    ............................................................................................................................................................ 191Echo (X) command

    ............................................................................................................................................................ 192Select In Broadcast Mode (W) command

    ............................................................................................................................................................ 193Start Over (Q) command

    ............................................................................................................................................................ 193Data Block (D) command

    ............................................................................................................................................................ 194Verify And Start Firmware (E) command

    ............................................................................................................................................................ 195Get Firmware Version (V) command

    Software Manuals 195

    ................................................................................................................................... 196Device Server Toolkit (DST) Software for Windows (Release 3.9.82)

    ............................................................................................................................................................... 197DS Manager

    ............................................................................................................................................................ 198DS Status Icons

    ............................................................................................................................................................ 200Access Modes

    .......................................................................................................................................................... 201Auto-Discovery Access Mode

    ....................................................................................................................................................... 203Broadcast Access

    ....................................................................................................................................................... 204Troubleshooting (Auto-Discovery Mode)

    .......................................................................................................................................................... 205Address Book Access Mode

    ....................................................................................................................................................... 207Access Parameters for the Address Book Mode

    ....................................................................................................................................................... 208Preparing the DS for Inband Access

    ....................................................................................................................................................... 209Troubleshooting (Address Book Mode)

    .......................................................................................................................................................... 212Serial Access Mode

    ....................................................................................................................................................... 212Troubleshooting (Serial Access Mode)

    ............................................................................................................................................................ 213Functions

    .......................................................................................................................................................... 213Editing DS Settings (Settings Button)

    .......................................................................................................................................................... 215Upgrading DS Firmware (Upgrade Button)

    .......................................................................................................................................................... 216Initializing the DS (Initialize Button)

    .......................................................................................................................................................... 217Monitoring DS Status (Routing Status Button)

    .......................................................................................................................................................... 219"Buzzing" the DS (Buzz Button)

    .......................................................................................................................................................... 219Changing IP-address (Change IP Button)

    .......................................................................................................................................................... 220Finding a DS on the list (Find Button)

    .......................................................................................................................................................... 220Editing the Address Book (Add, Remove, Edit Buttons)

    .......................................................................................................................................................... 221Managing Address Book Groups (Groups button)

    .......................................................................................................................................................... 222Warnings And Messages

    ....................................................................................................................................................... 222DS Status Messages

    ....................................................................................................................................................... 222Error Mode

    ....................................................................................................................................................... 222Firmware Upgrade Mode

    ....................................................................................................................................................... 223IP-address Not Obtained

    ....................................................................................................................................................... 223No Response

    ....................................................................................................................................................... 224No Status Info Available

    ....................................................................................................................................................... 224Programming in Progress

    ....................................................................................................................................................... 225Routing Buffer Overflow

    ....................................................................................................................................................... 225Unknown Device

  • VIContents

    2000-2008 Tibbo Technology Inc.

    ....................................................................................................................................................... 225Unreachable IP-address

    ....................................................................................................................................................... 226Warning and Error Messages

    ....................................................................................................................................................... 226Broadcast Access Not Supported

    ....................................................................................................................................................... 226Could Not Connect to the DS (Inband Access)

    ....................................................................................................................................................... 227Data Link In Progress

    ....................................................................................................................................................... 227DS Lost (After Changing IP)

    ....................................................................................................................................................... 228DS Lost (After Entering NetLoader)

    ....................................................................................................................................................... 228DS Lost (After Exiting NetLoader)

    ....................................................................................................................................................... 229DS Lost (After Initialization)

    ....................................................................................................................................................... 229Duplicate Address Book Entry

    ....................................................................................................................................................... 229Error Mode (Initialization Required)

    ....................................................................................................................................................... 230Failed to Start the NetLoader

    ....................................................................................................................................................... 230Function Not Available (Upgrade Mode)

    ....................................................................................................................................................... 231Function Not Supported

    ....................................................................................................................................................... 231Incorrect Password

    ....................................................................................................................................................... 232Initialization Failed

    ....................................................................................................................................................... 232Initialization Not Allowed

    ....................................................................................................................................................... 233Initialization Required

    ....................................................................................................................................................... 233Input Login Password

    ....................................................................................................................................................... 233Invalid Firmware File (or Comm Error)

    ....................................................................................................................................................... 234Invalid Firmware Uploaded

    ....................................................................................................................................................... 234Invalid IP-address

    ....................................................................................................................................................... 235Network Firmware Upload Aborted

    ....................................................................................................................................................... 235New Password Not Accepted

    ....................................................................................................................................................... 236No Response From the DS (Network)

    ....................................................................................................................................................... 236No Response From the DS (Serial)

    ....................................................................................................................................................... 236Operation Cannot Be Executed

    ....................................................................................................................................................... 237Out-of-Band (UDP) Access Required

    ....................................................................................................................................................... 237Password Will Be Disabled

    ....................................................................................................................................................... 237Potential DHCP Conflict

    ....................................................................................................................................................... 238Power Up With Setup Button Pressed

    ....................................................................................................................................................... 239Press Setup Button

    ....................................................................................................................................................... 239Serial Firmware Upload Failed

    ....................................................................................................................................................... 239Serial Upgrade Completed

    ....................................................................................................................................................... 240Setting Description File Error

    ....................................................................................................................................................... 240Unable to Find Setting Description Files

    ....................................................................................................................................................... 240Unexpected NetLoader Error

    ....................................................................................................................................................... 241Unreachable IP-address

    ....................................................................................................................................................... 241Unable to Send a Broadcast

    ............................................................................................................................................................... 241VSPD and VSP Manager

    ............................................................................................................................................................ 242How VSP Works

    ............................................................................................................................................................ 243VSP Manager

    .......................................................................................................................................................... 244VSP Properties

    .......................................................................................................................................................... 245VSP Name Selection

    .......................................................................................................................................................... 246Transport Protocol

    ....................................................................................................................................................... 247Additional Info on UDP and TCP Connections

    .......................................................................................................................................................... 248On-the-fly Commands

    ....................................................................................................................................................... 249When the VSP Sends On-the-fly Commands

    ....................................................................................................................................................... 251Handling of RTS, CTS, DTR, and DSR Signals

    ....................................................................................................................................................... 253Synchronization Issues for On-the-fly Commands

    ....................................................................................................................................................... 255Disabled (With FF Escape) Mode of the VSP

    .......................................................................................................................................................... 256Connection Timeout

    .......................................................................................................................................................... 256Routing Mode

    .......................................................................................................................................................... 256Connection Mode

    .......................................................................................................................................................... 257Listening Port

    .......................................................................................................................................................... 257Destination Modes

    ....................................................................................................................................................... 258Single-destination Mode

    ....................................................................................................................................................... 259Multi-destination Mode

    .......................................................................................................................................................... 263Specify Destination By

  • Tibbo Serial-over-IP Solutions ManualVII

    2000-2008 Tibbo Technology Inc.

    .......................................................................................................................................................... 263Control lines Tab

    .......................................................................................................................................................... 264Default serial settings Tab

    ............................................................................................................................................................ 265Use WinSock for transport

    ............................................................................................................................................................ 265Unsupported Features and Limitations

    ............................................................................................................................................................ 266Warnings and Messages

    .......................................................................................................................................................... 266Listening Port is In Use

    .......................................................................................................................................................... 266No Start Characters defined

    .......................................................................................................................................................... 266Port Substitution Required

    .......................................................................................................................................................... 267VSP Is in Use

    ............................................................................................................................................................... 267Port Monitor

    ............................................................................................................................................................ 268Preferences Dialog (General Tab)

    ............................................................................................................................................................ 269Preferences Dialog (Event Tab)

    ............................................................................................................................................................ 270Data Dump Feature

    ............................................................................................................................................................... 271Connection Wizard

    ............................................................................................................................................................ 272Choosing the Wizard Job

    ............................................................................................................................................................ 272VSP-to-DS Link

    .......................................................................................................................................................... 273VSP Name Selection

    ....................................................................................................................................................... 273Choosing the VSP Name

    .......................................................................................................................................................... 274Target DS

    ....................................................................................................................................................... 276Additional Info on Accessing the DS

    .......................................................................................................................................................... 277Initiator of the Data Exchange

    .......................................................................................................................................................... 278Netmask & Gateway for the DS

    ....................................................................................................................................................... 279How the Wizard Decides Who Opens Connections

    .......................................................................................................................................................... 281Transport Protocol & Listening Ports

    .......................................................................................................................................................... 283On-the-fly Commands

    .......................................................................................................................................................... 285Parameters for the Serial Port of the DS

    .......................................................................................................................................................... 286Programming Inaccessible DS

    ............................................................................................................................................................ 287Application-to-DS Link

    .......................................................................................................................................................... 288Target DS

    ....................................................................................................................................................... 289Additional Info on Accessing the DS

    .......................................................................................................................................................... 290Initiator of The Data Exchange

    .......................................................................................................................................................... 291Netmask & Gateway for the DS

    ....................................................................................................................................................... 292How the Wizard Decides Who Opens Connections

    .......................................................................................................................................................... 294Transport Protocol & Listening Ports

    .......................................................................................................................................................... 297Parameters for the Serial port of the DS

    .......................................................................................................................................................... 297Programming an Inaccessible DS

    ............................................................................................................................................................ 298DS-to-DS Link

    .......................................................................................................................................................... 299DS #1 (Must be Local)

    .......................................................................................................................................................... 300DS #2 (Can be Local or Remote)

    ....................................................................................................................................................... 301Additional Info on Accessing the DS

    .......................................................................................................................................................... 302Initiator of the Data Exchange

    .......................................................................................................................................................... 303Netmask & Gateway for the DS #1

    .......................................................................................................................................................... 304Netmask & Gateway for the DS #2

    ....................................................................................................................................................... 305How the Wizard Decides Who Opens the Connection

    .......................................................................................................................................................... 307Transport Protocol & Listening Ports

    .......................................................................................................................................................... 309Remote Exchange for RTS, CTS, DTR, DSR

    .......................................................................................................................................................... 310Parameters for the Serial Port of the DS #1

    .......................................................................................................................................................... 311Parameters for the Serial Port of the DS #2

    .......................................................................................................................................................... 311Programming an Inaccessible DS

    ............................................................................................................................................................ 312Finishing a Remote Job

    .......................................................................................................................................................... 313Programming Method for the DS

    .......................................................................................................................................................... 314Configuration Script File

    ............................................................................................................................................................ 315Reviewing Setup Details

    ............................................................................................................................................................ 315Final Screen

    ............................................................................................................................................................ 316Warnings and Messages

    .......................................................................................................................................................... 316Inband Access for Local DS

    .......................................................................................................................................................... 317MAC-->IP Mapping Advised

    .......................................................................................................................................................... 317DS #1 Must be Local

    .......................................................................................................................................................... 317Non-zero Port Number Required

  • VIIIContents

    2000-2008 Tibbo Technology Inc.

    .......................................................................................................................................................... 317Port is in Use

    .......................................................................................................................................................... 318VSP is Opened by Another Application

    .......................................................................................................................................................... 318Different IP-address Required

    .......................................................................................................................................................... 318Unable to Find Setting Description File

    .......................................................................................................................................................... 318Invalid IP-address

    .......................................................................................................................................................... 319The DS is Not Local

    .......................................................................................................................................................... 319Avoid Data Characters with ASCII code FF

    .......................................................................................................................................................... 320Unable to Send a Broadcast

    ............................................................................................................................................................... 320DST Revision History

    ................................................................................................................................... 321Virtual Serial Port Driver for Linux (VSPDL)

    ............................................................................................................................................................... 322How VSP Works

    ............................................................................................................................................................... 323VSPDL Device Files

    ............................................................................................................................................................... 323Installation

    ............................................................................................................................................................... 325Controlling VSPDL Operation

    ............................................................................................................................................................... 325VSPDL Configuration File (vspd.conf)

    ............................................................................................................................................................ 326Sample Configuration File

    ............................................................................................................................................................ 327General VSPDL Configuration

    .......................................................................................................................................................... 328Root Directory for the Daemon ( Section)

    .......................................................................................................................................................... 328Path and Prefix for Device Files ( Section)

    .......................................................................................................................................................... 328Host to Bind By Default ( Section)

    .......................................................................................................................................................... 328Timeout for Basic I/O Operations ( Section)

    .......................................................................................................................................................... 329VSPdaemon Event Logging Configuration ( Section)

    ............................................................................................................................................................ 329VSP Configuration ( Section)

    .......................................................................................................................................................... 330VSP Number ( Section)

    .......................................................................................................................................................... 330Host and Port to Bind for the VSP ( Section)

    ....................................................................................................................................................... 330Bind Host ( Parameter)

    ....................................................................................................................................................... 331Bind Port ( Parameter)

    .......................................................................................................................................................... 331Connection Parameters ( Section)

    ....................................................................................................................................................... 332Routing Mode ()

    ....................................................................................................................................................... 332Transport Protocol ()

    ....................................................................................................................................................... 333Additional Info on UDP and TCP Connections

    ....................................................................................................................................................... 334Connection Mode ()

    ....................................................................................................................................................... 335Connection Timeout ()

    ....................................................................................................................................................... 335On-the-fly Commands ()

    ....................................................................................................................................................... 337Password for On-the-fly Commands ()

    ....................................................................................................................................................... 337Data Login ()

    .......................................................................................................................................................... 337Destination Device Parameters ( section)

    ....................................................................................................................................................... 338Destination IP-address ( parameter)

    ....................................................................................................................................................... 338Destination MAC-address ( parameter)

    ....................................................................................................................................................... 339Destination Data Port ( parameter)

    ....................................................................................................................................................... 339Destination Command Port ( parameter)

    .......................................................................................................................................................... 339Outbound Packet Generation Options ( section)

    ....................................................................................................................................................... 340Maximum Packet Length ( parameter)

    ....................................................................................................................................................... 341Maximum Intercharacter Delay ( parameter)

    ....................................................................................................................................................... 341Start on Any Character ( parameter)

    ....................................................................................................................................................... 341Start Character ( parameter)

    ....................................................................................................................................................... 342Stop Character ( parameter)

    .......................................................................................................................................................... 342Event Logging Configuration for the VSP ( section)

    .......................................................................................................................................................... 343Data Dump ( section)

    Application Notes 343

    ................................................................................................................................... 343AN001. Customization Options in Our Products

    ................................................................................................................................... 349AN002. Practical Advice on Integrating EM Module into Your Device

    ............................................................................................................................................................... 354Example: PIC with EM203

    ................................................................................................................................... 355AN003. Time Delays When the DS is Opening TCP Connection to the PC

    ................................................................................................................................... 358AN004. How to Send the Same Data to Several DS

  • Tibbo Serial-over-IP Solutions ManualIX

    2000-2008 Tibbo Technology Inc.

    ................................................................................................................................... 359AN005. Remotely Controlling I/O Lines on the DS

    ................................................................................................................................... 362AN006. Using Device Server Toolkit with Windows Firewall (XP/SP2)

    ................................................................................................................................... 367AN007. Installing and Configuring LinkServer

    ............................................................................................................................................................... 367Preparing your Network (Router Configuration)

    ............................................................................................................................................................... 368Downloading and Installing Software and Firmware

    ............................................................................................................................................................... 369Creating Trial AuthKey

    ............................................................................................................................................................... 371Initial LinkServer Configuration

    ............................................................................................................................................................... 372Creating a User Account

    ............................................................................................................................................................... 373Adding a DS as User

    ............................................................................................................................................................... 373Configuring a Device Server

    ............................................................................................................................................................... 376Configuring a Virtual Serial Port

    ............................................................................................................................................................... 377Testing with HyperTerminal

    ................................................................................................................................... 379AN008. Using HyperTerminal

    ............................................................................................................................................................... 380What is it Good For?

    ............................................................................................................................................................... 381Running HyperTerminal

    ............................................................................................................................................................ 381Setting Correct Parameters on Startup

    ..