© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample.

Slides:



Advertisements
Similar presentations
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Advertisements

Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
OSI Model OSI MODEL.
OSI Model OSI LAYER / MODEL.
OSI MODEL Maninder Kaur
Data Communications System By Ajarn Preecha Pangsuban.
Chapter 2 Network Models.
International Standards Organization Open Systems Interconnect (OSI) Reference Model Advanced Computer Networks.
© 2002 JW Ryder CS 428 Computer Networks 1 Ethernet Properties 10Mbps/100Mbps broadcast bus technology –Bus: all stations share single channel –Broadcast:
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
TDC /502, Summer II Unit 2: Underlying Technologies Transmission media (Section 3.1. Read on your own) Local Area Networks (LANs) –Ethernet.
Chapter 10 Switching Fabrics. Outline Physical Interconnection Physical box with backplane Individual blades plug into backplane slots Each blade contains.
Protocols and the TCP/IP Suite
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Advanced Operating Systems The I 2 C Bus. Inter-Integrated Circuit Bus Designed for low-cost, medium data rate applications. Characteristics: –Synchronous;
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
Review on Networking Technologies Linda Wu (CMPT )
Lecturer: Tamanna Haque Nipa
1 Computer Networks Course: CIS 3003 Fundamental of Information Technology.
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
SERIAL BUS COMMUNICATION PROTOCOLS
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Fundamentals CE
1 Computer Communication & Networks Lecture 13 Datalink Layer: Local Area Network Waleed Ejaz
1 Module 15: Network Structures n Topology n Network Types n Communication.
Component 9 – Networking and Health Information Exchange Unit 1-2 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
ECE 354 Copyright ECE Department, some slides modified from W. Wolf, Computers as Components, Morgan Kaufmann, 2005 Big Picture: Lab 3 Networks (OSI-view)
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
1 3 장 OSI 기본 참조 모델 zOSI : Open System Interconnection zBasic Reference Model : ISO-7498 zPurpose of OSI Model y~ is to open communication between different.
The OSI Model.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Internet SecurityInternet Security Dr. ClincyLecture1 CS 4491 Internet Security Dr. Clincy Networking Fundamentals Note: I am still “tweaking” your syllabus.
Higher National Diploma1 Network Concepts OSI 7 Layer model.
Access to Shared Media - Media Access Control protocols RD-CSY10171.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Ethernet: Distributed Packet Switching for Local Computer Networks Authors: Robert M. Metcalfe and David R. Boggs Presentation: Christopher Peery.
Semester 3—LAN Switching Chapter 2 Objectives  By the end of this chapter we will be able to perform tasks related to: – Various LAN Communication Problems.
1Ethernet Lecture # 12 Computer Communication & Networks.
Network Technologies Definitions –Network: physical connection that allows two computers to communicate –Packet: a unit of transfer »A sequence of bits.
OSI Reference Model. Open Systems Interconnection (OSI) Model International standard organization (ISO) established a committee in 1977 to develop an.
Chapter 2. Network Models
THE OSI MODEL ISO is the organization.OSI is the model. ISO  International Standards Organization OSI  Open Systems Interconnection.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Chapter 2 Network Models
Network Models.
Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to.
Data Link Layer and Ethernet COM211 Communications and Networks CDA College Theodoros Christophides
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
1 Chap. 2 Protocol. 2 Communication model Simplified communication model  source node  gather data from sensor or switch using ADC (analog-to-digital.
Net 221D:Computer Networks Fundamentals
Chapter 2. Network Models
© 2000 Morgan Kaufman Overheads for Computers as Components Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample networks.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
EE 122: Lecture 6 Ion Stoica September 13, 2001 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose)
1 May-2014 Automotive Protocols & Standards. 2 CAN (Controller Area Network)  Overview Controller Area Network is a fast serial bus designed to provide.
Data Communication Network Models
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Computer Network Lab. 1 3 장 OSI 기본 참조 모델 n OSI : Open System Interconnection n Basic Reference Model : ISO-7498 n Purpose of OSI Model ~ is to open communication.
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
The OSI Model Prof. Choong Seon HONG.
Click to edit Master subtitle style
Chap. 2 Network Models.
Distributed Embedded Systems
ISO/OSI Model and Collision Domain
Data and Computer Communications by William Stallings Eighth Edition
Chapter 3: Open Systems Interconnection (OSI) Model
Data Link Issues Relates to Lab 2.
Presentation transcript:

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample networks.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Network elements PE network communication link distributed computing platform: PEs may be CPUs or ASICs.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Networks in embedded systems PE sensor PEactuator initial processing more processing

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Why distributed? zHigher performance at lower cost. zPhysically distributed activities---time constants may not allow transmission to central site. zImproved debugging---use one CPU in network to debug others. zMay buy subsystems that have embedded processors.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Network abstractions zInternational Standards Organization (ISO) developed the Open Systems Interconnection (OSI) model to describe networks: y7-layer model. zProvides a standard way to classify network components and operations.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. OSI model physical mechanical, electrical data link reliable data transport network end-to-end service transport connections presentation data format session application dialog control application end-use interface

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. OSI layers zPhysical: connectors, bit formats, etc. zData link: error detection and control across a single link (single hop). zNetwork: end-to-end multi-hop data communication. zTransport: provides connections; may optimize network resources.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. OSI layers, cont’d. zSession: services for end-user applications: data grouping, checkpointing, etc. zPresentation: data formats, transformation services. zApplication: interface between network and end-user programs.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Hardware architectures zMany different types of networks: ytopology; yscheduling of communication; yrouting.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Point-to-point networks zOne source, one or more destinations, no data switching (serial port): PE 1 PE 2 PE 3 link 1 link 2

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Bus networks zCommon physical connection: PE 1PE 2PE 3PE 4 headeraddressdataECC packet format

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Bus arbitration zFixed: Same order of resolution every time. zFair: every PE has same access over long periods. yround-robin: rotate top priority among Pes. A,B,C fixed round-robin ABCABC ABCABC

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Crossbar in1in2 in3 in4 out1 out2 out3 out4

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Crossbar characteristics zNon-blocking. zCan handle arbitrary multi-cast combinations. zSize proportional to n 2.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Multi-stage networks zUse several stages of switching elements. zOften blocking. zOften smaller than crossbar.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Message-based programming zTransport layer provides message-based programming interface: send_msg(adrs,data1); zData must be broken into packets at source, reassembled at destination. zData-push programming: make things happen in network based on data transfers.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C bus zDesigned for low-cost, medium data rate applications. zCharacteristics: yserial; ymultiple-master; yfixed-priority arbitration. zSeveral microcontrollers come with built- in I 2 C controllers.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C physical layer master 1master 2 slave 1slave 2 SCL SDL data line clock line

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C data format SCL SDL... MSBstart... ack...

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C electrical interface SDL + zOpen collector interface: SCL +

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C signaling zSender pulls down bus for 0. zSender listens to bus---if it tried to send a 1 and heard a 0, someone else is simultaneously transmitting. zTransmissions occur in 8-bit bytes.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C data link layer zEvery device has an address (7 bits in standard, 10 bits in extension). yBit 8 of address signals read or write. zGeneral call address allows broadcast.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C bus arbitration zSender listens while sending address. zWhen sender hears a conflict, if its address is higher, it stops signaling. zLow-priority senders relinquish control early enough in clock cycle to allow bit to be transmitted reliably.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I 2 C transmissions multi-byte write read from slave write, then read Sadrs0data P Sadrs1dataP Sadrs0dataSadrs1dataP

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Ethernet zDominant non-telephone LAN. zVersions: 10 Mb/s, 100 Mb/s, 1 Gb/s zGoal: reliable communication over an unreliable medium.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Ethernet topology zBus-based system, several possible physical layers: ABC

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. CSMA/CD zCarrier sense multiple access with collision detection: ysense collisions; yexponentially back off in time; yretransmit.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Exponential back-off times time

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Ethernet packet format preamble start frame source adrs dest adrs data payload lengthpaddingCRC

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Ethernet performance zQuality-of-service tends to non-linearly decrease at high load levels. zCan’t guarantee real-time deadlines. However, may provide very good service at proper load levels.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Fieldbus zUsed for industrial control and instrumentation---factories, etc. zH1 standard based on MB/s twisted pair medium. zHigh Speed Ethernet (HSE) standard based on 100 Mb/s Ethernet.