© 2010, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the SH7216 Ethernet.

Slides:



Advertisements
Similar presentations
Nios Multi Processor Ethernet Embedded Platform Final Presentation
Advertisements

Categories of I/O Devices
Intermediate TCP/IP TCP Operation.
Microcontroller – PIC – 4 PIC types PIC architecture
UDP - User Datagram Protocol UDP – User Datagram Protocol Author : Nir Shafrir Reference The TCP/IP Guide - ( Version Version.
An 8051 Based Web Server Project by Mason Kidd Advised by Dr. Schertz.
第 1 /28 頁 Implementation LAN91c111-NE driver on Altera cyclone NIOS SoC development board 蕭詣懋 SoC EE CCU 5/23/2005 蕭詣懋
Shared Memory IP Simulation Ben Davis. Outline Description Target Hardware Simulation Model TCP/IP uIP lwIP Results.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Gursharan Singh Tatla Transport Layer 16-May
©2008. Renesas Technology America., All rights reserved. Renesas Direct Drive for Connecting to TFT-LCD Panels David Hedley – Staff Applications Engineer.
OS Implementation On SOPC Final Presentation
GigE Knowledge. BODE, Company Profile Page: 2 Table of contents  GigE Benefits  Network Card and Jumbo Frames  Camera - IP address obtainment  Multi.
Title goes here in Frutiger Bold, 25 points Subhead if any goes here in Frutiger Roman, 20 points Bullet copy in Frutiger Bold, 18 points Product Opportunities.
Lecture 8 Modeling & Simulation of Communication Networks.
Process-to-Process Delivery:
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Instant Connectivity for the “Internet of Things”
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
© 2008, Renesas Technology America, Inc. All Rights Reserved The RCAN-ET peripheral and the CAN API SH2 & SH2A MCUs V 1.2 Mar 2010.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Renesas Electronics America Inc. “© 2010 Renesas Electronics America Inc. All rights reserved ID 220L: Hands-on Embedded Ethernet Design with an Open Source.
LWIP TCP/IP Stack 김백규.
Examining TCP/IP.
Network Services Networking for Home & Small Business.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
NIOS II Ethernet Communication Final Presentation
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the peripherals.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
BASIC NETWORK PROTOCOLS AND THEIR FUNCTIONS Created by: Ghadeer H. Abosaeed June 23,2012.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the Direct Memory.
Ethernet Overview it the IEEE standard for Ethernet.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
1 Syllabus at a glance – CMCN 6103 Introduction Introduction to Networking Network Fundamentals Number Systems Ethernet IP Addressing Subnetting ARP DNS.
Slide #1 CIT 380: Securing Computer Systems TCP/IP.
SWICHING & ROUTING.
Ethernet Bomber Ethernet Packet Generator for network analysis
Transmission Control Protocol (TCP) Internet Protocol (IP)
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. Overview of Ethernet Networking A Rev /31/2011.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Renesas Electronics America Inc. RX Ethernet Peripheral © 2011 Renesas Electronics America Inc. All rights reserved A Rev /16/2011.
IP - Internet Protocol No. 1  Seattle Pacific University IP: The Internet Protocol Kevin Bolding Electrical Engineering Seattle Pacific University.
1394 H/W and OHCI Gi-Hoon Jung. 2002/01/162 Agenda Overview of the VITANA board OHCILynx PCI-based Host Controller Overview of the OHCI Spec.
© 2003, Cisco Systems, Inc. All rights reserved.
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
Instructor Materials Chapter 5: Ethernet
Chapter 5 Network and Transport Layers
LWIP TCP/IP Stack 김백규.
Transport Layer.
Process-to-Process Delivery, TCP and UDP protocols
© 2003, Cisco Systems, Inc. All rights reserved.
Networking for Home and Small Businesses – Chapter 6
Network Architecture Introductory material
Networking for Home and Small Businesses – Chapter 6
Review of Important Networking Concepts
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Process-to-Process Delivery:
CPEG514 Advanced Computer Networkst
Networking for Home and Small Businesses – Chapter 6
Presentation transcript:

© 2010, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the SH7216 Ethernet peripheral with the emphasis on user applications with open source uIP TCP/IP stack  Objectives:  Obtain basic knowledge on SH7216 Ethernet peripherals  Find out what is available from Renesas  Learn how to run advanced applications with uIP TCP/IP stack  Get other freely available tools  Content:  21 pages  3 questions  Learning Time:  25 minutes

© 2010, Renesas Technology America, Inc., All Rights Reserved 2 SH7216 Features  CPU core  SH-2A (SuperH RISC Engine) Single core  FPU (single precision, double precision)  Operating frequency  CPU: bus/peripheral: 100/200MHz: 50MHz/50MHz  Power supply voltage  3.3V+-0.3V(core,I/O), 5.0V+-0.5V(A/D)  On-chip memory  512KB/768KB/1MB Flash memory  64kB/96kB/128KB RAM 32k Data Flash (R/W 30K :Target) with BGO function  External memory interface  SDRAM, Byte-selection SRAM, burst ROM  8-bit, 16-bit and 32-bit  Peripheral functions  Multifunction 16-bit PWM timer:  16-bit cycle timer: 2ch  Watchdog timer: 1ch  I2C bus interface: 1ch  DMA controller: 8ch + DTC  12-bit A/D converter: 4ch x 2 Units  SCI: 4ch  SCIF: 1ch (16-stage transmit and receive FIFO) SH-2A + FPU 100/200MHz External Memory I/F 8/16/32-bit DMAC (8 Ch) Flash (512K/768K/1MB) RAM (64K/96K/128KB) WDT USART (5 ch) I2C, SPI Multi Function Timer2 Unit (16-bit x 6 ch) Multi Function Timer2S Unit (16-bit x 3 ch) Compare Timer (16-bit x 2 ch) 12-bit ADC (4ch x 2 units) I/O Ports USB 2.0 FS Device CAN Ethernet 10/100 MAC DTC Data Flash (32KB)  Peripheral functions (con’t)  RSPI I/F  RCAN I/F  Ethernet MAC I/F  USB2.0 function (full speed): 1ch

© 2010, Renesas Technology America, Inc., All Rights Reserved 3 Ethernet Peripheral Ethernet Controller (EtherC)  Compliant with Ethernet and IEEE frames  Type encapsulation (Ethernet)  Length encapsulation (IEEE 803.2)  Supports 10 and 100 Mbps operation  Supports half and full duplex modes  PAUSE MAC layer flow control (IEEE 802.3x)  When in full duplex mode  Media Independent Interface (MII) PHY layer interface  Magic Packet detection and Wake-On-LAN (WOL)

© 2010, Renesas Technology America, Inc., All Rights Reserved 4 Ethernet Peripheral Ethernet Direct Memory Access Controller (E-DMAC)  Directly connected to EtherC  Reduce CPU workload  Efficient system bus utilization by block transfers  Transmit and receive buffer management  Descriptors to define and control the buffers  Support single frame and multi-buffer operation

© 2010, Renesas Technology America, Inc., All Rights Reserved 5 Ethernet Peripheral

© 2010, Renesas Technology America, Inc., All Rights Reserved 7 Questions (1) True or False  EtherC is responsible for moving Ethernet data to/from system memory  False. This is done by E-DMAC. Main responsibility of EtherC is transmission and reception of Ethernet frames  E-DMAC can work with internal and external RAM  True. There is no limitation on memory space for E-DMAC operations  EtherC and E-DMAC functions together to reduce CPU load  True. For example while EtherC is busy receiving data, E-DMAC can move them to system RAM without loading the CPU  Renesas Ethernet peripherals are almost the same across the different families  True. This allows code re-use and easy migration to other Renesas Ethernet devices

© 2010, Renesas Technology America, Inc., All Rights Reserved 8 Renesas Software Library Demonstration Project  Ethernet peripheral drivers  Complete TCP/IP stack implementation  Web server example  DHCP client

© 2010, Renesas Technology America, Inc., All Rights Reserved 9 Renesas Software Library Application Note  Demonstration setup  DHCP operation  Creation of new Web pages uIP Demo

© 2010, Renesas Technology America, Inc., All Rights Reserved 10 uIP TCP/IP Stack Features of the uIP TCP/IP Stack  Perfect solution for simple applications  Small footprint  Works on 8-bit to 32-bit MCUs  Needs only a timer peripheral  No RTOS required  High-level applications supported  Web server and client  ARP, IP, ICMP (ping), TCP, DHCP, Telnet, DNS  Supported by active community of developers  Developed by Adam Dunkels at Swedish Institute of Computer Science  Free to use and distribute

© 2010, Renesas Technology America, Inc., All Rights Reserved 12 uIP TCP/IP Advanced Demo

© 2010, Renesas Technology America, Inc., All Rights Reserved 13 uIP - Advanced Demo You should see a demo video in another browser window. [If you don’t see another window check for pop-up blocking.]

© 2010, Renesas Technology America, Inc., All Rights Reserved 14 uIP – Application Functions  uip_newdata()  Checks if new data has received  uip_acked()  Checks if the last data sent has been acknowledged  uip_closed()  Checks if the connection is closed  uip_send()  Sends TCP or UDP data  No support for socket style send  More on this later  uip_listen()  Listen a given port for incoming data

© 2010, Renesas Technology America, Inc., All Rights Reserved 15 uIP – Running Multiple Applications  Adding a Top Layer  Web server uses TCP port 80

© 2010, Renesas Technology America, Inc., All Rights Reserved 16 uIP – Running Multiple Applications  Adding a Top Layer  Advanced demo uses TCP port 5001

© 2010, Renesas Technology America, Inc., All Rights Reserved 17 uIP – Sending Data Main loop – Invoke the stack uIP stack – Call the application Top layer application – Multiplex applications Application handler – Fill in the application data Main loop – Transmit Flow of execution uIP stack – Fill in the protocol headers

© 2010, Renesas Technology America, Inc., All Rights Reserved 18 uIP – Sending Data  Create application information structure  Fill in connection information  Both for TCP and UDP  Determine when to send data out  Determine whether TCP ACKs can be used  Call uIP stack  For TCP use uip_poll_conn()  For UDP use uip_udp_periodic_conn()  Call uip_send in application handler  Write data to the Ethernet peripheral

© 2010, Renesas Technology America, Inc., All Rights Reserved 19 Renesas Rulz Advanced Demo  GUI demo  SH7126 advanced demo 

© 2010, Renesas Technology America, Inc., All Rights Reserved 20 Freely Available Tools  Wireshark  De facto network protocol analyzer  Extensive analysis and frame filtering  Freely available from  Fping  ICMP (ping) message tests the connectivity to another device  Fping builds on DOS ping utility with more options  Freely available from

© 2010, Renesas Technology America, Inc., All Rights Reserved 22 Summary  Basics of SH7216 Ethernet block  Ethernet Controller (EtherC)  Ethernet Direct Memory Access Controller (E-DMAC)  Linked list operation of E-DMAC  Code re-usage due to similar peripheral across the families  Demo application  Web server  DHCP feature  Advanced demo  Multiple TCP and UDP connections  Throughput measurements  uIP improvements  Multiple applications  Sending data