Connect Tech Blue Heat Net Sync Ctim 00044 Users Manual
CTIM-00044 to the manual 3db03e7d-9074-48fa-8796-23668f34815c
2015-02-05
: Connect-Tech Connect-Tech-Blue-Heat-Net-Sync-Ctim-00044-Users-Manual-530817 connect-tech-blue-heat-net-sync-ctim-00044-users-manual-530817 connect-tech pdf
Open the PDF directly: View PDF .
Page Count: 76
Download | |
Open PDF In Browser | View PDF |
Blue Heat/Net Sync User Manual Ethernet-to-Serial Synchronous Communications Connect Tech Inc. 42 Arrow Road Guelph, Ontario N1K 1S6 Tel: Toll: Fax: Email: Web: 519-836-1291 800-426-8979 (North America only) 519-836-4878 sales@connecttech.com support@connecttech.com www.connecttech.com CTIM-00044 Revision 0.03 , July 8, 2010 Connect Tech Blue Heat/Net Sync User Manual Limited Lifetime Warranty Connect Tech Inc. provides a Lifetime Warranty for all Connect Tech Inc. products. Should this product, in Connect Tech Inc.'s opinion, fail to be in good working order during the warranty period, Connect Tech Inc. will, at its option, repair or replace this product at no charge, provided that the product has not been subjected to abuse, misuse, accident, disaster or non Connect Tech Inc. authorized modification or repair. You may obtain warranty service by delivering this product to an authorized Connect Tech Inc. business partner or to Connect Tech Inc. along with proof of purchase. Product returned to Connect Tech Inc. must be pre-authorized by Connect Tech Inc. with an RMA (Return Material Authorization) number marked on the outside of the package and sent prepaid, insured and packaged for safe shipment. Connect Tech Inc. will return this product by prepaid shipment service. The Connect Tech Inc. lifetime warranty is defined as the serviceable life of the product. This is defined as the period during which all components are available. Should the product prove to be irreparable, Connect Tech Inc. reserves the right to substitute an equivalent product if available or to retract lifetime warranty if no replacement is available. The above warranty is the only warranty authorized by Connect Tech Inc. Under no circumstances will Connect Tech Inc. be liable in any way for any damages, including any lost profits, lost savings or other incidental or consequential damages arising out of the use of, or inability to use, such product. Copyright Notice The information contained in this document is subject to change without notice. Connect Tech Inc. shall not be liable for errors contained herein or for incidental consequential damages in connection with the furnishing, performance, or use of this material. This document contains proprietary information that is protected by copyright. All rights are reserved. No part of this document may be photocopied, reproduced, or translated to another language without the prior written consent of Connect Tech, Inc. Copyright © 2010 by Connect Tech Inc. Trademark Acknowledgment Connect Tech Inc. acknowledges all trademarks, registered trademarks and/or copyrights referred to in this document as the property of their respective owners. Not listing all possible trademarks or copyright acknowledgments does not constitute a lack of acknowledgment to the rightful owners of the trademarks and copyrights mentioned in this document. 2 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Customer Support Overview If you experience difficulties after reading the manual and/or using the product, contact the Connect Tech reseller from which you purchased the product. In most cases the reseller can help you with product installation and difficulties. In the event that the reseller is unable to resolve your problem, our highly qualified support staff can assist you. Our support section is available 24 hours a day, seven days a week on our website at: www.connecttech.com/sub/support/support.asp. See the contact information section below for more information on how to contact us directly. Our technical support is always free. Contact Information We offer three ways for you to contact us: Telephone/Facsimile Technical Support representatives are ready to answer your call Monday through Friday, from 8:30 a.m. to 5:00 p.m. Eastern Standard Time. Our numbers for calls are: Telephone: Telephone: Facsimile: 800-426-8979 (North America only) 519-836-1291 (Live assistance available 8:30 a.m. to 5:00 p.m. EST, Monday to Friday) 519-836-4878 (online 24 hours) Email/Internet You may contact us through the Internet. Our email and URL addresses are: sales@connecttech.com support@connecttech.com www.connecttech.com Mail/Courier You may contact us by letter and our mailing address for correspondence is: Connect Tech Inc. Technical Support 42 Arrow Road Guelph, Ontario Canada N1K 1S6 Note: Please go to the Download Zone or the Knowledge Database in the Support Center on the Connect Tech website for product manuals, installation guides, device driver software and technical tips. Submit your technical support questions to our customer support engineers via the Support Center on the Connect Tech website. Revision 0.03 3 Connect Tech Blue Heat/Net Sync User Manual Certification Statements Preliminary: Testing is still pending. Class A Computing Device Connect Tech Inc. declares that the product(s) covered by the contents of this manual have been tested and found compliant with the below listed standards as required by the Electromagnetic Compatibility (EMC) Directive for General Immunity Compliance. EN 55022 CISPR 22 Conducted and Radiated emissions Class A EN 55024 Immunity to Disturbances EN 61000-4-2 EN 61000-4-3 EN 61000-4-4 EN 61000-4-5 EN 61000-4-6 EN 61000-4-11 EN 61000-3-2 Exempt EN 61000-3-3 Pass The above satisfy the requirements of: USA: FCC – CFR47, Part 15, part 2 Canada: Europe Japan: ICES-003 EMC Directive VCCI Australia/New Zealand: AS/NZS Preliminary: Testing is still pending. 4 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Table of Contents Limited Lifetime Warranty ................................................................................................................... 2 Copyright Notice ................................................................................................................................ 2 Trademark Acknowledgment ................................................................................................................ 2 Customer Support Overview ................................................................................................................ 3 Contact Information............................................................................................................................ 3 Certification Statements ...................................................................................................................... 4 Table of Contents ............................................................................................................................... 5 List of Figures .................................................................................................................................... 7 List of Tables ..................................................................................................................................... 8 Introduction ....................................................................................................................................... 9 Features .................................................................................................................. 9 Understanding Virtual COM Ports ........................................................................... 10 Blue Heat/Net Sync Installation Overview ........................................................................................... 10 Hardware Installation ....................................................................................................................... 11 Connecting the Blue Heat/Net Sync to Your Network: ................................................. 11 Ethernet LEDs ............................................................................................... 11 Serial Port LEDs ............................................................................................ 12 Connecting Serial Devices ....................................................................................... 12 V.28 Connections: .......................................................................................... 12 Basic Async (V.28) RS-232 Null Modem Connection ................................. 12 Basic Sync (V.28) RS-232 Connection (Provides Clock) ............................ 12 Basic Sync (V.28) RS-232 Connection (Receives Clock) ............................. 12 RS-422/V.11 Connections................................................................................ 13 Blue Heat/Net Synchronous Clocking ........................................................................ 13 Loopback Connectors .............................................................................................. 14 Connecting Power .................................................................................................. 15 DC Power Connector ............................................................................. 15 Phoenix Locking Screw Terminal Connector ............................................ 15 Activating the Special Operations Mode and Default Settings ...................................... 17 Using the Reset Button to Activate the Special Operations Mode ......................... 17 Selecting a Special Operation .......................................................................... 17 Power On Diagnostics: ........................................................................................... 18 LED Error Codes ........................................................................................... 18 SCM Cabling requirements ...................................................................................... 21 SCM: Serial Configuration Manager ................................................................ 21 Setting a Static or Dynamic IP Address ..................................................................... 21 Set the IP Address Using the Web Configuration Manager ................................. 22 Set the IP Address Using the Serial Configuration Manager ............................... 22 Blue Heat/Net Sync Configuration ...................................................................................................... 23 CDS (Configuration Data Space) ............................................................................. 24 Description .................................................................................................... 24 Access to CDS Parameters .............................................................................. 24 SCM (Serial Configuration Manager) ....................................................................... 25 Description .................................................................................................... 25 Getting Access to the SCM .............................................................................. 25 SCM Command Reference ............................................................................... 25 Brief Command List ............................................................................... 25 Command Details .................................................................................. 26 boot ............................................................................................. 26 cfg ............................................................................................... 26 exit .............................................................................................. 27 help ............................................................................................. 27 Revision 0.03 5 Connect Tech Blue Heat/Net Sync User Manual info .............................................................................................. 27 net ............................................................................................... 27 save ............................................................................................. 29 update.......................................................................................... 29 WCM (Web Configuration Manager) ........................................................................ 31 Signing In to the Web Configuration Manager .................................................. 31 Configure Advanced Serial Settings ......................................................... 33 Configure Blue Heat/Net Sync Settings .................................................... 33 Configure Firmware .............................................................................. 35 Restore Defaults .................................................................................... 35 Saving To Flash..................................................................................... 36 Monitoring Your Blue Heat/Net ....................................................................... 37 Monitor Serial Port Traffic ..................................................................... 37 Monitor Network Traffic......................................................................... 38 Monitor TCP/IP Statistics ....................................................................... 38 My Blue Heat/Net Sync........................................................................... 38 Software Installation for Windows ...................................................................................................... 40 Installing the Blue Heat/Net Sync Configuration Manager .......................................... 40 Running the Configuration Manager......................................................................... 44 Device Installation .................................................................................................. 44 Configure Default Blue Heat/Net Sync.............................................................. 45 Add New Blue Heat/Net Sync ........................................................................... 45 Auto Discover Blue Heat/Net Sync ................................................................... 46 Firmware Upgrades.......................................................................................................................... 47 Upgrade using WCM (Web Configuration Manager) .................................................. 47 Upgrade using SCM (Serial Configuration Manager) ................................................. 47 Software Development ...................................................................................................................... 48 Memory Map of IUSC and PLD Functions........................................................ 50 ColdFire (5272) Bus: ............................................................................. 50 IUSC Access: ........................................................................................ 50 PLD Resource Access: ........................................................................... 51 PLD Memory Map Table................................................................................. 51 Port Settings, Clock Setup and General Settings......................................................... 59 IUSC Clocking Logic: ............................................................................................. 61 Appendix ......................................................................................................................................... 62 Blue Heat/Net Sync Specifications ............................................................................ 62 Operating Environment .................................................................................. 62 Communications ............................................................................................ 62 ESD Protection .............................................................................................. 62 Power ........................................................................................................... 62 Connectors .................................................................................................... 62 Dimensions .................................................................................................... 62 Cable and Power Supply Options ..................................................................... 62 Protocol Descriptions ..................................................................................... 63 Pinouts .................................................................................................................. 64 DB-25 Female Pinouts.................................................................................... 64 DB-9 Female Pinouts ..................................................................................... 65 Multi-drop Communications Using V.11 / RS422/RS485 Line Modes ................... 66 Rack Mount Option: ................................................................................................ 66 Default Settings ...................................................................................................... 67 Network Settings ............................................................................................ 67 Boot Settings.................................................................................................. 67 SCM Operation Settings.................................................................................. 67 Common Configuration Setups ................................................................................. 68 Static IP Setup ............................................................................................... 68 Using SCM ........................................................................................... 68 Using WCM .......................................................................................... 68 6 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual DHCP Setup .................................................................................................. 69 Using SCM ........................................................................................... 69 How the Blue Heat/Net Sync Boots Up ...................................................................... 69 Bootup Sequence ............................................................................................ 70 Flowchart of Special Operations Mode using the reset button ............................. 71 Asynchronous Communications Tutorial........................................................... 71 Serial Line Interface Tutorial ................................................................................... 72 RS-232 Line Interface: .................................................................................... 72 Differential Line Interfaces: ............................................................................ 72 RS485/RS422/V.11 Details .............................................................................. 72 Basic 4-Wire, Full Duplex Communications: ............................................ 73 Multi-drop 4-Wire, Full Duplex Communications: .................................... 74 Basic - Wire, Half Duplex Multi-drop Connection: .................................... 74 Bus Contention on Differential Multi-drop Networks: ........................................ 75 Termination Resistors in Differential Networks ................................................. 76 Termination Resistors in Differential Networks:........................................ 76 List of Figures Figure 1: LED Locations on Blue Heat/Net Sync.......................................................................... 11 Figure 2: Basic V.28 Asynchronous Connections ......................................................................... 12 Figure 3: Basic V.28 Synchronous Connections ........................................................................... 12 Figure 4: Basic V.28 Synchronous Connections ........................................................................... 12 Figure 5: Basic RS-422/V.11 Asynchronous Connections ............................................................ 13 Figure 6: Basic RS422/V.11 Synchronous Connections ................................................................ 13 Figure 7: Recommended Pinouts for V.28 (RS-232) Loopback Connector ................................... 14 Figure 8: Recommended Pinouts for a V.11 (RS422) Loopback Connector ................................. 14 Figure 9: DC Power Connector Illustration ................................................................................. 15 Figure 10: Phoenix Locking Screw Terminal Power Connector Illustration ................................ 15 Figure 11: LED Error Code Example ........................................................................................... 18 Figure 12: Blue Heat/Net Sync Serial Cable Connection Diagram .............................................. 21 Figure 13: Web Configuration Manager Sign In .......................................................................... 31 Figure 14: Blue Heat/Net Sync Settings ........................................................................................ 32 Figure 15: Configuring Blue Heat/Net Sync Settings .................................................................... 35 Figure 16: Firmware Upgrades/Downloads ................................................................................. 35 Figure 17: Restore Default Settings .............................................................................................. 36 Figure 18: Saving To Flash ........................................................................................................... 37 Figure 19: Monitoring Serial Port Activity ................................................................................... 37 Figure 20: Monitoring Network Traffic ........................................................................................ 38 Figure 21: Monitoring TCP/IP Statistics ...................................................................................... 38 Figure 22: My Blue Heat/Net Sync Hardware Details .................................................................. 39 Figure 23: My Blue Heat/Net Sync Software Details .................................................................... 39 Figure 24: Blue Heat/Net Sync Driver/Software Installation CD ................................................. 40 Figure 25: Blue Heat/Net Sync Software Installation Screen ....................................................... 41 Figure 26: My Blue Heat/Net Sync Places Screen ........................................................................ 44 Figure 27: Add or Auto Discover Blue Heat/Net Sync Menu Screen ............................................ 45 Figure 28: Add Blue Heat/Net Sync Screen .................................................................................. 45 Figure 29: Auto Discover Blue Heat/Net Sync Screen .................................................................. 46 Figure 46: Bootup Sequence ......................................................................................................... 70 Figure 47: Bootup Sequence via Reset Button .............................................................................. 71 Figure 48: Typical Asynchronous Date Frame ............................................................................. 72 Revision 0.03 7 Connect Tech Blue Heat/Net Sync User Manual List of Tables Table 1: BlueHeat/Net Sync Power Connections and Current Specifications .............................. 16 Table 2: Connector Properties ...................................................................................................... 16 Table 3: Available Special Operations .......................................................................................... 18 Table 4: LED Error Codes for Blue Heat/Net Sync ...................................................................... 19 Table 5: Chip Selects .................................................................................................................... 48 Table 6: Interrupts......................................................................................................................... 49 Table 7: ColdFire MCF5272 GPIO .............................................................................................. 49 Table 8: Base Address Map ........................................................................................................... 49 Table 9: DB-25 Female Pinouts .................................................................................................... 64 Table 10: DB-9 Female Pinouts .................................................................................................... 65 8 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Introduction Connect Tech‟s Blue Heat/Net Sync allows remote access to synchronous/asynchronous serial devices via an Ethernet LAN or the Internet. Blue Heat/Net Sync network-enables serial communication devices that are designed to be connected to serial ports so that the devices no longer need to be tied to a single computer. The Blue Heat/Net Sync hardware is simple to install as it involves little more than plugging the unit into the appropriate locations and performing the configuration steps outlined in this manual. Driver setup is made easy by Blue Heat/Net Sync‟s auto-detection feature. The software does the work of locating the units, while the Configuration Manager leads you through the rest of the installation. Blue Heat/Net Sync‟s firmware is easily configured with a choice of methods: web browser, Telnet, or direct serial connection with a terminal and/or terminal software. Once the Blue Heat/Net Sync has been configured to your specifications, you will be able to remotely access your devices immediately. Features ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● Revision 0.03 Four software selectable synchronous or asynchronous serial ports Software switchable; V.28, V.10, V.11, V.35, EIA-530, X.21 line modes Software switchable line modes and termination Supports NRZ, NRZB, NRZI-Mark, NRZI-Space, B-Phase-Space, B-Phase-Manchester, Differential Bi-Phase encoding Transmission rates up to 9.216 Mbps (synchronous), 230.4 Kbps (asynchronous). 10 Mbps communications possible with external clock. Bipolar clock input accepts sine/square wave signals up to 20 MHz +/- 10V. Includes synchronous protocols; SDLC, HDLC, MonoSync, BiSync, Transparent BiSync Software selectable internal and external clocking modes. External clocking is provided on TXC and RXC pins Supports IP, TCP, UDP, ARP, RARP, TFTP, DHCP, BOOTP, HTTP, Telnet and DNS Use of TCP/IP means communications can be routed to support WANs, as well as LANs. The Blue Heat/Net Sync does not need to be located at the same site as the controlling computer Raw TCP server (HDLC and External Sync Line Modes only) Several levels of security are built into the Blue Heat/Net Sync that can limit connections and help to ensure the privacy of data flow Memory: 8 MB flash, 16 MB SDRAM Includes an auto-MDIX 10Base-T, 100Base-TX LAN interface Network boot or booting from built-in flash memory Firmware upgrades are downloadable Customizable uClinux embedded operating system running on a ColdFire embedded processor. Configuration can be done via Web Browser, Telnet or direct serial connection Front mounted diagnostic LEDs 5-28 VDC power input using either DC barrel or Phoenix screw terminal connector Optional 5VDC power supply available 1U rack mount kit available 9 Connect Tech Blue Heat/Net Sync User Manual Understanding Virtual COM Ports In a typical serial port setup, the application communicates directly with the connected serial port hardware. Virtual COM ports differ in that the application communicates with a network protocol layer that transfers the necessary information to and from the remote serial ports. The virtual ports appear as standard serial ports to the application, but in reality the data is translated into a series of Ethernet messages between the Blue Heat/Net Sync unit and the host computer. The serial port is not physically connected to the host computer, but this is transparent to the application trying to access it. There are several advantages to using virtual COM ports, which include: Distance – The serial ports can be a great distance away from the host computer. They are not limited by the standard electrical characteristics of the RS-232 or RS-422 interface because the primary data transfer is being done via Ethernet. Depending on the set up, these serial ports can be at a different location and the Internet can act as the carrier of the serial port traffic. Speed – Short RS-232/422 cable lengths can be used with the primary distance relying on the network connection. The capacitance of long lengths of serial cable does not limit data speeds in these cases. Cabling – Cost effective Ethernet cabling can be used for the transfer of information to the Blue Heat/Net Sync and often this is part of the existing networking infrastructure. Connecting serial ports in a remote location can be as easy as plugging in a Blue Heat/Net Sync to the Ethernet network. This provides a simple, clean cabling arrangement. Port Sharing – In some applications it is desirable to have a serial resource that is accessed and shared by more than one host computer. Connect Tech‟s virtual serial port technology allows this to be done easily. Routing – Different ports on a Blue Heat/Net Sync can be connected to multiple host computers. Monitoring – Because the virtual serial ports are on the network, they can easily be monitored to ensure everything is operating correctly. Blue Heat/Net Sync Installation Overview There are three main stages in the installation process for your Blue Heat/Net Sync. 1. Hardware Installation This involves the physical connection of the Blue Heat/Net Sync hardware to your network, and addresses issues such as cabling and power requirements. 2. Blue Heat/Net Sync Configuration The first step in the configuration process is to set the IP Address. Then use one of three available methods to configure the Blue Heat/Net Sync firmware settings for your application. This can be done through the SCM (Serial Configuration Manager) or the WCM (Web Configuration Manager), depending on circumstances and personal preference. 3. Software Installation for Windows This step installs and configures the Blue Heat/Net Sync drivers and ports for your host Operating System and allows you to set parameters specific to your serial requirements. This is done via the Blue Heat/Net Sync Configuration Manager. NOTE: Software support for Windows and Linux is still in development 10 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Hardware Installation Connecting the Blue Heat/Net Sync to Your Network: Before you begin, take a minute to ensure that your package includes the required components for your Blue Heat/Net Sync: • • • • • One Blue Heat/Net Sync unit One power supply One CD containing software and documentation One Phoenix contact screw terminal plug PN: 1847055 One RJ-45 cable (optional) If any of these components is missing, contact Connect Tech or your reseller. Ethernet LEDs The front panel of the Blue Heat/Net Sync features Ethernet and serial port LEDs to monitor activity. Power: When this LED is on, the Blue Heat/Net Sync is receiving power. CPU: Once the uClinux firmware is booted and running correctly, this LED lights up. 10/100: This LED represents the line rate at which the Blue Heat/Net Sync is connected to your network. LED on = a 100 megabit connection. LED off = a 10 megabit connection. (The Blue Heat/Net Sync automatically detects the line rate of your network). L/A: This light illuminates when the connection to your network or computer is achieved. A blinking light indicates that Transmit (Tx) or Receive (Rx) activity is detected on the Ethernet cable. FD: Indicates that your network is running in full duplex or half duplex mode: ON = full duplex, OFF = half duplex Figure 1: LED Locations on Blue Heat/Net Sync Revision 0.03 11 Connect Tech Blue Heat/Net Sync User Manual Serial Port LEDs The serial ports LEDs indicate serial activity for each port. • A flashing LED indicates that the port in question is receiving or transmitting data. Connecting Serial Devices V.28 Connections: V.28 has signaling levels the same EIA RS232. Basic Async (V.28) RS-232 Null Modem Connection This is the typical way to connect a Blue Heat/Net Sync to another serial device. Blue Heat/Net Sync RS-232 Device RX TX SR 2 - TX 3 - RX 7 - SR Figure 2: Basic V.28 Asynchronous Connections Basic Sync (V.28) RS-232 Connection (Provides Clock) Blue Heat/Net Sync 2 - TX 3 - RX 17 - T/RXC 7 - SR RS-232 Device RX TX RXC SR Figure 3: Basic V.28 Synchronous Connections Basic Sync (V.28) RS-232 Connection (Receives Clock) Blue Heat/Net Sync 2 - TX 3 - RX 15 - T/RXC 7 - SR RS-232 Device RX TX RXC SR Figure 4: Basic V.28 Synchronous Connections NOTE: The Blue Heat/Net Sync clock signals are bidirectional. See Blue Heat/Net Sync Clocking for more details. 12 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual RS-422/V.11 Connections The following are basic connections that can be accomplished when the I/O levels are in V.11 (RS422) mode. V.11 mode signaling can be enabled with EIA-530, RS-449 or X.21 modes on your Blue Heat/Net Sync. Blue Heat/Net Sync 2 - TX14 - TX+ 16 - RX+ 3 - RX7 - SR RS-422/V.11 Device RXRX+ TX+ TXSR Figure 5: Basic RS-422/V.11 Asynchronous Connections Blue Heat/Net Sync 2 - TX14 - TX+ 16 - RX+ 3 - RX9 - R/TXC+ 17 - R/TXC7 - SR RS-422/V.11 Device RXRX+ TX+ TXRXC RXC SR Figure 6: Basic RS422/V.11 Synchronous Connections NOTE: Blue Heat/Net Sync clock signals are bidirectional. The Blue Heat/Net Sync can either source or receive a clock. See Blue Heat/Net Sync Clocking for more details. Blue Heat/Net Synchronous Clocking The clocking circuits on the Blue Heat/Net Sync are very flexible. The Blue Heat/Net Sync DB-25 clock pins are bi-directional. This means that the TXC or RXC pins can be inputs receiving a clock or outputs driving a clock. Functionally the two pins are equal. For example, the following clocking combinations are possible: RXC as clock input and TXC as clock input. RXC as clock output and TXC as clock output. RXC as clock input and TXC as clock output. RXC as clock output and TXC as clock input. The Blue Heat/Net Sync receivers and transmitters can be clocked independently from any combination of the above or from internal clock sources. Clocking is also available from the EXT_REF_CLK input pin on the DB-9 female. Revision 0.03 13 Connect Tech Blue Heat/Net Sync User Manual Loopback Connectors Loopback connectors are useful for performing diagnostics. The following figure illustrates the recommended pinouts for creating loopback connectors for Blue Heat/Net Sync. DB-25 Male 2 - TX 3 - RX 4 - RTS 5 - CTS 6 -DSR 8 - DCD 20 - DTR 22 - RI 15 - TXC 17 - RXC Figure 7: Recommended Pinouts for V.28 (RS-232) Loopback Connector DB-25 Male 2 - TX14 - TX+ 16 - RX+ 3 - RX9 - RXC+ 17 - RXC11 - TXC+ 12 - TXC7 - SR Figure 8: Recommended Pinouts for a V.11 (RS422) Loopback Connector NOTES: 1. For an asynchronous loopback, omit the TXC and RXC pin. 2. When using clock signals, one signal must be configured as an input, while the other must be configured as an output. 3. When using a DB-25 female loopback connector, solder cup DB-25 connectors and 24 AWG solid core wire, such as wire from a CAT5 cable is recommended. 14 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Connecting Power The Blue Heat/Net Sync uses either a standard DC power jack or a Phoenix locking screw terminal connector for power input. The Blue Heat/Net Sync can be safely connected or disconnected at any time. The standard power supply requirements are as follows: Model BMG006 5V (2.5A) power input using a DC barrel or Phoenix screw terminal connector. Rev A models. 5V (2.5A) – 28 V DC (450mA) power input using a DC barrel or Phoenix screw terminal connector. Rev B or greater models only. DC Power Connector Figure 9: DC Power Connector Illustration NOTE: The center is positive, outside is ground (0V). Phoenix Locking Screw Terminal Connector Figure 10: Phoenix Locking Screw Terminal Power Connector Illustration Revision 0.03 15 Connect Tech Blue Heat/Net Sync User Manual Table 1: BlueHeat/Net Sync Power Connections and Current Specifications BlueHeat/Net Description Connector plug type 4 Port DB25 Synchronous / Asynchronous models (Rev A) 4 Port DB25 Synchronous / Asynchronous models (Rev B) Connector Polarity Voltage Current Centre Positive* 5VDC 875mA Left Positive* 5-28VDC @5V=2500mA @28V=450mA Centre Positive* 5-28VDC @5V=2500mA @28V=450mA Left Positive* 5-28VDC @5V=2500mA @28V=450mA * Note: The power input is protected by a series diode to prevent damage in the case of a reverse polarity connection. Table 2: Connector Properties Type 16 Details Part Number Standard DC Barrel 2.1mmID / 5.5mmOD Digi-Key: CP3-1000-ND, or equivalent Typical Wire Gauge 18-24 AWG Stranded Locking Screw Terminal, 3.3mm pitch MC Series Phoenix PN: 1847055, or equivalent 16-28 AWG Stranded Screw Terminal, 3.5mm pitch MC Series Phoenix PN: 1840366, or equivalent 16-28 AWG Stranded Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Activating the Special Operations Mode and Default Settings Blue Heat/Net Sync includes a push button on the rear of the unit beside the DC power connector. This push button can be used to perform special operations such as resetting the unit to its default settings or forcing port scanning in situations where the SCM is not accessible. Using the Reset Button to Activate the Special Operations Mode To activate the Special Operations Mode, hold the reset button while the unit is powering up. Hold the button until all the port LEDs blink rapidly and then release the reset button. The port LEDs will continue to flash rapidly after the reset button is released to indicate the Special Operations Mode is active. Selecting a Special Operation Once the Special Operations Mode has been activated, four operation options are available: 1. Abandon the Special Operations Mode To abandon the Special Operations Mode without selecting a special operation, press and hold the reset button for at least four seconds. While the button is pressed, the rapid flashing of the port LEDs will stop. After four seconds, the rapid flashing will resume and the reset button can be released. After the release of the reset button, the port LEDs will turn off, indicating that the Special Operations Mode has terminated. 2. Cancel a Special Operation If you need to cancel a special operation after it has been selected, repeatedly press the reset button until all the port LEDs begin to flash rapidly. Then abandon the Special Operations Mode by pressing the reset button for four seconds, as explained above. 3. Select a Special Operation Operations are selected by repeated short presses of the reset button. Each time the reset button is pressed it is counted and represented on the port LEDs as a binary number with the port 1 LED as the least significant bit (see Table 1). Choose the operation which you want to perform. If you miss the selection that you want, keep pressing the button. The count starts over again once it reaches 7 (1111 binary). 4. Activate a Special Operation To activate a selection, press and hold the reset button for at least four seconds. During this time the rapid flashing of the port LEDs will stop. Once the rapid flashing resumes you can release the reset button. The port LEDs will turn off indicating that the Special Operations Mode has been activated. Revision 0.03 17 Connect Tech Blue Heat/Net Sync User Manual Table 3: Available Special Operations Special Operation Force port scanning to first two ports (Scanning runs until current scanning delay setting times out. Default is 30 seconds). Force port scanning to all ports. (Scanning runs until the SCM is entered or until the unit is powered down. There is no time out). Restore factory default settings Number of presses (and binary representation) ONE press Usage TWO presses This forces all ports to RS-232 mode, therefore all ports are scanned for SCM use. The Blue Heat/Net Sync will behave in the same manner as an RS-232 only model (see note below). SEVEN presses This restores the factory default settings for ALL configuration parameters. This forces the first two ports to RS-232 mode, causing the SCM to scan these ports and thereby allowing access to the SCM (see note below). NOTE: Why would I need to force port scanning? Some line interface settings are inappropriate for SCM use. During boot up, the SCM scans only those ports set for RS-232 mode. If all of the ports are configured for another mode, (1/2 Duplex or Multi-drop) SCM port scanning is bypassed, and the SCM application cannot be accessed. Use of either of the “Force Port Scanning” operations outlined in Table 1 will force port scanning to occur so the SCM application can be accessed. Power On Diagnostics: LED Error Codes If an error is detected during the bootup process, an error condition and code are displayed on the LEDs on the face of the Blue Heat/Net Sync. • • The error condition is signaled by a rapidly flashing CPU LED (about 10 to 20 per second). The error code is displayed on Port LEDs 1 to 4 as a binary number. Figure 11: LED Error Code Example 18 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual In the above example, a rapidly flashing CPU LED during the boot up process signifies the Blue Heat/Net Sync has experienced an error. Port LEDs 1 through 4 signify which error has occurred. In this case, LED 2 and 3 are on, so the error code is 6. The chart below defines the error details for each error code. Table 4: LED Error Codes for Blue Heat/Net Sync Error Code and Event 1. Loader code in flash is erased. Details The regions of flash memory which hold the loader code are both erased. (There are two redundant loaders in flash that can be run). Suggested Corrective Action This may occur in when there are ESD disturbances or in electrically noisy environments. If this error persists it may be a hardware issue. Contact Connect Tech. See corrective action for error code 1. 2. Loader code in flash has a bad CRC. The regions of flash memory which hold the loader code both have CRC errors. (There are two redundant loaders in flash that can be run). 3. RAM copy of loader code has a bad The loader code is copied to RAM before execution. This error is shown if the RAM copy has a CRC error. See corrective action for error code 1. 4. Configuration Data Space (CDS) areas The CDS is copied from flash to RAM See corrective action for error code 1. CRC. have corrupted data (CRC failure). Revision 0.03 during the beginning of the loader code. If a CRC error is detected in the RAM copy, this error is shown. 19 Connect Tech Blue Heat/Net Sync User Manual image (uClinux) to run. This will occur when any of the enabled boot sources (flash or BOOTP/TFTP or TFTP) fail to obtain a valid compressed operating system image to run. 6. Unexpected return from the uClinux This error occurs if the operating system returns back to the loader. 5. Cannot obtain an operating system operating system. Check network connections, server computer or your unit's settings. This error occurs if TFTP booting is enabled and the Blue Heat/Net Sync cannot download the file from the server. Contact Connect Tech if it persists. See corrective action for error code 1. 7. CDS re-programming failure. Certain CDS items are updated during the bootup. If a failure occurs during the re-programming of the flash, this error will occur. See corrective action for error code 1. 8. Boot count could not be incremented This error is usually caused by a Flash memory failure. Contact Connect Tech. This message usually indicates a UART component failure. Contact Connect Tech. in flash memory 9. No ports found 20 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual 15. Mismatched CDS version number uClinux checks the CDS version number against its expected CDS version number. If they are different, uClinux does not continue its operation. If you have updated the uClinux code via SCM and have not updated the loader/SCM code, this error appears on reboot. Update companion loader code and reboot. SCM Cabling requirements SCM: Serial Configuration Manager The Serial Configuration Manager is used to configure the Blue Heat/Net Sync via a serial port and is discussed in greater detail later in this document. To access the Serial Configuration Manager you will need to connect an RS-232 (V.28) serial cable from your standard computer serial port to any RS-232 (V.28) port on the Blue Heat/Net Sync. The cabling required to connect to the Blue Heat/Net Sync is as follows: DB-25 M Connects to Blue Heat/Net Sync TX 2 RX 3 RTS 4 CTS 5 DSR 6 SR 7 DCD 8 DTR 20 RI 22 DB-9 F Connects to PC 1- DCD 2- RX 3- TX 4- DTR 5- GND 6- DSR 7- RTS 8- CTS 9- RI Figure 12: Blue Heat/Net Sync Serial Cable Connection Diagram The key signal connections are RX, TX and GND. The other signals may not be required in your application. If you are assembling your own SCM cable, we recommend that all of the above connections be made. Setting a Static or Dynamic IP Address Prior to configuring the Blue Heat/Net Sync, you must set a static or dynamic IP address. The default IP address of a new Blue Heat/Net Sync is 192.168.42.1. If there is a possibility that this has been changed, you will need to find the current IP address setting before you begin. The easiest way to get the IP address of your Blue Heat/Net Sync is as follows: Follow the steps outlined in the section Installing the Blue Heat/Net Sync Configuration Manager and noting your Blue Heat/Net Sync‟s IP number (i.e. A.B.C.D) using the Auto Discover Blue Heat/Net Sync feature. Revision 0.03 21 Connect Tech Blue Heat/Net Sync User Manual Set the IP Address Using the Web Configuration Manager NOTE: If you use the Windows Configuration Manager and use Auto Discover to locate your Blue Heat/Net Sync on the network, you can right-click and launch the Web Configuration Manager from there. You only need to use the route add command if you choose not to use the Configuration Manager found on the CD that accompanied your Blue Heat/Net Sync unit. From the command prompt of your computer, run: route add A.B.C.0 mask 255.255.255.0Be sure to replace the .D from the Blue Heat/Net Sync‟s IP with a 0 (zero). Open your browser and put the Blue Heat/Net Sync‟s IP in the address bar (i.e. A.B.C.D) This will open the WCM. Log in (default login is wcm and the default password is password) and assign the static IP or change the IP to 0.0.0.0 if you are using a DHCP assigned IP. Set the IP Address Using the Serial Configuration Manager Insert your CD into the computer and complete the following steps: 1. Once your CD has been inserted, the Driver/Software Installation menu should appear. If it doesn‟t, double-click on ctisetup.htm. 2. Click View in the Blue Heat/Net Sync Software section and then Connect in the Serial Configuration Manager section. This will launch HyperTerminal that comes with Windows XP. 3. Unplug the power to the Blue Heat/Net Sync and plug it back in. Light indicators 1 to 4 will blink sequentially. This sequential flashing will last for 30 seconds. You must log in during this window. 4. During this sequential flashing, type the word password into the HyperTerminal window. Be careful you do not miss the window of opportunity to enter the password. 5. You now have access to the Serial Configuration Manager (SCM). An scm> prompt is ready to accept commands. If you do not see this prompt, unplug the power and repeat the steps above. If you wish to set a dynamic IP address enter the following: net dhcp=yes save exit If you wish to set a static IP address, enter the following, substituting xxx.xxx.xxx.xxx with the static IP you wish to assign: net mip=xxx.xxx.xxx.xxx save exit Close the HyperTerminal. You may now disconnect the DB-25 cable from your PC and connect it to any serial device . 22 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Blue Heat/Net Sync Configuration The Blue Heat/Net Sync comprises several software components, each of which manages various functions of the Blue Heat/Net Sync. The following is a breakdown of these components. Operating System Software o Host Operating System Driver o Configuration Manager o Web browser (Host Operating System supplied) Blue Heat/Net Sync Software (Firmware) o Embedded Operating System (uClinux) Kernel Drivers Ethernet Serial Flash Blue Heat/Net Sync Ethernet Protocol Converter application (Ctid) Web server (Boa) Web pages Telnet services o PPP Client and PPP Server o Bootloader o Serial Configuration Manager (SCM) Application o Configuration Data Space (CDS) The following section describes in brief what each main component controls. Host Operating System Driver The host operating system driver performs the translation from a standard serial COM port interface to the Blue Heat/Net Sync protocol (which is then delivered to the LAN as described above). Configuration Manager This software manages and configures the relationships between the Blue Heat/Net Sync serial ports and the COM port assignments of the Host Operating System. Web Browser The host operating system supplies a Web Browser to support the Web Configuration Manager (WCM) used to change the configuration settings of Blue Heat/Net Sync units. Embedded Operating System The embedded operating system is uClinux. Bootloader This code first starts up the embedded processor of the Blue Heat/Net Sync from a power-up or software initiated reboot. It then obtains the embedded operating system image (file) from one of several locations and runs the operating system. Serial Configuration Manager (SCM) Application This application is used to change the configuration settings of Blue Heat/Net Sync units by connecting to a serial port on the Blue Heat/Net Sync from a terminal (or terminal emulation Revision 0.03 23 Connect Tech Blue Heat/Net Sync User Manual program on a PC). Configuration Data Space (CDS) This is the area, in non-volatile (flash) memory, which stores the configuration parameters. CDS (Configuration Data Space) Description The Blue Heat/Net Sync has a number of configuration parameters which are stored in a nonvolatile (flash memory) area. (See appendix for list of parameters). The CDS area is stored redundantly in the flash memory along with a CRC-style checksum to ensure data integrity. Access to CDS Parameters The parameters stored in the CDS can be changed through the use of the following configuration tools: SCM Serial Configuration Manager WCM Web Configuration Manager These three methods allow the user to change configuration parameters by the method that is most convenient. In some cases several methods will be employed during different stages of the setup of the Blue Heat/Net Sync. For example: The SCM may be employed in the beginning when the unit is not connected to a network and various networking parameters need to be set up prior to connection to a network. WCM may be employed after the unit is connected to a network, possibly to modify other settings related to serial ports, bootup settings or others. More information about the operation of the SCM Command Reference and WCM (Web Configuration Manager) follows. NOTE: When CDS parameters are changed via the SCM or WCM some settings will not take effect until the Blue Heat/Net Sync is rebooted. 24 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual SCM (Serial Configuration Manager) Description The Serial Configuration Manager is one of the applications you can use to access the Configuration Data Space (CDS) settings of the Blue Heat/Net Sync. Since the CDS stores the default serial port settings, it is important that the line mode is configured prior to first use. Accessing the ports will not be possible otherwise. Getting Access to the SCM To access the SCM, simply connect a serial port terminal device (or a PC running a terminal emulator program) to any of the serial ports on the Blue Heat/Net Sync and enter a correct Password. A command prompt is then sent to the terminal and CDS parameters can be changed using a command line style of entry. Blue Heat/Net Sync has configurable line interfaces. Certain settings can affect access to the SCM. The ports are scanned as follows: The default line mode setting of all ports is Undefined. Under these conditions, the first two ports are set to RS-232 mode during port scanning. Access to the SCM is available through these ports only (you should set all ports to a known state prior to use). When a port is set to something other than Undefined, any port with a setting of RS-232 or RS485 Full Duplex will be scanned. Otherwise, scanning is not performed and access to SCM is not available. NOTE: To access the Blue Heat/Net Sync via the SCM your serial line interface settings must be at the default values of 9600 baud, 8 data bits, no parity and 1 stop bit (9600, 8, n, 1). No flow control is recommended. In a situation where port scanning is not performed, you can still access the SCM using the push button reset on the back of the unit. Follow the instructions in the section Activating the Special Operations Mode and Default Settings to access the SCM in this situation See the section which describes how the Blue Heat/Net Sync boots for a complete description of the Bootup process of the Blue Heat/Net Sync and how to access the SCM. SCM Command Reference SCM commands are entered as strings of ASCII characters with options separated by whitespace characters. The entire command line is terminated by a CR character or CR/LF character pair. Command lines can be entered manually (via a terminal or a PC with terminal emulator program) or sent from an application program. If an SCM command is entered with no options specified, the command shows the syntax of its options and the current setting of those options. Brief Command List Revision 0.03 boot cfg exit help info net Bootup settings SCM operational settings Exits the SCM application (and optionally reboots the Blue Heat/Net Sync) Brief list of available commands and their syntax Blue Heat/Net Sync general information and flash verification Network settings 25 Connect Tech Blue Heat/Net Sync User Manual save update Save setting changes to non-volatile flash storage Download a new operating system via TFTP and flash, (uClinux) and loader/SCM image. Command Details boot Syntax: boot [mode=] [file=] [delay=] Description: This command establishes the Blue Heat/Net Sync boot-up mode. For a detailed description of the boot-up process of the Blue Heat/Net Sync, see How the Blue Heat/Net Sync Boots Up in the Appendix. Options: mode= A comma-separated list of the following sub-options. Each sub-option is preceded by either a + or a – to indicate if the sub-option is enabled or disabled. ±flash Enables or disables the ability to boot from the flash memory. ±bootp Enables or disables the ability to obtain the boot-up information from a Server. ±tftp Enables or disables the ability to download and boot from a file located on a Server. file= This option specifies the default file name used for the boot-up (if TFTP boot is enabled) and also the default file name when using the flos command. This can be any sequence of characters up to 128 characters in length. (The default is BHNuClinux_vvv.gz, where vvv is the current version number of the “Operating System image”). delay= This sets the time duration for accessing the SCM application. It can be set from 2 to 30 seconds, the default is 30. (See the section How the Blue Heat/Net Sync Boots Up for more information). cfg Syntax: cfg [port=] [timeout=] [password=] [prompt=] [file=] Description: Establishes the settings used by the SCM application to modify its behavior. Options: port= Specifies the port number to scan for a password to gain entry in the SCM. N = Scan just port N (N=1 to the number of ports on the unit). 255 = Scan all ports on the unit (default unless unit has programmable line interfaces). timeout= Specifies the time duration allowed for a TCM (via telnet) session to be idle (no activity) before the session is terminated. 0 to 1092 minutes (default = 5) Note: A setting of zero allows infinite timeout. NOTE: The TCM function is currently not available with this product. 26 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual password= This sets the password phrase, which is used to gain access to the SCM and WCM modes of configuring the Blue Heat/Net. The default is “password”. prompt= This setting controls whether a password prompt (and other password entry status information) is presented to the terminal. This prompting is helpful for new users of the product but may present a problem when other devices are connected to the serial port. yes enables the password prompting (default) no disables the password prompting file= This sets the file name used as a default when using the flldr command. It can be any sequence of characters up to 128 characters in length. (The default is “BHNloader_vvv.gz”, where vvv is the current version number of the “Loader”). exit Syntax: exit [-nosave] [-no_reset][-login] Description: This command is to exit the SCM and reboot the Blue Heat/Net Sync. If CDS changes have been made a warning message is issued and the SCM will not exit. Options: -nosave Exit without saving changes (abandon changes). -no_reset Exit SCM without rebooting, maintaining the changes to settings for this session only. (Booting is continued after the SCM is exited.) -login Exit without saving changes, and restart the SCM login process. help Syntax: help Description: Displays a brief list of all the commands. Options: There are no options for the help command. Please note that specific help for the options of each command can be obtained by entering any command with a single “?” argument. An example would be net ? Syntax: info [-v] Description: This command is used to show basic information about the Blue Heat/Net Sync unit, like Serial Number and Version Numbers, and performs a confidence (CRC and Decompression verification) test of the contents of the flash memory. Options: -v This option disables the confidence tests. Syntax: net info net Revision 0.03 [network= | net=] 27 Connect Tech Blue Heat/Net Sync User Manual [my_ip= | mip=] [server_ip= | sip=] [gateway_ip= | gip=] [subnetmask= | snm=] [broadcast_ip= | bcip=] [dns_ip=] [domain=] [host name=1 host=] [tcp=] [mac=] [dhcp=] Description: Establishes the network settings. Options: network= | net= Sets the “network” portion of the IP address into my_ip, server_ip and gateway_ip. The address entered is masked by the subnet mask setting before being applied. This command is a shortcut for quickly setting all the IP addresses of the unit. See note below. my_ip= | mip= This sets the IP address of the Blue Heat/Net Sync unit (default is 192.168.42.1). See note below. server_ip= | sip= This sets the Server IP address. This address determines the address of the Server to use when the Bootp and tftp mode is enabled (see boot command), and also as the default Server address to use for the update commands (default is 0.0.0.0). See note below. gateway_ip= | gip= This sets the Gateway IP address. This address is used when the Bootp mode is enabled, default is 0.0.0.0. See note below. subnetmask= | snm= This sets the Subnet mask IP address. (The default is 255.255.255.0) See note 1. broadcast_ip= | bcip= This sets the Broadcast IP address. This is used when the Bootp mode is enabled. (The default 255.255.255.255). See note below. dns_ip= This sets the IP of Domain Name Server. (The default is 0.0.0.0). This must be set to update the Blue Heat/Net Sync firmware automatically from Connect Tech‟s anonymous ftp server. domain= This sets the Domain name of the unit. (The default is blueheat.net) Host name=1 host = This sets the Host name of the Blue Heat/Net Sync unit. (The default is BHNssssssss, where “ssssssss” is the serial number of the unit). tcp= This sets the base TCP port number used for Host TCP/IP and UDP/IP communications. The default is 49152 (0xC000) 28 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual mac= This displays the MAC address of the unit. (The default is 00:0C:8B:SS:SS:SS, where SS:SS:SS is the hex value of the serial number of the unit). Note: The MAC address cannot be changed, it can only be displayed. dhcp= This enables or disables DHCP support. yes enables no disables (default) NOTES: All IP addresses are entered in common IP address notation: ddd.ddd.ddd.ddd where ddd is a decimal number from 0 to 255. IP address “my_ip, server_ip, gateway_ip and dns_ip” can be entered right justified, meaning that the address entered will be applied to the specified address starting from the least significant digit, masked by the subnet mask. For example: If the subnet mask is set to 255.255.255.0, and the following command is entered: net net=12.23.34.00 mip=45 sip=56 gip=67 dns_ip=89 The following IP addresses result: the Blue Heat/Net Sync unit will be 12.23.34.45 the Server will be 12.23.34.56 the Gateway will be 12.23.34.67 and the DNS IP will be 12.23.34.89 save Syntax: save Description: This command saves the setting changes into the CDS in the non-volatile (flash) memory. Options: (none) Syntax: update <-os | -loader | -jffs> [server_ip= | sip=] [file=] Description: Download and store (in flash memory) a new uClinux Operating System image or a new Loader/SCM image. The download is conducted by a TFTP download from a Server. After download the image file is checked as being a valid gzip file (file is decompressed to validate its contents), and then the file is stored in flash memory. The OS file is stored in flash in its compressed form, but the Loader is stored uncompressed. Options: -os | -loader | -jffs Use -os to update the uClinux OS. Use –loader to update the loader/SCM. Use –jffs to update the JFFS system (Journaling Flash File System). update Revision 0.03 29 Connect Tech Blue Heat/Net Sync User Manual server_ip= | sip= Specify the Server IP address from which the file is to be downloaded. file= Specify the file name to download. If the –jffs option is chosen, then the file= option is mandatory. NOTE: After downloading, the image is checked to ensure the file is correctly formatted. If the file is bad the command exits. The version is checked against your current version. If they match, you will be prompted to choose if you wish to program the flash. Enter “y” to continue. If the version is different, the new version needs to be saved with the save command when the update is finished. When the JFFS is updated, all previous contents are destroyed. Only use this option when updating to a Blue Heat/Net Sync that supports Personality settings. 30 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual WCM (Web Configuration Manager) Signing In to the Web Configuration Manager You will need to know the IP address of your Blue Heat/Net Sync unit before you use the Web Configuration Manager. Use the Serial Configuration Manager to assign the Blue Heat/Net Sync a valid IP address, or tell the Blue Heat/Net Sync to use DHCP to automatically obtain an IP address. Please refer to the SCM Command Reference documentation for information on how to do this. Once you know your IP address, open your web browser and go to: http://_your_ip_address_/ or http://www.hostname.com/ You will arrive at the Blue Heat/Net Sync Web Configuration Manager Sign In page. The default username is wcm. Leave this name as is. The default password is password. Use this username/password combination and click the Sign In button to log on to the Web Configuration Manager. Figure 13: Web Configuration Manager Sign In Once you have signed in, you should immediately change the default password. At this point you should be directed to the Web Configuration Manager homepage. To sign out of the Web Configuration Manager, just click on the Sign Out link on the upper right hand side of the Web Configuration Manager. Revision 0.03 31 Connect Tech Blue Heat/Net Sync User Manual Figure 14: Blue Heat/Net Sync Settings 32 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Configure Advanced Serial Settings The Web Configuration Manager also allows you to configure more advanced serial port properties. These advanced properties will allow you to configure the XOn Character, XOff Character, Break Character, Escape Character, Error Character and Event Character, and Transmit Load Setting for each serial port. Further, you will be able to specify whether you want to enable Null Stripping or RTS Toggle for a particular port as well as the option to enable or disable the Break, Event and Error characters. By default, all advanced serial properties are disabled. You should only use these advanced properties if you require them. You are required to use the ASCII representation of characters using the respective hexidecimal values. For example, if you wanted your XOn character to be capital 'A', you would specify a hex value of 41. We have provided you with an ASCII table on the Advanced Serial Port Properties page for your convenience. Click on the ASCII Table link, and an ASCII table will open in a new window. Each serial port parameter has been abbreviated due to space constraints. We have provided another link which describes the abbreviated parameter descriptions. Click on the Parameter Descriptions link, and a new window will open which contains a description of each parameter. Configure Blue Heat/Net Sync Settings This section provides various Blue Heat/Net Sync Configuration options, and shows you the saved versus current settings. The details for each configuration option are provided below: • Flash Enabled: This option enables or disables the ability of the Blue Heat/Net Sync to boot-up from flash memory. • Bootp Enabled: This option enables or disables the Blue Heat/Net‟s ability to obtain boot-up information from the server (see "Server IP Address" below). • TFTP Enabled: This option enables or disables the ability to download and boot from a file located on a server (see "Server IP Address" below). • DHCP Enabled: This option enables or disables the use of DHCP. If DHCP is enabled, the Blue Heat/Net Sync will attempt to automatically obtain an IP address. If DHCP is disabled, you must manually specify an IP address for the Blue Heat/Net. • Configuration Port: This option sets the port to scan for the password to gain entry into the Serial Configuration Manager. You can specify a particular port, or specify the Scan All Ports option. In this case the Blue Heat/Net Sync will scan all ports for the password when the Blue Heat/Net Sync is booting. The default setting is Scan All Ports. Session Timeout: This option specifies the time allowed between web page navigation. The default session timeout is 5 minutes. This means if the Web Configuration Manager has not received any requests for more than 5 minutes, you will be automatically logged out. You can set the timeout from 1 minute to 2 hours, or disable the session timeout all together by selecting the Disable Timeout option. Boot Delay: This option specifies time allowed for gaining access to the Serial Configuration Manager while the Blue Heat/Net Sync is booting. The time ranges from 2 seconds to 30 seconds. The default setting is 30 seconds. • • Revision 0.03 33 Connect Tech Blue Heat/Net Sync User Manual • • • • Server IP Address: This option sets the server IP address. This is used as the Server address to use when bootp mode or TFTP mode is enabled. The default Server IP address is 0.0.0.0 Blue Heat/Net Sync IP Address: This option sets the IP address of your Blue Heat/Net. The default IP address for your Blue Heat/Net Sync is 192.168.42.1 Domain Name: This option sets the domain name of your Blue Heat/Net. The default domain name is blueheat.net. Host Name: This option sets the hostname of your Blue Heat/Net. The default hostname is BHNssssss, where ssssss is your Blue Heat/Net Sync serial number. • Gateway IP Address: This option sets the Gateway IP address for your Blue Heat/Net. The default Gateway IP address is 0.0.0.0 • Broadcast IP Address: This option sets the Broadcast IP address. The default Broadcast IP address is 255.255.255.255. Subnet Mask: This option sets the Subnet mask IP address. The default Subnet mask IP address is 255.255.255.0. • • Bootfile Name: This option specifies the default file name which will be used for Blue Heat/Net Sync boot-up, if TFTP is enabled. If TFTP is enabled, the Blue Heat/Net Sync will attempt to download the bootfile you specify from a Server IP address you specify (see "Server IP Address" above). The bootfile name should reference a valid uClinux kernel image. If TFTP is enabled, the Blue Heat/Net Sync unit will attempt to download this image, and will also attempt to decompress the image and run it. • TCP Port: This option allows you to change the starting local TCP port that is used to service clients connecting to the Blue Heat/Net Sync unit. The default TCP port is 49152. When altering the TCP port on the Blue Heat/Net Sync unit, you must also alter it on the user‟s side. • Domain Server IP Address: This option sets the Domain Name Server IP address. The default DNS IP address is 0.0.0.0. After you've made any necessary configuration changes, click the Submit button at the bottom of the page. A confirmation page will show up confirming the Blue Heat/Net Sync changes. 34 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Figure 15: Configuring Blue Heat/Net Sync Settings Configure Firmware This section enables you to download new firmware to the Blue Heat/Net Sync unit. Select a download source and a specific firmware file path, if applicable, and then submit the download request. This section also provides a link to reboot your Blue Heat/Net. This is standard procedure after installing new firmware. Figure 16: Firmware Upgrades/Downloads Restore Defaults The Restore Defaults page enables you to quickly reset all or some of the default basic, advanced, security, Blue Heat/Net Sync or system settings of your Blue Heat/Net Sync. Revision 0.03 35 Connect Tech Blue Heat/Net Sync User Manual NOTE: This function is not currently operational. Figure 17: Restore Default Settings Saving To Flash When you make configuration changes, the changes are stored temporarily in memory. If you reboot your Blue Heat/Net Sync at this point, any configuration changes you made will be lost. To permanently save your changes, you need to save them to flash. In order to do this, click the Save to Flash button on the upper right-hand side of the Web Configuration Manager page. If there are changes that need to be saved, the Save To Flash button will be yellow. Click the Submit button to permanently save any configuration changes to the flash memory so they will be present when you reboot your Blue Heat/Net. 36 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Figure 18: Saving To Flash If you haven't made any configuration changes, the Save To Flash button will remain grey. Monitoring Your Blue Heat/Net The Blue Heat/Net Sync WCM lets you monitor serial port activity, network traffic and TCP/IP statistics as well as providing hardware and software details for your Blue Heat/Net Sync unit. Monitor Serial Port Traffic This page allows you to monitor your serial port traffic. For each Blue Heat/Net Sync port, you can view the number of bytes transmitted, received, whether the port is using flow control, if there are any Parity/Framing/Overrun errors, and which remote IP address is connected to your serial port. If ports are active (open) they are shown in green, while inactive (closed) ports are shown in grey. NOTE: This function is not currently operational. Figure 19: Monitoring Serial Port Activity Revision 0.03 37 Connect Tech Blue Heat/Net Sync User Manual Monitor Network Traffic This page allows you to view all network activity on your Blue Heat/Net. For each active network connection, you can view the local IP address and port, the remote IP address and port, the status of the connection, the protocol being used, as well as the number of queued transmit and receive bytes. Figure 20: Monitoring Network Traffic Monitor TCP/IP Statistics This page allows you to view TCP, IP, UDP and ICMP statistics for your Blue Heat/Net Sync. This page also has a link which describes each of the network statistic parameters. Simply click on the Parameter Descriptions link, and a new window will open up which contains a description of each parameter. Figure 21: Monitoring TCP/IP Statistics My Blue Heat/Net Sync This page provides you with three display options: Hardware, Software and Performance. 38 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Use this link to find information such as device serial number, runtime software versions and firmware versions. Figure 22: My Blue Heat/Net Sync Hardware Details Figure 23: My Blue Heat/Net Sync Software Details Revision 0.03 39 Connect Tech Blue Heat/Net Sync User Manual Software Installation for Windows The Blue Heat/Net Sync is designed for easy installation and set up. This section deals with installing and using the Blue Heat/Net Sync software to communicate with your Blue Heat/Net Sync. To do so, you will use the CD included with the Blue Heat/Net Sync to install the Configuration Manager on your computer. The Blue Heat/Net Sync Configuration Manager will allow you install the Blue Heat/Net Sync on your local system, and map and configure the Blue Heat/Net Sync‟s communication ports. NOTE: Software support for Windows is still in development Installing the Blue Heat/Net Sync Configuration Manager The Blue Heat/Net Sync Configuration Manager is a tool to control your Blue Heat/Net Sync from your local Windows operating system. To install the Blue Heat/Net Sync Configuration Manager on your computer, insert the CD provided with your Blue Heat/Net Sync into the disk drive. You should see this window in your browser: Figure 24: Blue Heat/Net Sync Driver/Software Installation CD NOTE: Windows XP SP2 users should read the SP2 info prior to installing the Configuration Manager Select View from the Blue Heat/Net Sync software. It will bring you to the following screen. Click Install to begin the Configuration Manager installation. Ensure you choose Open or Run when the File Download window appears and asks if you‟d like to open the file or save it to your computer. 40 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Figure 25: Blue Heat/Net Sync Software Installation Screen Revision 0.03 41 Connect Tech Blue Heat/Net Sync User Manual The Blue Heat/Net Configuration Manager Setup Wizard will begin. Click Next to start. Next you will have the option to launch the configuration manager after installation. 42 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual The installer will install the Configuration Manager into C:\Program Files\CTI\Blue Heat Net. If you‟d prefer an alternate location, specify in the space provided, or click Browse to locate the new folder. Click Next. You will then be prompted to confirm you wish to install the Configuration Manager. Select Next to begin. When the Installation Complete window appears, the Configuration Manager has been successfully installed. Click Close to exit the installation wizard. Revision 0.03 43 Connect Tech Blue Heat/Net Sync User Manual Running the Configuration Manager If you chose the option to launch the Blue Heat/Net Sync Configuration Manager after installation, the main Configuration Manager window should now be open on your screen. If you did not, you can launch it from the CTI default folder or whichever folder you chose during the installation. Figure 26: My Blue Heat/Net Sync Places Screen Device Installation Select My Blue Heat/Net Sync Places from the main Configuration window. (NOTE: If there is no Blue Heat/Net Sync installed, you will be prompted to auto discover a Blue Heat/Net Sync on your network. If you choose to do so, click Yes and then jump ahead to the Auto Discover Blue Heat/Net Sync section) Right-click on My Blue Heat/Net Sync Places or click on the Action menu to pull up the sub menu options. There are three ways to install a Blue Heat/Net Sync device: Configure Default Blue Heat/Net Sync, Add New Blue Heat/Net Sync or Auto Discover Blue Heat/Net Sync. 44 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Configure Default Blue Heat/Net Sync You can choose this option when your Blue Heat/Net Sync still has a factory default IP address of 192.168.42.1. It will launch the Web Configuration Manager for this IP address, enabling you to configure your Blue Heat/Net Sync as outlined in the Web Configuration Manager. Figure 27: Add or Auto Discover Blue Heat/Net Sync Menu Screen Add New Blue Heat/Net Sync You can add a Blue Heat/Net Sync by specifying its IP address or MAC address. If you specify an IP address, the Configuration Manager will connect to that specific Blue Heat/Net Sync and the configuration information for installation. If it cannot connect, it will not install the unit. The Blue Heat/Net Sync may get the IP address from DHCP server or it can be manually fixed. The Configuration Manager will use 49152 as the default TCP port. This value is configurable. If you specify a MAC address (located on the underside of the device), the Configuration Manager will use the auto-discover mechanism to retrieve the information for installation. The auto-discover mechanism uses UDP broadcast, so the unit must be located on the local network to install via MAC address. The Configuration Manager will use 49152 as the default UDP port. This value is configurable. Figure 28: Add Blue Heat/Net Sync Screen Revision 0.03 45 Connect Tech Blue Heat/Net Sync User Manual Auto Discover Blue Heat/Net Sync The auto discover will broadcast a message to all the Blue Heat/Net Sync devices on your network. Upon receiving the broadcast packet, the Blue Heat/Net Sync device will respond. Click the Auto Discover button to search for Blue Heat/Net. The searching domain can be changed by checking Use Specific Broadcast IP and entering an IP address domain in the IP address box. The broadcast packet will use the default UDP port 49152, but it can be changed in the Blue Heat/Net Sync configuration. The Stop button will end the search. Figure 29: Auto Discover Blue Heat/Net Sync Screen Auto Discover will list any Blue Heat/Net Sync on your network, along with Blue Heat/Net Sync's serial number, IP address, host name, number of available ports and the MAC address. To install a Blue Heat/Net Sync check the appropriate box under Serial # column and then click OK. Right click for more options, including the option to launch the Web Configuration Manager. 46 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Firmware Upgrades If you need to re-install your current firmware, it is located in the firmware directory of the CD you received with your Blue Heat/Net Sync. Newer firmware versions are available from Connect Tech‟s website, http://www.connecttech.com/asp/Support/DownloadZone.asp. Choose Blue Heat/Net Sync product. Ensure the following parameters are set: mip, sip, gip and dns_ip using the SCM. To upgrade your Blue Heat/Net Sync firmware, you can use any of the following three methods, depending on your preference. Upgrade using WCM (Web Configuration Manager) The Web Configuration Manager is the easiest way to upgrade your firmware. Simply log onto the WCM as described in the WCM (Web Configuration Manager) section, and click on the Firmware link on the left menu. This will bring you to the Firmware page. You will have the option to upgrade from the remote CTI website, or to download the upgrade from a local FTP server. If you choose to upgrade via a local FTP server, copy the firmware (*.tar) file to the anonymous directory of a local FTP server. If you do not have a local FTP server, contact your system administrator to set one up. Upgrade using SCM (Serial Configuration Manager) The SCM method of upgrading is used when the Blue Heat/Net Sync does not boot properly. You can reinstall your original firmware from the supplied CD, or you can download any newer versions that exist from the CTI website in the http://www.connecttech.com/asp/Support/DownloadZone.asp or go directly to the FTP site as indicated below. You will need the use of a TFTP server. (Contact your system administrator to obtain access to a TFTP server). Download the most recent firmware components from the FTP site ftp://ftp.connecttech.com/pub/BHN/ . These files include BHNuClinux_X.XX.gz, BHNloader_VXXX.gz and BHNjffs2_X.XX.gz. These files contain all of the Blue Heat/Net Sync firmware. Follow the update command instructions for the SCM Command Reference to update each component. Revision 0.03 47 Connect Tech Blue Heat/Net Sync User Manual Software Development Hardware Information The information provided in this section will offer data pertaining to the hardware components present within the Blue Heat/Net Sync unit. Hardware information documentation will encompass hardware resources, base address map, memory map and table, as well as, PLD registers. Hardware Resources The hardware resources available for use in software development for the Blue Heat/Net Sync, include; chip selects, interrupts, ColdFire MCF5272 GPIO. Chip Selects Chip Select * /CS0 Usage This chip select is used to boot the CPU from the Flash. The Flash is 8M Byte in size. Data Bus Width 16 bits Address Range 0xFE00 0000 – 0xFE80 0000 Cycle Termination - Internal WS logic. - 5 wait states. 8 Mbytes /CS1 Used to select the IUSCs and the internal PLD registers. 16 bits 0x4000 0000 – 0x4000 2000 External /TA signal /CS2 Dual Ported RAM. 32k Bytes total size 16 bits 8 kbytes 0x8000 0000 – 0x8000 8000 External /TA signal /CS2 Undefined. For future expansion or debugging purposes. Available on debug header P11 on page 8 of Schematic Used for SDRAM. The SDRAM is 16M Bytes in size. Undefined, but could be 8 or 16 bits /CS7 32 bits 32 kbytes Undefined. Undefined. 0x0000 00000x0100 0000 Internal WS logic and SDRAM controller. 16 Mbytes Table 5: Chip Selects 48 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Interrupts INT * /INT1, /INT2 Usage IUSC logically or-ed interrupts. IUSC Interrupts can be muxed to any of the two INTs. One use is to mux all ports configured for Async mode to one IRQ and all ports configured for Sync mode to another interrupt. This should facilitate better software architecture and operation. /INT3 PLD Interrupt. To support miscellaneous PLD section functions. /INT6 Ethernet PHY Interrupt. Same PHY as other MCF5272 based Blue Heat/Net models. * INTs are active low. Unused interrupts are pulled up to V+. Table 6: Interrupts ColdFire MCF5272 GPIO GPIO Bit(s) * PA0 – PA4, PA6 PA5 Direction Undefined PA8 – PA11 PA13 Input Input PA14 Output Usage Undefined. For future expansion or debugging purposes. Available on debug header P11 on page 8 of Schematic CPU Status LED. 1 = LED Off 0 = LED On. PCB ID. Should be 0x4, for BHN Sync 4 Port. Pushbutton input. 1 = not pushed 0 = pushed Software forced hardware reset. 1 = Not reset. When setting up this GPIO, be sure to set port to a „1‟ before changing direction to output. 0 = forces a hardware reset Output Table 7: ColdFire MCF5272 GPIO * All unused GPIO is pulled up with a pullup resistor. Base Address Map Item ColdFire MBAR Internal SRAM (4k Byte) IUSC 0 IUSC 1 IUSC 2 IUSC 3 PLD registers DPR (32k Byte SRAM) Flash (8 M Byte ) Address Range (hex) 1000 0000 2000 0000 4000 0000 4000 0400 4000 0800 4000 0C00 4000 1000 8000 0000 FE00 0000 Table 8: Base Address Map Revision 0.03 49 Connect Tech Blue Heat/Net Sync User Manual Memory Map of IUSC and PLD Functions ColdFire (5272) Bus: A ColdFire CS# signal is used to select the entire region, setup with the following attributes… 8K (8192) byte region 16 Bit bus Use TA# signal to terminate the bus cycle (this places wait state generation in the hands of the PLD logic). o CSBR.EBI = 00b selects 16/32 SRAM/ROM mode o CSBR.BW = 10b selects 16 bit bus o CSOR.WS = 0x1F selects the use of the TA# signal o CSOR.BAM = as required selects size of region o CSOR.BA = as required sets 32 bit Base address of the region o ColdFire Bus Addresses A0 through A12 are used to “address” all items A[12] divides the region into 2 (4096 byte) areas IUSC Access: A[12] Must be zero (0). A[11..9] Are decoded into 8 functions which access the 4 IUSC devices A11 A10 A9 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 IUSC selected 0 0 1 1 2 2 3 3 Function Register Read/Write Interrupt Acknowledge Register Read/Write Interrupt Acknowledge Register Read/Write Interrupt Acknowledge Register Read/Write Interrupt Acknowledge Notes Write not allowed [1] Write not allowed [1] Write not allowed [1] Write not allowed [1] [1] A write to these addresses are ignored, but the ColdFire bus cycle is properly terminated. A[8] Is “connected” (inverted) to the IUSC S//D pin 0 = Selects “Serial Controller” registers in the IUSC device. 1 = Selects “DMA” registers in the IUSC device. A[7] Is “connected” to the IUSC D//C pin 0 = Selects Serial “Control” registers 1 = Selects Serial “Data” registers A write places data into the Transmitter FIFO A read removes data from the Receiver FIFO The word “connected” above, is used loosely to mean… The address bit is routed from the ColdFire bus to the indicated IUSC pin via the logic in the PLD. A[6] Is not used (set to zero for all operations). 50 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual A[5..1] Addresses IUSC registers (see Memory Map Table below). A[0] Not used explicitly, A0 (along with BS0# and BS1#) select byte size portions of IUSC registers. PLD Resource Access: A[12] Must be one (1). A[11..5] Are not used. A[4..2] Are decoded into selections of internal PLD “registers”. A4 0 A3 0 A2 0 Function Real Time Clock 0 0 0 1 1 1 1 0 1 1 0 0 1 1 1 0 1 0 1 0 1 LED Control Port-1 Line I/F control Port-2 Line I/F control Port-3 Line I/F control Port-4 Line I/F control Control Status Notes 32 bit read/write (16 bit portions also accessible) 16 bit read/write only 16 bit read/write only 16 bit read/write only 16 bit read/write only 16 bit read/write only 16 bit read/write only 16 bit read only A[1] Is used to select the 16 bit portions of the Real Time Clock register. A[0] Is not used. PLD Memory Map Table Address Offset (in hex) 000 002 004 006 008 00A 00C 00E 010 012 014 016 018 01A 01C 01E 020 Revision 0.03 Area (item) Accessed Register Accessed IUSC Area IUSC-0 IUSC-0 Sreg [1] IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg CCAR CMR CCSR CCR PSR PCR TMDR TMCR CMCR HCR IVR IOCR ICR DCCR MISR SICR RDR(TDR) Notes 8/16 bit Serial Data (byte/word) 51 Connect Tech Blue Heat/Net Sync User Manual Address Offset (in hex) Area (item) Accessed Register Accessed Notes Writes go to the Transmitter FIFO Reads come from the Receiver FIFO 022 024 026 028 02A 02C 02E 030 IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg RMR RCSR RICR RSR RCLR RCCR TCOR TDR(RDR) 032 034 036 038 03A 03C 03E 040 07F 080->09F IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg IUSC-0 Sreg --IUSC Data FIFO‟s (32 bytes) TMR TCSR TICR TSR TCLR TCCR TC1R --RDR/TDR IUSC-0 Dreg [2] IUSC-0 Dreg --IUSC-0 Dreg IUSC-0 Dreg --IUSC-0 Dreg IUSC-0 Dreg --IUSC-0 Dreg IUSC-0 Dreg IUSC-0 Dreg IUSC-0 Dreg --IUSC-0 Dreg IUSC-0 Dreg IUSC-0 Dreg --IUSC-0 Dreg IUSC-0 Dreg IUSC-0 Dreg --IUSC-0 Dreg --IUSC-0 Dreg DCAR TDMR --DCR DACR --BDCR DIVR --DICR CDIR SDIR TDIAR --TBCR TARL TARU --NTBCR NTARL NTARU --RDMR --RDIAR 0A0 0FE 100 102 104 106 108 10A 111 112 114 116 118 11A 11C 11E 120 129 12A 12C 12E 130 139 13A 13C 13E 140 181 182 184 19D 19E 52 8/16 bit Serial Data (byte/word) Writes go to the Transmitter FIFO Reads come from the Receiver FIFO Aliases of addresses 00 3F 16 bit Serial Data transfers ONLY!! Writes go to the Transmitter FIFO Reads come from the Receiver FIFO (useful for block data movements) Aliases of 080->9F Reserved, do not access Reserved, do not access Reserved, do not access Reserved, do not access Reserved, do not access Reserved, do not access Reserved, do not access Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Address Offset (in hex) 1A0 1A9 1AA 1AC 1AE 1B0 1B9 1BA 1BC 1BE 1C0 1FF 200 202 3FF 400 5FF 600 602-7FF 800 9FF A00 A02 BFF C00 DFF E00 E02 FFF Area (item) Accessed Register Accessed --IUSC-0 Dreg IUSC-0 Dreg IUSC-0 Dreg --IUSC-0 Dreg IUSC-0 Dreg IUSC-0 Dreg --IUSC-0 IUSC-0 --RBCR RARL RARU --NRBCR NRARL NRARU --- Reserved, do not access As Above Same registers as addresses 000 1FF Interrupt Acknowledge (read only) Aliases of 600 As Above --- Same registers as addresses 000 1FF Interrupt Acknowledge (read only) Aliases of A00 As Above ----- Same registers as addresses 000 1FF Interrupt Acknowledge (read only) Aliases of E00 IUSC-1 IUSC-1 IUSC-1 IUSC-1 IUSC-2 IUSC-2 IUSC-2 IUSC-2 IUSC-3 IUSC-3 IUSC-3 IUSC-3 PLD Area 1000 RTCU 1002 RTCL 1004 LEDC 1006 1008 LIFC1 100A 100C LIFC2 100E 1010 LIFC3 1012 1014 LIFC4 1016 1018 PLD_CNTRL 101A 101C PLD_STATUS 101E 1020 1FFF [1] Sreg = Serial Register [2] Dreg = DMA Register Revision 0.03 Notes Reserved, do not access Reserved, do not access Interrupt Acknowledge (read only) Aliases of 200 See “PLD Registers” for details. Real Time Clock Upper Real Time Clock Lower LED Control Alias of 1004 Port-1 Line I/F control Alias of 1008 Port-2 Line I/F control Alias of 100C Port-3 Line I/F control Alias of 1010 Port-4 Line I/F control Alias of 1014 Control Bits Alias of 1018 Status bits Alias of 101C Unused 53 Connect Tech Blue Heat/Net Sync User Manual PLD Registers: Offset Reg Name R/W Valid Bit Bit Descriptions 1000 RTCU Real Time Clock Upper R/W D15..0 Control Bits: Read/Write only as a 16 Bit word. 15 14 13 12 11 10 Msk1 MP MPP MPO IntEN SE Msk1: MP: MPP: MPO: IntEN: SE: EXT: ME: 1002 1004 RTCL Real Time Clock Lower LEDC LED Control Register R/W R/W D15..0 D15..0 0000 9 EXT 8 ME 7 Msk0 6 X 5 X 4 H4 3 H3 2 H2 1 H1 0 H0 On writes, set this bit to mask bits 14..8. This prevents previous settings of bits 14..8 from being changed. Minute Pulse (read only): Current State of Minute-Pulse signal (at the time of the read). Minute Pulse Pending (read only): This bit is set to the same state as the MPO bit (when the MPO bit is written). When the MPO is written high, this bit goes low (=0) when the next selected Minute-Pulse edge occurs. Minute Pulse Once: When low (=0), the selected Minute-Pulse edge always resets the Seconds value. When high (=1) the RTC increment is inhibited, then when the first selected Minute-Pulse edge occurs, the Seconds value will be zeroed, the MPP bit will be cleared and the RTC increment will be enabled. All subsequent Minute-Pulses edges will be ignored. Clock Interrupt Enable: Enable an interrupt to occur on each clock increment pulse. The Interrupt is cleared by reading (or writing) the RTC Lower Word (the Minutes/Seconds counter) or by disabling the interrupt. There is a dedicated interrupt signal to the Coldfire for the RTC interrupt. Seconds-Pulse Edge Select: Selects the edge (of the Seconds-Pulse) which causes the RTC increment, 0=falling, 1=rising. External Time Base Select: 0=Internal Timebase (1 Hz), 1=External Timebase. Minute Edge select: Selects the edge (of the Minute-Pulse) which causes the RTC Seconds counter to be reset, 0=falling, 1=rising Msk0: On writes, set this bit to mask bits 6..0. This prevents previous settings of bits 6..0 from being changed. H4..0 Hours Setting, or reading (a number between 0 and 23). Control Bits: Read/Write only as a 16 Bit word. 15 14 13 12 11 10 9 8 7 6 5 4 3 Msk X M5 M4 M3 M2 M1 M0 Msk X S5 S4 S3 1 0 Msk1: M5..0: On writes, set this bit to mask bits 14..8. This prevents previous settings of bits 14..8 from being changed. Minute Setting, or reading (a number between 0 and 59) Msk0: S5..0 On writes, set this bit to mask bits 6..0. This prevents previous settings of bits 6..0 from being changed. Second Setting, or reading (a number between 0 and 59). 0000 2 S2 1 S1 0 S0 Control Bits: Read/Write only as a 16 Bit word. 15 X 14 X P4, P4, P2, P1 Direct Mode: Auto Flash Mode: X= 54 Reset Values (Hex) 13 X 12 X 11 X 10 X 9 X 8 X Auto Flash Mode 7 6 5 P4 P3 P2 4 P1 Direct Mode 3 2 P4 P3 1 P2 Port numbers 1= LED on, 0 = LED off 1=LED on for 40ms / off for 40ms, 0=No effect Don‟t care, fixed to 0. Revis 0 P1 0000 Connect Tech Blue Heat/Net Sync User Manual 1008 100C 1010 1014 LIFC1,2,3,4 Line Interface Control 1008= Port 1 100C = Port 2 1010 = Port 3 1014 = Port 4 R/W D15..0 Control Bits: Read/Write only as a 16 Bit word. 15 14 13 12 11 X DCDC DCDS ES FSM 10 CTSC 9 CTSM1 8 CTSM0 7 RTS 6 DC 5 42W 4 DM 3 SPT 2 SP2 1 SP1 0 SP0 Important Note: These control bits are transferred to ALL the Line Interface PLD‟s by a serial interface. On each write to any of the 4 control registers, a serial transfer is started. The transfer takes about 16uS to complete. During this time NO write can occur to any of the 4 registers. A Busy signal is available to indicated that the transfer is in progress. (See the PLD_STATUS Register, below). Basic Line Mode Control bits: SP[2..0] SP508 Line Mode setting bits: See information in SP508 Data sheet. Power-up state=[111]. SPT SP508 Terminator Enable: 0=disable terminator, 1=enable terminator Duplex Control and RTS Pin Control bits: DM Duplex Mode selection: 0=Full, 1=Duplex. 42W 4/2 Wire mode selection: 0=2wire (or ½ Duplex), 1=4wire (or Multi-Drop Slave). DC Duplex Control Source: 0=RTS signal from IUSC, 1=TXComplete signal from IUSC. RTS RTS Pin Source Selection: 0=RTS signal from IUSC, 1=TXComplete signal from IUSC. Notes: When Full Duplex mode is selected the “42W” and “DC” bits settings can be changed but are ignored. Triggered/Gated Transmission Control Bits CTSM and FSM FSM CTSM[1] CTSM[0] X 0 0 0 X X 0 0 1 1 0 1 X 1 0 FSYNC# pin on IUSC --Driven directly from Trigger input signal (inverted) --- FSYNC Pulsed for 5 or 1 Transmitter clock cycles [1][2] --- CTS# pin on IUSC Driven from Line Interface CTS signal --CTS pulsed low for 15 clock cycles [1] as follows… If CTSC=0: clocked by Transmitter clock. If CTSC=1: clocked by PLD clock (14.66 MHz) CTS pulsed low for 5 or 1 Transmitter clock cycles [1][2] CTS is turned ON when appropriate TRG bit is ON (see TRG bits in the PLD_CNTRL register, below) [1] Whenever the appropriate edge of the Trigger input signal occurs. [2] The choice of 1 or 5 clock cycles is determined by the previous application of the “First Setup” pulse (Port3 of the IUSC device). The 5 clock period FSYNC/CTS pulse only occurs once on the first Trigger edge, all following Trigger edges produce a 1 clock FSYNC/CTS pulse. CTSC ES CTS Pulse Clock Source: Trigger Edge selection: 1=Internal PLD Clock, 0=Transmitter Clock [TxC] 0=falling edge, 1=rising edge Gated Reception Control Bits DCDS IUSC DCD Select: 0=Line Interface DCD signal, 1=Driven by the appropriate TRG bit (in the PLD_CNTL register). DCDC DCD Clocked: 0=Not clocked, 1=IUSC DCD is synchronized to the falling edge of RxC. (Valid for either of the above DCDS selections). For Future Use X Reserved for future use, Set to zero for Writes, zero on Reads Revision 0.01 55 0007 Connect Tech Blue Heat/Net Sync User Manual 1018 PLD_CNTRL Control Bits R/W D15..0 Control Bits: Read/Write only as a 16 Bit word. 15 14 13 12 11 IM[3] IM[2] IM[1] IM[0] TRG[3] 0000 10 TRG[2] 9 TRG[1] 8 TRG[0] 7 X 6 X 5 IABT 4 SMIE 3 SR[3] 2 SR[2] 1 SR[1] 0 SR[0] IUSC Software Reset: SR[0]=Port1… SR[3]=Port4. Reset is asserted while bit is set to 1. Also, the “Line Interface Control”bits for the given Port, are set back to their power-up state. SMIE Serial Master Interrupt Enable: This bit will enable all IUSC interrupts. If the SMIE bit is turned OFF, the Serial interrupt signal to the Coldfire are turned off, but the Interrupts Status bits remain valid. IABT IUSC DMA operation Abort: Setting this bit will abort any DMA transfer underway, and is mainly used to abruptly stop autonomous IUSC operations. TRG[3..0] TXRX GO: Used to enable the Transmission and Receiver via a hardware signal. These bits cause the CTS and the DCD signal to go ON. (See the CTSM[] and DCDS bits above). IM[3..0] Map IUSC Interrupts: to Coldfire Interrupts. IM[p]=0 selects Interrupt-1, IM[p]=1 selects Interrupt-2. Where [p] is the port number (0to3). SR[3..0] Interrupt Information All the IUSC interrupts are “gated” together and are presented on Coldfire External Interrupt pin #1 or pin #2 (as selected by the IM bits). All other interrupts (only the Real-Time Clock at this time) are presented to the Coldfire External Interrupt pin #3. For Future Use X Reserved for future use, Set to zero for Writes, zero on Reads 101C PLD_STATUS Status Bits Read Only D15..0 Control Bits: Read only as a 16 bit word. 15 14 13 12 11 Busy PBL Rev[2] Rev[1] Rev[0] IS1[3..0] IS2[3..0] RIS ID[1..0] Rev[3..0] PBL Busy 56 10 ID[1] 9 ID[0] 8 RIS 7 IS2[3] 6 IS2[2] 5 IS2[1] 4 IS2[0] 3 IS1[3] 2 IS1[2] 1 IS1[1] 0 IS1[0] Interrupt Status (Interrupt-1): IS1[p]=1 Interrupt active. Where [p] is the port number (0to3). Interrupt Status (Interrupt-2): IS2[p]=1 Interrupt active. Where [p] is the port number (0to3). Interrupt Status (RTC): 1 Interrupt active. PLD ID: Begins at “1” and increments. PLD Revision: Begins at “1” and increments. Push Button Latch: = 1 whenever the pushbutton was previously pressed (self-cleared at the end of the Read). LIFC Register Busy: This bit goes high (=1) whenever a Line Interface Control Register is written, and goes low (=0) whenever the register is available to be used again. (See the LIFC register above). Revision 0.03 0900 (initially) Connect Tech Blue Heat/Net Sync User Manual System Block Diagrams Revision 0.01 57 Connect Tech Blue Heat/Net Sync User Manual 58 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Port Settings, Clock Setup and General Settings Required [conditions] Optional [conditions] (blank) means setting parameter is not required for the mode. TBD means To be Determined at a later date. Serial Mode (smode) BHN_PortSettings smode misc_receiver misc_transmitter r/txclk.ref_freq r/txclk.bps_error r/txclk.bps r/txclk.bps_frac r/txclk.async_div r/txclk.dpll_div r/txclk.ctr_div r/txclk.enc_dec r/txclk.clk_tree.A r/txclk.clk_tree.B r/txclk.clk_tree.C r/txclk.clk_tree.D r/txclk.clk_pin tx_pre_idle.pre_pat tx_pre_idle.pre_len tx_pre_idle.tx_idle line_mode duplex mode sync_addr.tx0 sync_addr.tx1 sync_addr.tx_len Revision 0.01 Async Required TDB TDB Optional [1] Optional [1] Optional [1] Optional [1] Required Optional [3] Required [1] Required Optional [5] Required Required Required Required Required MonoSync BiSync Trans-BiSync HDLC Required TDB TDB Optional [1] Optional [1] Optional [1] Optional [1] Required TDB TDB Optional [1] Optional [1] Optional [1] Optional [1] Required TDB TDB Optional [1] Optional [1] Optional [1] Optional [1] Required TDB TDB Optional [1] Optional [1] Optional [1] Optional [1] Optional [2] Optional [3] Required Required Optional [4] Optional [5] Required Required Optional Optional Required Required Required Required Optional [2] Optional [3] Required Required Optional [4] Optional [5] Required Required Optional Optional Required Required Required Required Required Required Optional [2] Optional [3] Required Required Optional [4] Optional [5] Required Required Optional Optional Required Required Required Required Required Required Optional [2] Optional [3] Required Required Optional [4] Optional [5] Required Required Required Required Required Required 59 Connect Tech Blue Heat/Net Sync User Manual Serial Mode (smode) BHN_PortSettings sync_addr.rx0 sync_addr.rx1 sync_addr.rx_len sync_addr.strip_sync dbits.t/rx tx_frac_stop parity.t/rx crc.tx_type crc.tx_start crc.tx_mode crc.rx_type crc.tx_start tx_trig_gate rx_gate Async MonoSync Required Required Required Required Required Required Required Optional Required Required Optional [6] Optional [6] Optional [6] Optional [6] Required Required BiSync Trans-BiSync HDLC Required Required Required Optional Required Required Required Required Optional Required Required Optional Required Optional [6] Optional [6] Optional [6] Optional [6] Required Optional [6] Optional [6] Optional [6] Optional [6] Required Optional [6] Optional [6] Optional [6] Optional [6] Required Required [1]: Must be NRZ or NRZ_INV Optional [1]: Needed if a clocking source feeds either of the Baud Rate Generators. If the Receiver or Transmitter are clocked directly from certain Line Interface signals (RxC or TxC setup as inputs) and those Interface signals are setup as outputs, then the indicated parameters are required. Required only when the DPLL is part of the clocking tree setup. Required only when either Counter (CTR-0 or CTR-1) is directly clocking the Receiver, Transmitter, RxC or TxC signals. Only required when the clk_tree.A setting is CLK_DPLL (which is generally only used with Synchronous modes). Only required when the clk_tree.A or clk_tree.C setting selects a Baud Rate generator. Only required if CRC is enabled. Optional [2]: Optional [3]: Optional [4]: Optional [5]: Optional [6]: 60 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual IUSC Clocking Logic: The following diagram was scanned from the IUSC manual page 4-3 and corrections have been made. Do not use the diagram from the IUSC manual, use the corrected version we have provided below. Revision 0.01 61 Connect Tech Blue Heat/Net Sync User Manual Appendix Blue Heat/Net Sync Specifications Operating Environment 4 port model: 0ºC to 60ºC (32ºF to 158ºF) Communications Baud Rates: Synchronous: Asynchronous: Up to 9.216 Mbps with internal reference clock, up to 10 Mbps with external reference clock. 230.4 Kbps Custom baud rates are also available. Please contact our sales@connecttech.com department for information. ESD Protection 15kV Power Rev A models: 5V (2.5A) power input using a DC barrel or Phoenix screw terminal connector. Rev B models: 5V (2.5A) to 26V (450mA) power input using a DC barrel or Phoenix screw terminal connector. Connectors Serial I/O: DB25 Female Auxiliary I/O: DB9 Female DC Power: Standard DC Power connector or Phoenix screw terminal Ethernet: RJ45 Dimensions Blue Heat/Net Sync Length: 133 cm/5.24 inches Width: 244 cm/9.61 inches Height: 43 cm/4.69 inches Compliant with 1U 19” rack specifications Cable and Power Supply Options Blue Heat/Net Sync products are available in a variety of configurations. Please contact the Connect Tech sales@connnecttech.com department for more information on your model number. 62 Revision 0.01 Connect Tech Blue Heat/Net Sync User Manual Protocol Descriptions The Blue Heat/Net Sync supports a variety of protocols. The following is a brief explanation of each and how they are implemented. ARP Address Resolution Protocol, a method used to find a unit‟s Ethernet MAC address from its Internet address. BOOTP Bootstrap Protocol, a protocol that allows a unit to boot from the network instead of using information stored on the Blue Heat/Net Sync (typically in Flash memory). DHCP Dynamic Host Configuration Protocol, a protocol that provides a means to dynamically allocate IP addresses to computers on a local area network. The system administrator assigns a range of IP addresses to DHCP and each client device on the Local Area Network requests an IP address from the DHCP server. The request and grant process uses a lease concept with a controllable time period. The Blue Heat/Net Sync offers this as a configurable option; it can either be turned on or the user can set a fixed IP on the unit. HTTP HyperText Transfer Protocol, a standardized Protocol that Web Browsers use to connect to web pages. It is used to provide web based configuration tools on the Blue Heat/Net. IP Internet Protocol, a common addressing scheme for modern networks. Used in conjunction with TCP to form TCP/IP (see below) RARP Reverse Address Resolution Protocol, a method to find a unit‟s Internet address from a MAC or Ethernet address. TCP Transmission Control Protocol, a lossless protocol, requiring a handshake to insure that data is not lost during transmission. Used in TCP/IP to form the main data transfer pathway between Blue Heat/Net Sync units and the host computer. Telnet A terminal-protocol that can be run over TCP/IP to connect to a remote unit. It is one of the methods used to configure the Blue Heat/Net Sync unit. TFTP Trivial File Transfer Protocol, a protocol used to download firmware to the Blue Heat/Net. UDP User Datagram Protocol, a protocol used when handshake is not critical. It is used by TFTP (see above) and for auto discovery of the units. Revision 0.01 63 Connect Tech Blue Heat/Net Sync User Manual Pinouts DB-25 Female Pinouts DB25F Pin # 14 2 16 3 23 20 19 4 13 5 21 6 10 8 11 24 9 17 15 12 22 18 7, 1 [1] [2] [3] [4] [5] [6] [7] Signal Name V.28 in brackets TX+ TX- (TX) RX+ RX- (RX) DTR+ DTR- (DTR) RTS+ RTS- (RTS) CTS+ CTS- (CTS) DSR+ DSR- (DSR) [5] DCD/RX_SYNC_IN+ [5] DCD/RX_SYNC_IN(DCD) [2] TXC+ [2] TXC(TXC) [2] RXC+ [2] RXC(RXC) (TXC) RX_SYNC_OUTRI (RI) TX_TRIGGER [6] SR Line Mode V.35 EIA-530 RS232 (V.28) EIA-530A X.21 (V.11) V.35 [4] V.35 [4] V.35 [4] V.35 [4] Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 V.35 [4] V.35 [4] V.35 [4] V.35 [4] NC V.28 V.28 V.11 V.11 V.11 [1] V.11 [1] V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 [2] V.11 [2] V.11 [2] V.11 [2] NC NC V.10 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 Hi-Z V.28 V.28 V.28 V.28 V.11 V.11 V.11 [1] V.11 [1] Hi-Z V.10 V.11 V.11 V.11 V.11 Hi-Z V.10 V.11 V.11 V.11 [2] V.11 [2] V.11 [2] V.11 [2] NC NC V.10 V.11 V.11 V.11 [1] V.11 [1] V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 V.11 [2] V.11 [2] V.11 [2] V.11 [2] NC NC Hi-Z [7] [7] [7] [7] [7] SR SR SR SR SR 120 ohm resistor applied between the (+) and (-) signals. 120 ohm resistor applied between the (+) and (-) signals when the signal is an input. This signal can be programmed to be a input or an output. V.35 Termination Network is applied between (+) and (-) signals. External Sync input used to enable or disable the receiver. This pin is used in external Sync mode. A logical low will enable the receiver. This output indicates that the Receiver has received a RX Sync character. It could also be used as a general purpose I/O signal. See the table titled Auxiliary Connector under TX_TRIGGER for details. NC means DO NOT CONNECT. Signal Description: Mode Equivalent Standard V.10 RS-423 V.11 RS-422 / RS485 V.28 RS-232 V.35 V.35 Electrical Single ended Differential Single ended Differential Typical Voltage +/- 5VDC 1.5VDC to 4.5VDC +/-12VDC 550mVDC Table 9: DB-25 Female Pinouts 64 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual DB-9 Female Pinouts DB9F Pin 1 Signal Name [1] Functional Notes RTC_Clear [3], [6] 2 RTC_Seconds 3 4 5 6 7 8 9 GND EXT_REF_CLK GND TX_TRIGGER_P1 TX_TRIGGER_P2 TX_TRIGGER_P3 TX_TRIGGER_P4 Clears and holds the seconds count of the Real Time Clock at 00. Provides the external time base for the Real Time Clock. Internal time base is 1Hz Signal reference for all signals 0-20MHz clock input Signal reference for all signals Transmission trigger for port 1 Transmission trigger for port 2 Transmission trigger for port 3 Transmission trigger for port 4 [3], [5] [2] [3], [4], [5] [3], [4], [5] [3], [4], [5] [3], [4], [5] All signals are inputs. Electrical properties for External Reference clock input: +/- (1-10)Vpp AC sine wave +/- (3.3-10Vpp square wave. 10-20MHz Frequency range. Capacitive coupled input. Must be referenced to GND pin. TTL compatible. For example 0-3.3V or 0-5V will work. [3] Electrical properties: +/- (3.3- 10)Vpp pulse. Minimum pulse width is 100ns seconds. Capacitive coupled input. Must be referenced to GND pin. TTL compatible. For example 0-3.3V or 0-5V will work. [4] Used for Asynchronous transmissions. When the mode is enabled, the Blue Heat/Net Sync will transmit exactly one byte of data when the TX_TRIGGER input changes state. These same signals are available on the individual DB25 port connectors. [5] The input is edge sensitive and can be configured for negative or positive edge sensitivity. [6] The input is level sensitive and can be configured for 1 or 0 level sensitivity. [1] [2] Table 10: DB-9 Female Pinouts Revision 0.01 65 Connect Tech Blue Heat/Net Sync User Manual Multi-drop Communications Using V.11 / RS422/RS485 Line Modes When wiring multi-drop RS-485 networks, it is necessary to wire the devices in a “Daisy Chain”, they must not be wired with a “Star” topology, see diagram. Rack Mount Option: Blue Heat/Net Sync can be rack mounted using the option rack mount kit part number MSG029. 66 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Default Settings Network Settings Blue Heat/Net Sync IP address Server IP address Gateway IP address Subnet Mask Broadcast IP address Domain Name Server IP address: Domain Name Host Name TCP Port DNS IP 192.168.42.1 0.0.0.0 (used for firmware downloads) 0.0.0.0 255.255.255.0 255.255.255.255 (used by the bootp process) 0.0.0.0 (used for firmware downloads) blueheat.net BHNssssssss (where ssssssss is the BHN serial number) 49152 (0xC000) 0.0.0.0 Boot Settings Default enabled: Boot from Flash Default disabled: use BOOTP use TFTP Delay: 30 (seconds) SCM Operation Settings Password: password Password Prompting: enabled Loader Filename: BHNloader_vvv.gz (where vvv is the version number of the Loader, current at the time the unit was manufactured). Line Setting: See Getting Access to the SCM section. Revision 0.01 67 Connect Tech Blue Heat/Net Sync User Manual Common Configuration Setups Static IP Setup In some networking environments it is best to have the IP address set to a fixed value. The advantage is that since it is fixed, connecting to it can be a lot simpler. Static IP is often the best choice if you are trying to connect via WAN or through a Firewall. It can be difficult to resolve the Blue Heat/Net Sync‟s IP address if you use DHCP in this instance. The default configuration is a static IP of 192.168.42.1. In most cases this will not be the address you want to use in your network. You can change it using two different methods: Serial Configuration Manager (SCM) A direct serial connection to on of the serial ports on the Blue Heat/Net Sync. Or Web Configuration Manager (WCM) Using a web browser like Internet Explorer to connect to the unit. Refer to the manual sections for specific details on using the SCM and WCM. Example: You want to configure a static IP on a Blue Heat/Net Sync of 198.182.196.15. The network‟s server is at 198.182.196.1 and the gateway is 198.182.196.2. The subnet mask is 255.255.255.0. Using SCM Log onto the Blue Heat/Net Sync. There is no login necessary if using SCM. The default password for the SCM is password. Enter net net=198.182.196.0. This will set 198.182.196.0 to the server, gateway and the unit‟s IP in one step. Enter net my_ip=15. This will set the unit‟s IP to 198.182.196.15. Enter net server_ip=1. This will set the server IP to 198.182.196.1. Enter net gateway_ip=2. This will set the gateway IP to 198.182.196.2. Enter net subnetmask=255.255.255.0. This will set the subnet mask. Enter net dns_ip=3. This will set the DNS IP to 198.182.196.3 Enter net dhcp=no. This will turn off DHCP on the unit. Enter save. This will save the configuration set above to flash memory. Enter exit. The unit will reboot using the new settings. Using WCM Connect to the Blue Heat/Net Sync using a web browser by entering the current IP of the unit in the address. Log on by supplying the username and password. The default login is wcm and the default password is password. Select the Blue Heat/Net Sync Settings page and fill in the server IP, Blue Heat/Net Sync IP, Gateway IP, DNS IP and subnet mask as defined above. Ensure the Use DHCP option is set to no Click on the Save to Flash button to store the changes. 68 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual DHCP Setup In many modern networks IP numbers are not static but are automatically assigned by a DHCP server and can change over time or on each power up. DHCP must be enabled on the Blue Heat/Net Sync because it is shipped to use a default static IP (192.168.42.1) Using SCM Log onto the Blue Heat/Net Sync. The SCM does not require a login. The default password for the SCM is password. Enter net dhcp=yes. This will turn on DHCP on the unit. Enter net dns_ip=3. This will set the DNS IP to 198.182.196.3 Enter save. This will save the configuration we just set to flash memory. Enter exit. The unit will reboot using the new settings. How the Blue Heat/Net Sync Boots Up Each time the Blue Heat/Net Sync is powered-up or rebooted with an appropriate command, a certain sequence of software execution occurs. The Booter runs from flash memory first. Its job is to perform the following: Setup the embedded processor Validate at least one of the redundant Loaders (via a CRC check). Load a validated Loader into RAM memory. Run the Loader. If the Booter discovers that both Loader programs are defective (erased or faulty CRC calculation), an error code is displayed on the LEDs of the Blue Heat/Net Sync. The Loader runs from RAM memory. Its job is to perform the following: o Update any required CDS items. o Determine if the SCM application will be entered. This is accomplished by scanning the designated serial ports, for a period of time, to determine if a correct password is entered. If the password is found the SCM application will be entered. (see the SCM Command Reference command for details of these settings). o Locate, load and run an Operating System (uClinux). (As shown in the following boot-up flow chart). o Run the main Operating System (uClinux). o Operating System launches port personality default ctid Revision 0.01 69 Connect Tech Blue Heat/Net Sync User Manual Bootup Sequence Start Boot from Flash Enabled? Decompress uClinux from Flash to SDRAM Y Decompress OK N Y N Bootp Enabled? Obtain boot information from Bootp Server Y Server Responds N N Update CDS (RAM copy) Information (filename & IP address) TFTP Enabled? Y Attempt TFTP Download Y Y Success Decompress Downloaded uClinux into SDRAM N N N Decompress OK Y All Boot Modes Disabled N Display Error on LEDs Run uClinux Y Y Boot Port Personality Enter SCM Figure 30: Bootup Sequence 70 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Flowchart of Special Operations Mode using the reset button Power Up Increment Selection Reset Button Held Pressed Yes Show Selection State On Port LEDs No Reset Button Held Wait for Button Release Continue Booting Figure 31: Bootup Sequence via Reset Button Asynchronous Communications Tutorial The Blue Heat/Net Sync features four synchronous/asynchronous serial communication ports. Asynchronous communication is a simple, cost effective means of terminal serial communication. For this reason, it is widely used for communications on personal computers, bar codes readers, printers, terminals and much more. The following documention represents a basic tutorial for asynchronous communications. For a tutorial on synchronous communications, please refer to the Z16C32 IUSC User’s Manual (DOC ID DC8292) on the Zilog website. In asynchronous serial communication, the electrical interface is held in the idle position between characters, also referred to as “mark”. A change in signal level (known as space level) indicates the start of transmission of a character. The receiver recognizes this change as a “start bit”. Once the start bit has been sent, the transmitter sends the actual data bits. In typical asynchronous communications there may be 5, 6, 7, or 8 data bits, depending on the application. Both the receiver and the transmitter must be set to the same number of data bits, baud rate and stop bits. Stop bits can be 1, 1.5, or 2 bit periods in length. When the transmitter has sent all the data bits, it sends a stop bit. This stop bit signals to the receiver that the data has finished transmission. The stop bit is the same state as the idle or mark state. Revision 0.01 71 Connect Tech Blue Heat/Net Sync User Manual Figure 32: Typical Asynchronous Date Frame Serial Line Interface Tutorial RS-232 Line Interface: RS-232 is the simplest, least expensive line interface standard, the Sipex tranceivers used on the Blue Heat/Net Sync refer to RS232 as V.28 mode. It is also referred to as EIA232 and TIA/EIA232. The RS-232 specification signals levels of +3V to +15V for a logic 0 or Space, and -3V to 15V for a logic 1 or Mark. The Blue Heat/Net Sync has RS-232 signal levels with a typical range of +/- 8 Volts. The maximum cable length you can use with RS-232 is dependant on a number of factors including: Baud rate: The higher the baud rate, the shorter the cable length must be. Cable quality: Quality largely refers to the capacitance of the cable. A higher capacitance (usually specified as pF or pico Farads per foot) dictates a lower baud rate, and a shorter maximum length. Low capacitance computer cables for RS-232 applications are available from all wire and cable suppliers. You can usually operate with cable lengths of up to 100 feet (30 m) at baud rates up to 115.2 Kbps using low capacitance cable. For higher baud rates such as 230.4 Kbps and up, we recommend keeping the cable lengths to within 25 feet (7.6 m). The TIA/EIA232 specification specifies two connectors: the DB-25 and the DB-9. Each of these connectors has a standardized pinout. Refer to the Pinouts section of the manual for the DB-25 RS-232 (V28) pinout. Differential Line Interfaces: The Blue Heat/Net Sync features Sipex SP508 multi-protocol transceivers. These transceivers features the following differential line standards. V.11: A differential line interface with signal levels compatible with RS-485 and RS-422. V.10: A single ended line interface that can be wired such that it will have some of the noise cancelling features of RS485 (V.11). This interface is also called RS-423. V.35: A differential line interface that operates in a current loop. The electrical levels are about +/- 550mV. RS485/RS422/V.11 Details V.11, RS-485, or TIA/EIA485, is a differential line interface standard capable of high baud rates over long cables. The Sipex tranceivers used on the Blue Heat/Net Sync refer to RS-485 as V.11 72 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual mode RS-485 is fully compatible with RS-422; which is considered a subset of RS-485. The use of differential transmitters and receivers ensures RS-485 communications are reliable and robust. This means two wires are used to transmit or receive a signal. One wire carries the true or non-inverted signal; the other wire carries the inverted signal. The non-inverted signal is labelled with a (+) and the inverted is labelled with a (-). The differential communication refers to the (+) as “TXB” and the (-) as “TXA”. Any noise injected into the wires is cancelled at the receiver, leaving only the original, undistorted data signal. Twisted pair cables are always used in RS-485, this ensures that the communications are robust and as error free as possible. RS-485 signal levels are between 0 and 5 Volts, the differential voltage can be as little as 200mV. Differential can operate in three different modes: a 4-wire full duplex interface, 4-wire multidrop full duplex interface and a 2-wire half duplex interface. A full duplex (bi-directional) differential communication interface requires at least four wires, two for transmit and two for receive. A half duplex interface only requires two wires, this provides a cost effective cabling solution. Multi-drop is a great feature of RS-485. Multiple RS-485 devices can be bussed together in a daisy chain type fashion to create a network. Up to 32 devices may be connected together on the same network. In multi-drop networks, one of the devices (usually the computer) is designated as the master, and all the other devices are designated as slaves. All communication is initiated by the master. The master and slave designations are established by your communications application. Basic 4-Wire, Full Duplex Communications: In a 4-wire RS-485 network, two devices are connected together, for example your Blue Heat/Net Sync RS-485 port and an RS-485 device. Revision 0.01 73 Connect Tech Blue Heat/Net Sync User Manual Multi-drop 4-Wire, Full Duplex Communications: In a multi-drop 4-wire differntial network, two to 32 devices are connected together. Note that each RS-485 receiver counts as a device or “load”. In this multi-drop mode of communication, a master slave protocol must be enforced, that is, all communication is initiated by the master, in this case a Blue Heat/Net Sync. The communication is “full duplex”, meaning that receive and transmit traffic occur on different pairs of wires. The Blue Heat/Net Sync can receive and transmit data from/to a device at the same time. Basic - Wire, Half Duplex Multi-drop Connection: In a 2-wire differntial network, two to 32 devices are connected together. Note that each receiver counts as a device or “load”. In this multi-drop mode of communication a master slave protocol must be enforced, that is, all communication is initiated by the master, in this case a Blue Heat/Net Sync. The communication is “half duplex”, meaning that receive and transmit traffic occur on the same wire. The Blue Heat/Net Sync and devices can not receive data and transmit data at the same time. Note that the Receiver +/- and the Transmitter +/- signals are connected together. This is performed at the DB-9 connectors. All communication between devices occurs over a single pair of wires; this can lower the cost of wiring your network. 74 Revision 0.03 Connect Tech Blue Heat/Net Sync User Manual Bus Contention on Differential Multi-drop Networks: Bus contention occurs when two or more devices enabled on a bus attempt to run the bus to opposite logic values. From the diagram above, we can see that there are multiple differential transmitters (TXD) on the bus. To avoid the bus contention problem, the differential transmitter features a tri-state, or high impedance mode controlled by an input pin (enable). Software and hardware in the Blue Heat/Net Sync and the differential devices will always place its transmitter into the high impedance mode when not transmitting. This feature is managed by the Blue Heat/Net Sync and is fully transparent to your application. For example, in a multi-drop network, the differential transmitter is enabled prior to the master initiating transmission. When transmission is complete, the transmitter is placed in high impedance mode. Each slave will receive that transmission from the master. (A protocol must be in place to address, or select, the desired slave device, but that discussion is beyond the intentions of this tutorial, and is entirely application dependent). When the slave device has received the data, it will respond by enabling its transmitter and transmitting data onto the bus, then placing its transmitter into high impedance mode, just as the master did. Revision 0.01 75 Connect Tech Blue Heat/Net Sync User Manual Termination Resistors in Differential Networks Termination Resistors in Differential Networks: Differential networks often benefit from the installation of termination resistors. Termination is rarely required for lower baud rates, for example 9600 baud or less. However, differential networks are transmission lines, and can suffer from the electrical effects of ringing, or undershoot and overshoot, all of which can cause data errors, especially at higher baud rates, like 115.2 Kbps. Termination resistors should always be installed at the extreme ends of the network, as close to the differential transceiver circuits as possible, as outlined in the diagram below. NOTE: The Blue Heat/Net Sync features software selectable termination. 76 Revision 0.03
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.5 Linearized : No Page Count : 76 Language : en-CA Tagged PDF : Yes Title : Author : Connect Tech Inc. Creator : Microsoft® Office Word 2007 Create Date : 2010:07:14 19:51:00 Modify Date : 2010:07:14 19:51:00 Producer : Microsoft® Office Word 2007EXIF Metadata provided by EXIF.tools