BITBUS IEEE 1118 BROADCAST SERVICE IMPLEMENTATION

Similar documents
Request for Comments: June MAPOS - Multiple Access Protocol over SONET/SDH Version 1

GIGAVAC Contactors J1939 Protocol

Further Development of Fieldbus Technology to Support Multi-Axis Motion

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

OSEK/VDX. Communication. Version January 29, 2003

Network Working Group. Obsoletes: RFC 1103 October 1990

PM290 POWERMETER. Communication Protocols ASCII & Modbus Reference Guide

INTERNATIONAL TELECOMMUNICATION UNION. SERIES Q: DIGITAL SUBSCRIBER SIGNALLING SYSTEM No. 1 (DSS 1), DATA LINK LAYER

AMCP/5-WP/72 APPENDIX D (ENGLISH ONLY)

srio SERIAL BUFFER FLOW-CONTROL DEVICE

Sequential Event Recorder

ET4254 Communications and Networking 1

MOS INTEGRATED CIRCUIT

3. Data Link Layer 3-2

Basics of UART Communication

SCSI is often the best choice of bus for high-specification systems. It has many advantages over IDE, these include:

Data Link Layer, Part 4. Exemplary Protocols

Module 11: I/O Systems

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

INTERNATIONAL STANDARD

CMPE401 Computer Interfacing

This Lecture. BUS Computer Facilities Network Management. Line Discipline. Data Link Layer

INTERNATIONAL STANDARD

Serial I-O for Dinesh K. Sharma Electrical Engineering Department I.I.T. Bombay Mumbai (version 14/10/07)

Serial Communication & Protocol

embos Real-Time Operating System CPU & Compiler specifics for embos Visual Studio Simulation

Internetworking Part 1

EN V1.1.1 ( )

Data Link Control Protocols

DELPHI CORPORATION. LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide

ETSI EN V1.4.1 ( )

LLC and Bridges. Raj Jain. Professor of CIS. The Ohio State University

ASAM-MCD-2 NET (FIBEX)

J1939 OVERVIEW. 1

Request for Comments: August 1996

Switched Multimegabit Data Service (SMDS)

The RS-485 user manual for B800 series communication

August 14, T10 Technical Committee John Lohmeyer, LSI Logic Principal Member of T10 Expander Communication Protocol. Revision 1 changes:

HDLC (High level Data Link Control)

Request for Comments: August PPP for Data Compression in Data Circuit-Terminating Equipment (DCE)

Line Protocol Basics. HDLC (High level Data Link Control) Agenda. Additional Issues

Chapter 2 COMPUTER SYSTEM HARDWARE

Unit 2.

TOSVERT VF-S9 Communications Function Instruction Manual

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

AVDECC clarifications. Part 2 AEM commands. Revision 4 [WIP] 8/5/2016

Manual. CAN 300 PRO CANopen Slave. CAN Communication Modules for S7-300 as CANopen Slave. Edition 3 /

Architecture Specification

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

[MS-SNID]: Server Network Information Discovery Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Configuration Guideline for CANopen Networks

CSE398: Network Systems Design

Computer Communication Networks

Network Processor Interface User s Guide

Transmission/ reception tables

Chapter 5 Peer-to-Peer Protocols. School of Info. Sci. & Eng. Shandong Univ..

[MS-SNID-Diff]: Server Network Information Discovery Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

THE TRANSPORT LAYER UNIT IV

Research and Analysis of Flow Control Mechanism for Transport Protocols of the SpaceWire Onboard Networks

Novel Intelligent I/O Architecture Eliminating the Bus Bottleneck

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Networking for Data Acquisition Systems. Fabrice Le Goff - 14/02/ ISOTDAQ

ISO INTERNATIONAL STANDARD

Routing in packet-switching networks

Chapter 2 Overview of the Design Methodology

EN V1.1.3 ( )

IS370 Data Communications and Computer Networks. Chapter 5 : Transport Layer

interface info bond0 Interface : bond0 Interface Type : Bonding Interface Slave Interfaces : eth2, eth3 climconfig bond0 bond0 bond0 eth4: <BROADCAST,

A CAN Protocol for Calibration and Measurement Data Acquisition

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

Distributed Systems Exam 1 Review. Paul Krzyzanowski. Rutgers University. Fall 2016

3GPP TS V7.2.0 ( )

Computer Networks Principles LAN - Ethernet

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

VIPA SPEED7 Library. OPL_SP7-LIB SW90BS0MA Manual. HB00 OPL_SP7-LIB SW90BS0MA en Block library - Modbus Communication

Modbus TCP + Ethernet EN

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Network Working Group Request for Comments: Mitsubishi Electric Corp. February 1997

Intelligent IO-Terminals for complex Communication Scenarios in Control Applications

Modbus on K45 asense. Table of contents:

EE414 Embedded Systems Ch 5. Memory Part 2/2

UNIT- 5. Chapter 12 Processor Structure and Function

Bridges. Bridge Functions. Example of No-frills Bridge. No-frills Bridges. Example of Learning Bridge. Learning Bridges

Technical Documentation

Introduction to Internetworking

Switching and Forwarding

DCS 6000 External Microphone Control

Switched Multimegabit Data Service

Chapter 4 Network Layer

Basic vs. Reliable Multicast

PowerLogic ION6200 Serial Communications Protocol and ION / Modbus Register Map

IEEE1588 Frequently Asked Questions (FAQs)

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol

Renesas LIN Overview. White paper REU05B Introduction

William Stallings Data and Computer Communications. Chapter 7 Data Link Control

8086 Interrupts and Interrupt Responses:

Architecture of 8085 microprocessor

Provisional documentation, Profibus-DP and Profi-S-IO Contents

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

CSCE 463/612 Networks and Distributed Processing Spring 2018

Transcription:

BITBUS IEEE 1118 BROADCAST SERVICE IMPLEMENTATION A BEUG Recommendation Page 1/11

Description: Implementation of broadcast/multicast as further specification to the IEEE-1118 standard»microcontroller system serial control bus«date: May 4, 1995 Last Change: July 21, 1998, common format for all recommendations, PDF conversion. VG Status: Accepted by BEUG on May 4, 1995 Authors: Frank J. Furrer, Volker Goller, Niels Trapp Copyright: Contact: All rights reserved. This document is intellectual property of BEUG - The BITBUS European User's Group, Baden-Baden, Germany. This document can be used for documentation purposes by all BITBUS users and manufactures if their implementation and products meets this specification. e-mail: wg1@bitbus.org Contents Page 2/11

1. General...4 2. Data Link Layer...5 2.1. Data-Link Layer PDU...5 2.2. Application Layer PDU...6 3. Client/Server-Model...7 4. i8044-behaviour...8 5. Communication between Protocol Microcontroller and an Extension...9 6. Application Layer Services...10 7. References...11 Page 3/11

1. General Broadcast (= send a message from the BITBUS-master to all the slaves in parallel, no answer allowed) and Multicast (= send a message from the BITBUS-master to a specified group of slaves in parallel, no answer allowed) are important functions for certain applications requiring simultaneous actions or synchronization. Unfortunately, the IEEE-1118 standard is not clear in details about the implementation of the broadcast- and multicast-functions. This BEUG recommendation provides additional implementation information, thus interpreting the IEEE-1118 standard. This recommendation is limited to Broadcastand Multicast-implementations with messages to user tasks and the extension. System management services are not treated in this recommendation, but will be considered later. Broadcast- and Multicast services are implemented as connectionless services and the datagram type service is used. No establishment of a connection prior to communication is required and no answer from the receiving station is expected, nor allowed. RAC-services are described in the IEEE-1118 as Generic Bus Services (GBS): these services are connection-oriented by default. Therefore different mechanisms are used for the transportation and access to Broadcast- and Multicast services. Page 4/11

2. Data Link Layer 2.1. Data-Link Layer PDU An IEEE-1118 Unnumbered Information Frame ("UI") is used to send Broadcastand Multicast messages. The data link layer (DLL) protocol data unit (PDU) has the following structure ([1], 5.2.1.1): PFS FLAG Addr CF ------------- INFO --------------- FCS FLAG Addr: CF: INFO: 255d is used as a Broadcast-address, 241d.. 254d are used as Multicast-addresses. (Note: in the IEEE-1118 [1] the boundary between logical addresses and the first multicast address is called a "fence" and the fence is a configuration parameter in the system, i.e.241d must not necessarily be the first multicast address) 03H ([2], p.81) = unnumbered Information frame with P/F = 0, i.e. no response allowed. contains Application Layer (ALL) PDU. Page 5/11

2.2. Application Layer PDU The INFO-field is structured as follows (=Application Layer ALL PDU. [1], 5.2.1.1): LEN RES CMD LAYER ENTITY ------------ DATA --------------- LEN: RES: CMD: Layer: Entity: DATA: Length of messages (Number of data bytes + 5). Note: LEN = 7 Bit + Odd Parity ([1], 5.2.1.1.1), LEN < 128 reserved, set to 00H by sending station C0H ([1], 5.2.1.1.3, i.e. not System Management Protocol) 07H ([1], 5.2.1.1.4, i.e. directed to Application Layer) FFH ([1], 5.2.1.1.5, i.e. User defined Application Layer Entity "nn", i.e. directed into the Broadcast/Multicast Receive Queue) contains the data bytes (8 bit transparent, no restrictions). Page 6/11

3. Client/Server-Model For the broadcast-/multicast messaging a client/server model is used: the BITBUS master (= source of broadcast-/multicast message) acts as a server and sends out information to a group of clients (= BITBUS slaves) when it is available. The clients either wait or regularly check for the availability of the broadcast-/multicastinformation. The implementation is best done using separate queues for sending and receiving broadcast-/multicast messages, thus clearly separating the handling of broadcast-/multicast messages from the GBS-services. The "CMD"-byte (= C0H, see [1], 5.2.1.1.3, i.e. not System Management Protocol) and the "Layer"-byte (= 07H, see [1], 5.2.1.1.4) in the received PDU directs the received message to the application layer entity, i.e. into the receive queue available to user tasks or the extension in the slave. System management PDU's in later implementations will not be written into the receive queue, but will be directly processed by the system management firmware. All received broadcast-/multicast-messages are written into the receive queue where they may or may not be read by any task or the extension in the slave. The size of the queue is limited to a maximum number of messages (e.g. 8 messages), therefore a mechanism avoiding blocking the system after a receive queue overflow must be implemented, e.g. ignore incoming messages as soon as the receive queue is full. It is recommended to discard incoming messages directed to broad- or multicast addresses which are not served by a client task, i.e. if no "Initiate Accept Boradcast-/Multicast-Message"-Call for such an address has been made. Page 7/11

4. i8044-behaviour Multicast and Broadcast services are not implemented in the i8044, therefore these services are not available. The question arises, how i8044 nodes in a network using Multicast and Broadcast behave. Unfortunately, the i8044 firmware does not check the P/F-bit and responds with a "frame reject" message when an unumbered frame as used in Multicast and Broadcast is addressed to its own logical address or to the broadcast address FFH. In any network containing i8044 therefore the address range 241d.. 254d shall not be used as logical addresses by any station. This should not cause any conflicts, because the addresses 251d... 255d were already excluded (i.e. reserved by INTEL) in the original specification ([3], 4.2.2). Page 8/11

5. Communication between Protocol Microcontroller and an Extension An extension is coupled to its own protocol microcontroller via e.g. shared-ram or FIFO. The applications software in the extension can communicate with tasks in its own microcontroller using standard message formats. Unfortunately, the fictive address "FFH" (= 255d) has often been used to direct messages between extension and protocol microcontroller. When using the broadcast service, this older convention now causes a conflict in the BITBUS-master because a message with address = FFH must now be sent as a broadcast message to the network (and is not any more directed to a task in its own protocol microcontroller). The following use of addresses results as the only logical and feasible convention: Address for communication between extension and own protocol microcontroller: 00H (in master and in slaves) Address for intertask-communication in the protocol microcontroller: 00H (in master and in slaves) Page 9/11

6. Application Layer Services For the broadcast-/multicast messaging four new application layer services are provided: a) Multicast Send Request (BITBUS master only): This service transmits a message addressed to a broadcast or multicast address. b) Initiate Accept Broadcast-/Multicast Message (BITBUS slave only): This call informs the operating system which task is waiting for which broadcast- or multicast-messages. This call is used by the operating system to build up its distribution table for the received broadcast-/multicast messages. Note that this call must be issued only once for the broadcast- and for each multicast-address! c) WAIT for Broadcast-/Multicast-Message (BITBUS slave only): The task is suspended until a message with the corresponding broadcast- and/or multicast address is received. Note that this service watches for alle addresses defined by the "Initiate Accept Broadcast-/Multicast Message" for the task. The task becomes immediately active when a message is received (if no higher priority task is running). Note that only the task which issued the Initiate Accept Broadcast-/Multicast Message-Call is allowed to use this call! d) CANCEL Accept Broadcast-/Multicast Message (BITBUS slave only): This call cancels a previous "Initiate Accept Broadcast-/Multicast Message"-Call, i.e. the task will not longer be connected to this Broadcast-/Multicast Message-address. Note that this call is automatically executed by the operating system whenever a task is deleted. The four services should be implemented as additional system calls in the real-time operating system used in the BITBUS protocol firmware. Page 10/11

7. References [1]IEEE Std 1118-1990: IEEE Standard Microcontroller System Serial Bus, August 5, 1991. [2]Frank J. Furrer (Ed.): BITBUS - Grundlagen und Praxis. Hüthig Buch-Verlag, GmbH, Heidelberg, 1994. ISBN 3-7785-2250-7. [3]INTEL Corporation: The BITBUS Interconnect Serial Control Bus Specification. Page 11/11