Font Size: a A A

Research On Ethernet MAC Controller And UIP Porting Based On MC-SOC

Posted on:2019-03-13Degree:MasterType:Thesis
Country:ChinaCandidate:L Y TangFull Text:PDF
GTID:2348330569495418Subject:Engineering
Abstract/Summary:PDF Full Text Request
Along with the continuous development of the Internet and popularization of intelligent electronic devices,it becomes more and more important to integrate the Ethernet controller in the SOC chip for network access.At the same time,the network access also needs to provide other levels of network protocols.Therefore,it is necessary to port the TCP / IP protocol stack at the software level.Based on the laboratory project MC-SOC(Mode Changeable System On Chip),this paper realizes the integration of the Ethernet controller,and ports the uIP protocol stack.The u IP protocol stack optimize the connection function and provide the UDP server and TFTP server function.Finally,this paper achieves data transmission on network between PC and MC-SOC using FPGA.Firstly,this paper describes the background of Ethernet MAC controller and uIP protocol stack,and the research status at home and abroad.Then it analyzes and introduces TCP / IP protocol and MAC protocol involved in MAC controller and u IP protocol stack.Then the system architecture of MC-SOC is given,and the main modules are analyed such as Cortex-M0,AMBA bus and so on.In this paper,MAC controller is divided into different layers from top to down,and each layer corresponds to its own special function.Layer MAC-CORE achieves core function and layer MAC-AHB achieves bus transmission support,thus each hierarchy becomes clear and easy to follow.Then arming at the MAC controller simulation this paper builds MC-SOC software simulation platform and verifies the correctness of MAC controller function by simulating the input signal of physical layer.At last the simulation results are in accordance with the expectation.At the same time,on the one hand,this paper optimizes and enhances the open source uIP protocol stack,reduces the resource usage of the uIP protocol stack and realizes the UDP server and TFTP server.On the other hand,underlying MAC driver functions which support with MAC controller compatibility are achieved.Finally,this paper completes the Ethernet communication between PC and MC-SOC using Vivado to program FPGA on the hardware and tools like Keil,Wireshark to debug on the software.
Keywords/Search Tags:SOC, MAC controller, uIP protocol stack, FPGA verification
PDF Full Text Request
Related items