Sun Microsystems Interface Adapter manual Hdlc Mode

Page 39

HDLC Mode

The default operating mode used by the SunHSI software is the HDLC full-duplex protocol (mode=fdx). In this mode the transmitter is always enabled. The transmitter sends flag bytes continuously when it is not sending a data frame.

If no message is currently being transmitted, the driver will attempt to start sending its next message. At this point the driver indicates that it is busy transmitting, to prevent the transmission of another message concurrently. The driver also activates a mechanism that ensures that the transmit operation will not hang if the hardware is not responding.

When the transmission is completed, the busy mechanism previously set is cleared and the next message can be transmitted. If the transmission is hung an abort sequence is sent instead of the cyclic redundancy check (CRC), so that the receiver will not interpret the frame as valid data. The message is discarded, and the output error statistic is incremented, which allows for a proper recovery by higher level protocols.

The received data is buffered until a complete frame has been received. If any error occurs during the reception of a frame, the appropriate statistic is incremented and the frame is discarded.

IBM (SDLC) Mode

SDLC mode is designed to support IBM system network architecture (SNA) communications. It uses most of the same protocols used in HDLC mode, with two major exceptions:

When the line is idle, instead of sending flag bytes the transmitter is disabled.

The request-to-send (RTS) and clear-to-send (CTS) signals are used to gate transmission.

IBM Full-Duplex Mode

When the SunHSI software is set to this mode (mode=ibm-fdx), the software uses a full-duplex point-to-point communication protocol. Both ends of the link are expected to have RTS and CTS signals asserted at all times when data is being exchanged. When starting a message transmission, the interface raises the RTS signal and expects the CTS signal to be asserted immediately. If this is not done, all messages currently queued for transmission are discarded, and the write operation returns an error.

Chapter 4 SunHSI Utilities 19

Image 39
Contents Sun Microsystems, Inc Please Recycle Contents Cable Pin Assignments & Signals SunVTS Diagnostic Testing Page Figures Page Tables Page FCC Class a Notice Regulatory Compliance StatementsICES-003 Class B Notice Avis NMB-003, Classe B CCC Class a Notice Page Declaration of Conformity Page How This Book Is Organized PrefaceShell Prompts Using Unix CommandsRelated Documentation Typographic ConventionsDocumentation, Support, and Training Third-Party Web SitesSun Welcomes Your Comments Product Description Product OverviewSunHSI/U Adapter Features1Hardware and Software Requirements Hardware and Software RequirementsPage SunHSI/U Adapter Installation Installation ProcessTo Install the Adapter External Cabling RS-232 to RS-449 Connections Page Installation Overview SunHSI PCI Software Installation1SunHSI PCI Software Directories and Files Before Installing the Software Verifying the Software and Hardware RequirementsTo Remove Older Versions of the Software To Install the SunHSI Software Installing the SoftwareAt the ok prompt, type the boot command with the -roption To Test the Installation Configuring the SoftwareTo Configure for Point-to-Point Protocol Edit the /etc/netmasks file as follows Hsipinit Utility SunHSI UtilitiesOperating Modes Options T1 Compatibility OptionsHdlc Mode Hsiploop Utility Hsipstat Utility Page Pin Assignments Cable Pin Assignments & SignalsDCD1A Appendix a Cable Pin Assignments & Signals RTS4A RS-449 Interface Signals Interface SignalsPage Null Modem Cable Requirements Building the Null Modem Cable Configuring Internal or External ClockingRS-449 Null Modem Cable RS-449 SignalsPage Appendix B Null Modem Cable Requirements Figure B-3X.21 to RS-449 Converter To RS-449 ConverterData Signal Inversion T1 Inverted Data and Clock SignalsHdlc Zero Insertion Algorithm Bipolar with 8-Zero SubstitutionClock Signal Inversion Page Using the SunVTS sunlink Test SunVTS Diagnostic TestingPage Viewing the Man Pages Man PagesTo View Man Pages in the C Shell Environment Make the changes effective in your current window To View Man Pages in Bourne or Korn Shell EnvironmentsGlossary Page Index