Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania 18042 ECE 491 - Senior Design I Lecture 10 - Data Communications.

Slides:



Advertisements
Similar presentations
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??
Advertisements

OSI Model OSI MODEL.
OSI MODEL Maninder Kaur
1 n OSI Reference Model n Hierarchical Software Layers.
International Standards Organization Open Systems Interconnect (OSI) Reference Model Advanced Computer Networks.
OSI Model MIS 416 – Module II Spring 2002 Networking and Computer Security.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 11 - Data Communications.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
EE 4272Spring, 2003 EE4272: Computer Networks Instructor: Tricia Chigan Dept.: Elec. & Comp. Eng. Spring, 2003.
Computer Network Architecture and Programming
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Network Architectures Week 3 – OSI and The Internet.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Microcomputer Networking II St. Cloud State University MCS 426, Fall 1999 Instructor: Adomas Svirskas The ISO/OSI Reference Model The Model Functionality.
Protocol Architecture The “Common Language”. Copyright by Jorg Liebeherr 98, 99 Need for Protocols Protocols are a set of rules and conventions. By enforcing.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
LECTURE 2 CT1303 LAN. STANDARD MODELS: OSI Model : Open system Interconnection. is a conceptual model that characterizes and standardizes the internal.
OIS Model TCP/IP Model.
Lecturer: Tamanna Haque Nipa
What’s going on here? Leo Koppel Jan The OSI Model LayersData unitFunctionExamples Host layers 7. ApplicationApplication Data High-level APIs,
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.
Data Communications and Networks
Presentation on Osi & TCP/IP MODEL
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Chapter 7 Low-Level Protocols
THE OSI REFERENCE MODEL Open Systems Interconnection (OSI) International Organization for Standardization( ISO)
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Networking and Internet Dr. John P. Abraham Professor UT-RGV.
Computer Networks. Introduction Computer Network2 A History Lesson of Networking 1969 – ARPANET, first packet switched network consist of UCLA, Stanford,
OSI Model. Topics What is the OSI Model? What is a Protocol? Why 7 Layers? The 7 Layers – Application – Presentation – Session – Transport – Network –
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 16 - Ethernet Fall.
OSI Model Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
03 - Winter 2006ECE 766 Computer Interfacing and Protocols 1 Protocol Hierarchies First networks: hardware comes first Increased complexity  network architecture.
William Stallings Data and Computer Communications
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
Net 221D:Computer Networks Fundamentals
Protocol Layering Chapter 11.
Communication Architecture and Network Protocol Layering Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by:
Internet and Intranet Fundamentals Class 1 Sessions A & B.
Data Communication Network Models
The OSI Model An overview of the media layer (Physical, Data Link, Network) By Luke Shiffner.
Week #8 OBJECTIVES Chapter #5. CHAPTER 5 Making Networks Work Two Networking Models –OSI OPEN SYSTEMS INTERCONNECTION PROPOSED BY ISO –INTERNATIONAL STANDARDS.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Mr. Sathish Kumar. M Department of Electronics and Communication Engineering I’ve learned that people will forget what you said, people will forget what.
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 Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Computer Networks.
OSI model vs. TCP/IP MODEL
Click to edit Master subtitle style
CHAPTER 2 THE OSI MODEL.
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
Networking and Internet
Networking and Internet
Data and Computer Communications by William Stallings Eighth Edition
Chapter 3: Open Systems Interconnection (OSI) Model
Network Protocol Layers
OSI Model OSI MODEL.
Network Architecture Models
Presentation transcript:

Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Senior Design I Lecture 10 - Data Communications Fall 2008 Reading:S&R Ch. 4 (System Design) Quiz 1:Wednesday, Sept. 24 (Verilog) ChE Brownbag: “Working in Industry” Evan O’Brien ‘06, Exxon-Mobil Friday 9/ pm AEC 314 Data Communications, early 1800s (French Semaphore)

ECE 491 Fall 2008Lecture 10 - Data Comm.2 Where we are  Last Time:  Verification & Testbenches  Requirements Analysis  Today:  Network Protocols - Overview  Data Communication - Physical Layer Asynchronous Serial Communication (RS-232) Manchester Codes  Discuss Lab 4

ECE 491 Fall 2008Lecture 10 - Data Comm.3 Network Protocols  A protocol is a set of rules for communication  Network protocols specify how communication takes place between computers over a network  Network protocols are divided into layers that form a protocol stack

ECE 491 Fall 2008Lecture 10 - Data Comm.4 Layers, Protocols, and Interfaces Layer 1 Layer 2 Layer 3 Layer 4 Layer 5 Physical Medium Layer 5 Protocol Host 2 Layer 1 Layer 2 Layer 3 Layer 4 Layer 5 Host 1 Layer 4 Protocol Layer 3 Protocol Layer 2 Protocol Layer 1 Protocol

ECE 491 Fall 2008Lecture 10 - Data Comm.5 Open Systems Interconnection (OSI) Basic Reference Model  Developed by the International Standards Organization (ISO) in 1984  A model protocol stack  Based on seven layers

ECE 491 Fall 2008Lecture 10 - Data Comm.6 OSI Reference Model Design Principles  A layer should be created when a different level of abstraction is needed  Each layer should perform a well-defined function  The function of each layer should help define internationally standardized protocols  Layer boundaries should be chosen to minimize information flow across interfaces Source: A. Tannenbaum, Computer Networks, 3rd ed., Prentice-Hall, 2000.

ECE 491 Fall 2008Lecture 10 - Data Comm.7 OSI Reference Model Physical Data Link Network Transport Session Host-Router Protocol Presentation Application Physical Data Link Network Transport Session Presentation Application Transport Protocol Session Protocol Presentation Protocol Application Protocol Physical Data Link Network Physical Data Link Network Internal Subnet Protocol

ECE 491 Fall 2008Lecture 10 - Data Comm.8 A Quick Tour of the OSI Layers  Physical - transmitting raw bits over a communication channel  Electrical and physical specification of devices  Data Link - transform raw transmission facility into one that appears error-free.  Data frames  Acknowledgement Frames  Error Detection and Correction  Network Layer - Controls subnet operation  Packet routing  Congestion Control

ECE 491 Fall 2008Lecture 10 - Data Comm.9 A Quick Tour of the OSI Layers (cont’d)  Transport - Controls connections for Session Layer  Session - Establishes sessions between users on different machines  Presentation - performs common functions warranting general solution  Application - High-level, commonly needed protocols

ECE 491 Fall 2008Lecture 10 - Data Comm.10 TCP / IP  Developed in early 1980s for “networks of networks”  Connected original ARPANet with various LANs  Two key protocols  TCP - Transmission Control Protocol  IP - Internet Protocol

ECE 491 Fall 2008Lecture 10 - Data Comm.11 TCP / IP

ECE 491 Fall 2008Lecture 10 - Data Comm.12 TCP / IP  TCP: Transmission Control Protocol  Manages setup and termination of connections  Ensures “error-free” transmission Sent packets must be acknowledged Unacknowledged packets are resent Manages out-of-order packets  IP: Internet Protocol  Uses globally unique addresses i.e  Sends packets from source to target IP address  Delivery of packets not guaranteed

ECE 491 Fall 2008Lecture 10 - Data Comm.13 TCP / IP Layers  Link - Combines physical and data link layers  Internet - Transfers data from source network to destination network  Transport - Handles end-to-end connections  Application - High-level, commonly needed protocols

ECE 491 Fall 2008Lecture 10 - Data Comm.14 IEEE 802.x Protocols  Developed to support local area networks  IEEE Ethernet (1983-)  IEEE Wireless (1997-)  Implements only lower levels of stack  Logical Link Control (LLC) - Multiplexes protocols & supports flow control  Media Access Control (MAC) - Transfers data frames  Physical (PHY) - Physical connection

ECE 491 Fall 2008Lecture 10 - Data Comm.15 Comparing OSI to TCP/IP and 802.x Physical Data Link Network Transport Session OSI Presentation Application Host-to- network Internet Transport TCP/IP Application PHY MAC LLC IEEE 802.x

ECE 491 Fall 2008Lecture 10 - Data Comm.16 Physical Layer Protocols  How do we communicate bits from one module to another?  Physical Wiring  Modulation Scheme  Communication Protocol  We’ll look at one alternative today: Async. Serial SR

ECE 491 Fall 2008Lecture 10 - Data Comm.17 Asynchronous Communication  Use two voltages to represent space and mark  RS-232 Standard: Voltage range + 5V to - 15V (we’ll work with standard logic levels on FPGA) SR

ECE 491 Fall 2008Lecture 10 - Data Comm.18 Lab 4 - Asynchronous Transmitter Transmitter DATA START READY TxD CLK

ECE 491 Fall 2008Lecture 10 - Data Comm.19 Lab 4 Design Ideas  Assume clock rate == baud rate  Use a 10-bit “shift register”  Start bit (always 0)  Data (8 bits)  Stop bit (always 1)  General Operation  Load when START==1  Stop shifting when shift register ==

ECE 491 Fall 2008Lecture 10 - Data Comm.20 Other Lab 4 Tasks  Build a testbench to test the design  Build a clock divider to create a 9600Hz clock from the 50MHz clock on the S3 board.  Modify s3board.v to instantiate your transmitter with data connected to slide switches, start connected to pushbutton (debounce pushbutton if necessary)  Test on S3 board with serial cable and HyperTerminal on PC

ECE 491 Fall 2008Lecture 10 - Data Comm.21 Debugging Lab 4  Make sure “txd” output constraint is un-commented  Double-Check the Code  Double-Check the Simulation  Check outputs on the oscilloscope  Add output ports for: Transmitter Clock READY TxD (copy)  Constrain using pins connected to “A2 Connector”

ECE 491 Fall 2008Lecture 10 - Data Comm.22 Detail - A2 Expansion Connector GND 1 2 VU 4 E6 VDD 3 D5 5 6 C5 D6 7 8 C6 10 C7 E7 9 FPGA Pins

ECE 491 Fall 2008Lecture 10 - Data Comm.23 Debugging with the Oscillocope  Transmitter Clock - is frequency right?  READY - Does it appear while START is pressed?  TxD (copy) - is the value correct? Use READY to sync the scope while START is pressed Watch transmitted waveform - is it what is expected?

ECE 491 Fall 2008Lecture 10 - Data Comm.24 Looking Ahead to Lab 5 - Receiver

ECE 491 Fall 2008Lecture 10 - Data Comm.25 Coming Up  More about Physical Links  Serial Receiver  Signaling Conventions  Manchester Codes