
Ethernet EVB Ethernet Experimentation & Evaluation Board Lab Manual Version 1.0 - August 3, 2015 Intrepid Control Systems, Inc. 31601 Research Park Drive Madison Heights, MI 48071 USA (ph) +1-586-731-7950 (fax) +1-586-731-2274 www.intrepidcs.com www.aeta-rice.com Ethernet EVB Lab Manual Table of Contents Introduction to the Intrepid Ethernet EVB Lab Manual ...............................................................................1 Section 1 Basic Ethernet Traffic Analysis and Frame Transmission ..................................................6 Lab 1.1 Analyzing Ethernet Traffic Using Vehicle Spy 3 ...............................................................................7 Lab 1.2 Making Use of Advanced Vehicle Spy 3 Analysis Functionality .....................................................19 Lab 1.3 Using the Messages Editor and a Function Block Script to Transmit Raw Ethernet Frames ........28 Lab 1.4 Reviewing and Modifying Ethernet Templates and Setup Files .....................................................42 Lab 1.5 Setting Up a Transmission and Response Exchange Using Ethernet Frames .............................48 Lab 1.6 Adding Intelligence and Control to Ethernet Transmission and Response Exchanges .................54 Section 2 Experiments with the TCP/IP Address Resolution Protocol (ARP) Over Ethernet .....59 Lab 2.1 Observing ARP in Action ...............................................................................................................61 Lab 2.2 Sending Periodic ARP Requests from EEVB Node A ....................................................................67 Lab 2.3 Using Application Signals to Set up an Intelligent ARP Request/Reply Exchange ........................73 Lab 2.4 Controlling ARP Request and Reply Operation Using EEVB Inputs .............................................78 Lab 2.5 Setting Up an ARP Request/Reply Exchange Between the EEVB and PC ..................................84 Lab 2.6 Manual ARP Request from PC to EEVB Using RAD-Moon (Optional) ..........................................88 Section 3 Simulations Using TCP/IP Internet Protocol (IP) and Internet Control Message Protocol (ICMP) Messages ........................................................................................................96 Lab 3.1 Examining IP and ICMP Messages and Some Common Network Utilities ...................................99 Lab 3.2 Creating and Transmitting Custom IP Datagrams .......................................................................109 Lab 3.3 Using Signal Lists and Plots to Display Data and Adding a Second Simultaneous CoreMini Script for Node Synchronization ................................................................................... 115 Lab 3.4 Simulating the Ping Utility and Monitoring Ping Exchanges Using a Graphical Panel ................125 Lab 3.5 Manual Ping from PC to EEVB Using RAD-Moon .......................................................................132 Lab 3.6 Simulating a Routing Problem with ICMP Time Exceeded Messages ........................................136 Section 4 TCP/IP User Datagram Protocol (UDP) and Transmission Control Protocol (TCP) Data Exchanges ............................................................................................................. 141 Lab 4.1 Analyzing UDP and TCP Messages and Exploring the TCP Column Display .............................146 Lab 4.2 Transmitting Input/Output Data Using UDP .................................................................................160 Lab 4.3 Creating a Simple Custom UDP Message Exchange Protocol ...................................................167 Lab 4.4 Simulating TCP Connection Establishment and Termination ......................................................175 Version 1.0 - August 3, 2015 i © 2015 Intrepid Control Systems, Inc. Ethernet EVB Lab Manual Introduction to the Intrepid Ethernet EVB Lab Manual Welcome to the Lab Manual for the Intrepid Control Systems (ICS) Ethernet Experimentation and Evaluation Board, which for convenience is abbreviated as the Ethernet EVB or just EEVB. This document contains about two dozen hands-on, detailed tutorials that demonstrate the operation of both the EEVB hardware and Vehicle Spy 3 (VSpy) software. Following the step-by-step instructions in these experiments, which we call labs, will help you learn about the operation of Automotive Ethernet and the TCP/IP protocols that run on it. About the Ethernet EVB Lab Manual and User’s Guide As you may already know, the EEVB is supported by a pair of documents rather than just one. The EEVB User’s Guide describes the EEVB in detail, outlining its components and features, and providing instructions for installing and setting up the board and Vehicle Spy 3. It also contains troubleshooting information to help you deal with problems that may arise when dealing with the product. The Lab Manual, as mentioned above, contains detailed experiment tutorials that let you really dig into using the board. To help you make the most of your time, the Lab Manual was written assuming that you have already read through the User’s Guide. If for some reason you have come here first, we recommend referencing that document before proceeding. It’s not necessary to read everything cover to cover, but please be sure to at least follow the instructions necessary to get your hardware and software installed and working correctly before you try these labs. There is also a special demo in the User’s Guide that helps verify correct operation of your EEVB setup, and also serves as a nice preview of the procedures you’ll find in the Lab Manual. As part of this demo you will create a logon name in Vehicle Spy 3, which must be done in order to set up a data directory. The Lab Manual assumes that you have already followed the instructions for this demo and run it, and so that this data directory (“EEVB”) already exists. One of the later labs also builds upon this demo. Organization of the Lab Manual The introduction you are reading right now describes the Lab Manual itself and includes a few important topics you’ll want to understand before proceeding with the experiments themselves. The labs are broken into four sections, each with several numbered labs. Here’s a summary of the lab sections: 1. Basic Ethernet Traffic Analysis and Frame Transmission: Provides an introduction to Vehicle Spy 3 and the Ethernet EVB. You’ll learn how to capture and analyze Ethernet traffic, define custom Ethernet messages, and create simple scripts to allow message exchanges between the two EEVB nodes. 2. Experiments with the TCP/IP Address Resolution Protocol (ARP) Over Ethernet: A set of labs oriented around ARP, which, due to its simplicity, is an ideal place to begin exploring TCP/IP over Automotive Ethernet. You’ll set up an ARP request/reply exchange, and learn how to send and receive messages between the PC and EEVB. Version 1.0 - August 3, 2015 1 © 2015 Intrepid Control Systems, Inc. Ethernet EVB Lab Manual 3. Simulations Using TCP/IP Internet Protocol (IP) and Internet Control Message Protocol (ICMP) Messages: In this section we move into more advanced experiments that illustrate the operation of IP and ICMP, two essential TCP/IP protocols. This includes simulations of the popular ping utility and a message routing scenario. 4. TCP/IP User Datagram Protocol (UDP) and Transmission Control Protocol (TCP) Data Exchanges (Coming Soon): Here we explore TCP/IP’s two main Transport Layer protocols, looking at data transfer over UDP and connection establishment with TCP. The Lab Manual contains over 100 figures to help you understand exactly what is going on as you proceed. Action items, meaning steps where you need to actively do something, are set apart from the rest of the text for greater visibility using a right-facing pointer character (“►”). How to Get the Most of the Lab Manual We recommend doing the labs in the order they are listed in the manual. One reason is that to avoid repetition, the fundamentals of using the hardware and software are covered in more detail earlier in the Lab Manual, and we assume you have these basics down by the time you get further into the document. In addition, the lab sections build upon each other logically; for example, UDP and TCP (section 4) both use IP (section 3). The EEVB also comes with a complimentary copy of ICS’s book Automotive Ethernet - The Definitive Guide (Figure 1). This 1,100+ page reference provides a thorough description of Automotive Ethernet, as well as a comprehensive description of TCP/IP protocols. Each section of the Lab Manual begins with an overview of the protocols introduced and used within that section. However, of necessity, these are quite brief. If you are new to TCP/IP or want to know more about protocols such as ARP, IP, ICMP, UDP and TCP as you make use of them in this manual, be sure to use the book as a resource! Figure 1: Automotive Ethernet - The Definitive Guide. Intrepid’s industry-leading book will help you understand the technologies used in Automotive Ethernet. Version 1.0 - August 3, 2015 2 © 2015 Intrepid Control Systems, Inc. Ethernet EVB Lab Manual Optional RAD-Moon Labs Some of the experiments in the Lab Manual make use of the ICS RAD-Moon media converter (Figure 2), which connects conventional and BroadR-Reach Ethernet networks. Please try these labs if you have purchased the bundle containing the EEVB and RAD-Moon, or purchased the converter separately; they will show you some of what you can do with the combination of these
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages185 Page
-
File Size-