Light-Weight IP (LwIP).ppt
《Light-Weight IP (LwIP).ppt》由会员分享,可在线阅读,更多相关《Light-Weight IP (LwIP).ppt(24页珍藏版)》请在麦多课文档分享上搜索。
1、Light-Weight IP (LwIP),LwIP Module Outline,A brief primer on TCP/IP and the BF536/7 EMACWhat is LwIP?How to use LwIP in VisualDSP+ and VDK configurationHow to trace and improve performanceSummary,A Brief Primer on the OSI, TCP/IP and BF537 EMAC,ApplicationProtocolTCP/IP StackEMAC Device DriverBF536/
2、7 EMACPHY Transceiver,Web Server, Ogg Vorbis, Contiki, Theora etc.HTTP, FTP, Telnet etc.lwIP, 3rd PartyEMAC core is providedSMSC LAN83C185, Realtek RTL8201, etc.,Layer 7 (Application)Layers 3, 4, 5 and 6 (Network, Transport, Session & Presentation)Layer 2 (Data Link)Layer 1 (Physical),TCP/IP Stack H
3、eader Structure,header structure,-,-,-,MAC Header,IP Header,TCP/UDP-Header,DATA,Trailer,data link layer,IP Header,TCP/UDP-Header,DATA,network layer,DATA,TCP-Header,DATA,transport layer,respectively,DATA,application layer,UDP-Header,TCP/IP Stack supports the transport and network layer,Application ru
4、ns on top of the TCP/IP Stack,ADSP-BF536/7 Ethernet MAC peripheral supports the data link layer,Data Encapsulation,Layer 1 - Physical,Consists of the physical and electrical interface to the network: PHY Transceiver, 10BASE-T connector, 100BASE-TX, switches, and routersPHY transceiver performs elect
5、rical signal conditioning for transmission over the medium: RJ45 cable4-wire MII and 2-wire RMII Management Interface allows layer 2 devices such as the BF536/7 EMAC to monitor and control PHY operation.,Blackfin Ethernet System Overview,Layer 2 Data Link,Enables functional and procedural aspects of
6、 network data transfer as well as physical layer error checkingTwo sub-layers on BF536/7 Blackfin processorsEMAC peripheral is Media Access Control (MAC)EMAC device driver is Logical Link Control (LLC),Layer 2 Data Link EMAC Device Driver,Configures / monitors the EMAC peripheral and DMA engine to h
7、andle the flow of Ethernet frames between memory buffers and the PHYOversees the following core functions: Ethernet address and frame filtering Chained DMA transfers Interrupt management Collision detection,Layers 3-6 TCP/IP,LwIP is included free with VisualDSP+ LwIP The Light-weight IP stack is a m
8、ulti-threaded TCP/IP implementation using VDK Compliant with the system services model Built into VisualDSP+ See www.sics.se/adam/lwip/ for further information Additional implementations are available from 3rd parties,Layer 7 Application,Contains the session protocol, high-level software application
9、 and user interfaceLwIP provides an API based on BSD sockets and runs under VDKExample applications running on the ADSP-BF537 EZ-KIT Lite: HTTP server HTTP client for streaming audio (Ogg Vorbis),LwIP Stack - Overall Structure,Consists of three major componentsTCP/IP library itselfInterface library
10、to the kernel that is being usedDriver library to connect the stack to the Ethernet controllerLwIP protocol suite runs under VDK,LwIP TCP/IP Stack,Kernel Interface,Library,Ethernet,Library,Application,BF537,EMAC,VDK,Folder Structure In VisualDSP+,TCP/IP STACK,Documentation based on html,Examples for
11、 ADSP-BF537,Host programs and Source Code for the examples,Source Code of the TCP/IP Stack,Driver for ADSP-BF537,LwIP Project Wizard,Generates VDK-based application which uses the stackCan generate an application for the BF537 EZ-KitProvides code needed to initialize and start the stack operatingIf
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- LIGHTWEIGHTIPLWIPPPT
