Introduction to Ethernet and IP in automotive vehicles



Similar documents
Automotive Ethernet Prototype and test development with CANoe/CANalyzer.Ethernet

SOME/IP SERVICE DISCOVERY THE NEED FOR SERVICE DISCOVERY IN THE VEHICLE

Ethernet. Ethernet. Network Devices

Challenge of Ethernet Use in the Automobile

Networking Test 4 Study Guide

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

From Signal Routing to complete AUTOSAR compliant CAN design with PREEvision (II)

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

CMA5000 SPECIFICATIONS Gigabit Ethernet Module

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Network Programming TDC 561

Chapter 9. IP Secure

Objectives of Lecture. Network Architecture. Protocols. Contents

The OSI and TCP/IP Models. Lesson 2

Overview of TCP/IP. TCP/IP and Internet

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

Candidates should attempt FOUR questions. All questions carry 25 marks.

The Looming Ethernet MAC Address Crisis

MAC Address Issues in IEEE 802.1

Based on Computer Networking, 4 th Edition by Kurose and Ross

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

10/100/1000 Ethernet MAC with Protocol Acceleration MAC-NET Core

Mathatma Gandhi University

10/100/1000Mbps Ethernet MAC with Protocol Acceleration MAC-NET Core with Avalon Interface

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Transport Layer. Chapter 3.4. Think about

Transport and Network Layer

Transport Layer Protocols

Internetworking. Problem: There is more than one network (heterogeneity & scale)

How will the Migration from IPv4 to IPv6 Impact Voice and Visual Communication?

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

IP address format: Dotted decimal notation:

Industrial Networks & Databases. Protocols and Networks - Device Bus - - Field Bus -

CS335 Sample Questions for Exam #2

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

IP - The Internet Protocol

LIN (Local Interconnect Network):

Data Link Layer Overview

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Data Communication Networks and Converged Networks

Ethernet/IEEE evolution

The OSI Model: Understanding the Seven Layers of Computer Networks

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Written examination in Computer Networks

RTP / RTCP. Announcements. Today s Lecture. RTP Info RTP (RFC 3550) I. Final Exam study guide online. Signup for project demos

11/22/

Introduction to TCP/IP

Internet Architecture and Philosophy

XMVAE Gigabit Ethernet Modules

Gigabit Ethernet MAC. (1000 Mbps Ethernet MAC core with FIFO interface) PRODUCT BRIEF

FlexRay A Communications Network for Automotive Control Systems

6LoWPAN Technical Overview

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

8.2 The Internet Protocol

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

How do I get to

IEEE frame format

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

GB ethernet UDP interface in FPGA

Introduction to IP v6

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

WAN Data Link Protocols

VLAN und MPLS, Firewall und NAT,

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Protocol Data Units and Encapsulation

Internetworking and IP Address

Lecture Computer Networks

The OSI Model and the TCP/IP Protocol Suite

Ha-VIS FTS 3000 Introduction and features

Introduction to LIN. Webinar

Protocols. Packets. What's in an IP packet

Savera Tanwir. Internet Protocol

OSI Layers in Automotive Networks

Ajay Gummalla-July 2001

Welcome. People Power Partnership PROFIdag 2013 Peter Van Passen Sales & Business Development Manager HARTING Electric 1/44

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

ICOM : Computer Networks Chapter 6: The Transport Layer. By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 UPRM

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

PART OF THE PICTURE: The TCP/IP Communications Architecture

From Fieldbus to toreal Time Ethernet

INTRODUCTION TO 100BASE-T: FAST (AND FASTER) ETHERNET

FOUNDATION Fieldbus High Speed Ethernet Control System

The OSI Model and the TCP/IP Protocol Suite PROTOCOL LAYERS. Hierarchy. Services THE OSI MODEL

High Speed Industrial Ethernet for Semiconductor Equipment

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Performance Study of an In-Car Switched Ethernet Network without Prioritization

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Network layer: Overview. Network layer functions IP Routing and forwarding

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

IP Subnetting and Addressing

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

TCP/IP and the Internet

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Transcription:

Introduction to Ethernet and IP in automotive vehicles Webinar V1.02 2014-05-14

Agenda > Information 3 Introduction 6 Physical layers 8 IEEE Ethernet MAC + VLAN 14 Internet Protocol (IPv4/IPv6) 18 TCP and UDP 22 Use-oriented protocols 27 Summary and outlook 32 Slide: 2

Information Moderator Dipl. Ing. (FH), M.Sc. Jan Bossert Technical Trainer Areas of responsibility CAN, FlexRay, Ethernet and IP CANoe and CANalyzer Email: academy@vector.com Slide: 3

Information Vector trainings/workshops VectorAcademy Basics: > CAN, LIN, Ethernet and IP, Products: > CANoe, CANalyzer, CANape, Software components: > AUTOSAR, OSEK/VDX, Additional information: > www.vector-academy.com Slide: 4

Agenda Information 3 >Introduction 6 Physical layers 8 IEEE Ethernet MAC + VLAN 14 Internet Protocol (IPv4/IPv6) 18 TCP and UDP 22 Use-oriented protocols 27 Summary and outlook 32 Slide: 5

Introduction Application area Service Control/Discovery Diagnostics and Flash Update Measurement and Calibration Audio/Video Time Sync Smart Charging 7 6 SOME/IP DoIP XCP 5 AVB ISO 15118 Part 1 + 2 4 TCP/UDP 3 IPv4/IPv6 2 1 IEEE Ethernet MAC + VLAN Ethernet PHY (Open Alliance BroadR-Reach, IEEE 100Base-TX/1000Base-T) ISO 15118 Part 3 Slide: 6

Agenda Information 3 Introduction 6 > Physical layers 8 IEEE Ethernet MAC + VLAN 14 Internet Protocol (IPv4/IPv6) 18 TCP and UDP 22 Use-oriented protocols 27 Summary and outlook 32 Slide: 7

Physical layers Ethernet topology in automotive Slide: 8

Physical layers Components of an ECU µc: HOST Contains application and basic software Needs a IEEE Ethernet MAC for Ethernet communication MII: Medium Independent Interface Connection between µc and PHY MDI: Medium Dependent Interface Connection to physical layer Slide: 9

Physical layers Open Alliance BroadR-Reach ECU 1 Coding/Decoding: ECU 2 4B3B, 3B2T, PAM3 MASTER BroadR-Reach PHY MDI Clock recovery/synchronization: Master-slave behavior Configured in PHY SLAVE BroadR-Reach PHY MDI UTP: Unshielded Twisted Pair 100 Mbit/s FULL DUPLEX Slide: 10

Physical layers IEEE 100Base-TX 100Base-TX PHY Coding/Decoding: ECU 1 ECU 2 Clock recovery/synchronization: NRZI, 4B5B, MLT-3 Each path is activated by transmitter Synchronization is done continuously 100Base-TX PHY MDI MDI Tx Rx Tx Rx 100 Mbit/s FULL DUPLEX Slide: 11

Physical layers IEEE 1000Base-T Coding/Decoding: 4D-PAM5, 8B1Q4 Clock recovery: Master-slave behavior Role is configured or negotiated Slide: 12

Agenda Information 3 Introduction 6 Physical layers 8 > IEEE Ethernet MAC + VLAN 14 Internet Protocol (IPv4/IPv6) 18 TCP and UDP 22 Use-oriented protocols 27 Summary and outlook 32 Slide: 13

IEEE Ethernet MAC + VLAN Properties Independent data link layer which supports different PHYs Defines basic functions for communication: > Bus access: CSMA/CD > Frame format: Ethernet Frame > Addressing: Node addressing Detailed sub-layers of layer 2: > LLC: Logical Link Control Controls different connections of higher layers > MAC: Medium Access Control Provides above-named functions Slide: 14

IEEE Ethernet MAC + VLAN MAC addresses and VLAN Slide: 15

IEEE Ethernet MAC + VLAN Ethernet Frame PRB: Preamble (Start of transmission) Type: Value 1500 (0x05DC) DA: Destination Address > Ethernet 802.3 Frame > Length in Byte SA: Source Address Type: Value > 1536 (0x0600) Payload: Data field (42-1500 Byte) > Ethernet II Frame > 0x8100: VLAN Tag (see VLAN) CRC: Cyclic Redundancy Check Slide: 16

Agenda Information 3 Introduction 6 Physical layers 8 IEEE Ethernet MAC + VLAN 14 > Internet Protocol (IPv4/IPv6) 18 TCP and UDP 22 Use-oriented protocols 27 Summary and outlook 32 Slide: 17

Internet Protocol (IPv4/IPv6) Properties Allows routing of data packets across network boundaries Two versions are available > IPv4: Four Byte addresses (32 Bit) > IPv6: Sixteen Byte addresses (128 Bit) Is using Ethernet Frames: > IPv4: Type 0x0800 > IPv6: Type 0x86DD Slide: 18

Internet Protocol (IPv4/IPv6) IP addresses (Example IPv4) Slide: 19

Internet Protocol (IPv4/IPv6) IP packet (IPv4) 2 Byte VER IHL TOS IPv4 packet LGT > VER: Used IP version (v4, v6) > IHL: Header length in DWORD ID > TOS: Type of Service (priority) FL FO > LGT: Length of packet incl. Header in Byte > ID: Packet identifier TTL PRT > FL: Packet fragmentation HCRC SA (Byte 0..1) > FO: Fragment Offset > TTL: Time To Live > PRT: Protocol field SA (Byte 2..3) > HCRC: Header CRC DA (Byte 0..1) > SA: Source Address > DA: Destination Address DA (Byte 2..3) > Options: Additional options (optional) Options* Slide: 20

Agenda Information 3 Introduction 6 Physical layers 8 IEEE Ethernet MAC + VLAN 14 Internet Protocol (IPv4/IPv6) 18 >TCP and UDP 22 Use-oriented protocols 27 Summary and outlook 32 Slide: 21

TCP and UDP Introduction TCP: Transmission Control Protocol Allows connection-oriented communication UDP: User Datagram Protocol Allows connectionless communication TCP and UDP Ports are used for addressing > Source Port: Transmitter source port > Destination Port: Receiver destination port Are using IP packets: > TCP: protocol field = 6 > UDP: protocol field = 17 Slide: 22

TCP and UDP TCP/UDP ports Slide: 23

TCP and UDP TCP segment TCP segment > SP: Source Port > DP: Destination Port > SEQ No.: Sequence number > ACK No.: Acknowledgement number > OFF: Length of TCP header without data > res: Not used > FLAGS: Control flags (see next slide) > WIN: Sliding window > CHK: Checksum > UP: Urgent Pointer if URG Flag is set > options*: Optional additional information > data: Data field Slide: 24

TCP and UDP UDP packet UDP packet > SP: Source Port > DP: Destination Port > Length: Length of packet inclusive header (minimum 8 Byte) > Checksum: Optional checksum > Data: Data field Slide: 25

Agenda Information 3 Introduction 6 Physical layers 8 IEEE Ethernet MAC + VLAN 14 Internet Protocol (IPv4/IPv6) 18 TCP and UDP 22 > Use-oriented protocols 27 Summary and outlook 32 Slide: 26

Use-oriented protocols SOME/IP: Scalable Service-Oriented Middleware over IP Application areas: > SOME/IP: Service-oriented data transmission for controlled communication > SOME/IP-SD: SOME/IP Service Discovery Uses TCP or UDP packets: > UDP: connectionless communication > TCP: connection-oriented communication Description file: FIBEX 4.1 > Describes services and content of services (Method, event, field) Slide: 27

Use-oriented protocols DoIP: Diagnostics over IP Diagnostics and Flash Update 7 Application areas: > Diagnostics over Ethernet and IP 6 DoIP > Flash programming 5 Needs TCP or UDP packets: > UDP: connectionless communication 4 TCP/UDP > TCP: connection-oriented communication 3 IPv4/IPv6 Description file: CDD, ODX, etc. 2 Ethernet MAC + VLAN > Describes available diagnostic services 1 Ethernet PHY Slide: 28

Use-oriented protocols XCP: Universal Measurement and Calibration Protocol Application areas: > Measurement (asynchronous/synchronous) > Calibration (adjusting/parameterizing) > Flash programming Needs TCP or UDP packets: > UDP: connectionless communication > TCP: connections-oriented communication Description file: A2L > Describes memory addresses and available objects of an ECU Slide: 29

Use-oriented protocols AVB: Audio Video Bridging Application area: > Time synchronous data transmission > Real time data transmission > Priority controlled data transmission Needs Ethernet Frames or VLAN Frames: > Ethernet Type: 0x88F7 (IEEE 1588 Precision Time Protocol) Sub-division of AVB: > IEEE 802.1Qav/AS/Qat: Synchronization, real time data transmission, priority controlled transmission > IEEE 1722: Optional transport protocol > IEC 61883: Structure of Audio/Video streaming Slide: 30

Agenda Information 3 Introduction 6 Physical layers 8 IEEE Ethernet MAC + VLAN 14 Internet Protocol (IPv4/IPv6) 18 TCP and UDP 22 Use-oriented protocols 27 > Summary and outlook 32 Slide: 31

Summary and outlook Application areas Service Control/Discovery Diagnostics and Flash Update Measurement and Calibration Audio/Video Time Sync Smart Charging 7 6 SOME/IP DoIP XCP 5 AVB ISO 15118 Part 1 + 2 4 TCP/UDP 3 IPv4/IPv6 2 1 IEEE Ethernet MAC + VLAN Ethernet PHY (Open Alliance BroadR-Reach, IEEE 100Base-TX/1000Base-T) ISO 15118 Part 3 Slide: 32

Summary and outlook CANoe/CANalyzer.Ethernet CANoe/CANalyzer Demo including IP/Ethernet: > Measuring, analyzing, simulation, testing of Ethernet and IP based communication > Free demo version: www.vector.com/vi_downloadcenter_de.html Products: CANoe, Categories: Demos SCC AddOn (needs CANoe.Ethernet): > Measuring, analyzing, simulation, testing of Smart Charge Communication > Free download: www.vector.com/vi_downloadcenter_de.html Products: CANoe, Categories: AddOns/Freeware CANoe/CANalyzer.Ethernet Slide: 33

Summary and outlook Additional webinars IP, SOME/IP, BroadR-Reach: Prototype and test development with CANoe/CANalyzer.Ethernet and VN5610: > Thursday, June 26th, 2014 between 10:00 a.m. and 11:00 a.m. > Moderator: Hans-Werner Schaal > Target group: System and ECU developers, experts in system integration and testing in this field MICROSAR IP: The Vector Embedded Ethernet Stack and its use-cases : > Tuesday, May 21st, 2014 between 09:00 a.m. and 10:00 a.m. > Moderator: Marc Weber > Target group: ECU application developers, software engineers and architects, software project managers Slide: 34

Summary and outlook Additional Events Automotive Ethernet Symposium (free of charge): > Tuesday, May 27th, 2014 between 10:00 a.m. and 05:00 p.m > Location: Stuttgart (Germany), Liederhalle > Language: German and additional simultaneous translation to English > Lectures: Daimler, BMW, Hella, NXP, TTTech, Vector > Registration and agenda: www.vector.com/aes14 Slide: 35

Thank you for your attention. For detailed information about Vector and our products please have a look at: www.vector.com Author: Bossert, Jan Vector Informatik GmbH Slide: 36