Nios Ⅱ soft -core - based embedded Ethernet design
- Author
- ShiYunFeng
- Advisor
- WangLiPing , JinChuan
- School
- Nanjing University of Technology and Engineering
- Major
- Optical Engineering
- Classification
- TP393.11 Ethernet
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 428
- Citations
- 8
- Embedded Ethernet
- Nios II soft-core
- μC/OS-II real-time operating system
- NicheStack TCP/IP Stack
- SOPC
Abstract
The embedded ethernet’s essence is to realize the network in embedded system’s foundation,enable the embedded system to realize the network communication protocols and make access to the Ethernet.Unify the embedded system and the ethernet are precisely the current research hot spots.The embedded ethernet technology’s main application domain is the industrial control network,namely the industry Ethernet.A variety of intelligent instruments and meters with Ethernet interface are gradually replacing traditional monitoring and control equipment.The thesis is aimed at the data transmission between security inspection CT machine and PC,and ultimately achieve an agreement based on a custom UDP packet loss retransmission mechanism for data transmission,which takes real-time and reliability as the major objective.bases on NiosⅡsoft-core,μC/OS-Ⅱreal-time operating system and NicheStack TCP/IP Stack,uses hardware and software co-design approach.The thesis first detailedly narrates the foundation of embedded Ethernet for NiosⅡsoft-core.namely theμC/OS-Ⅱreal-time operating system and the embedded TCP/IP Stack, then puts forward an overall program for the hardware and software co-design using SOPC technology,and then separately elaborates the realizing process of the embedded Ethernet from the hardware and the software aspect.finally analyzes the realizing effect which through the software and hardware experiment.
Table of contents
Abstract 3-4
Abstract 4-8
1 Introduction 8-11
1.1 Project Background Introduction 8-9
1.1.1 CT Technology Overview
the
Introduction to 1.1.2 Embedded Ethernet 8-9
1.2 embedded Ethernet Research 9-10
1.3 thesis research content 10-11
2 Ethernet based embedded systems 11-25
the 2.1 embedded real-time operating system 11-17
2.1.1 Embedded Systems Introduction 11-12
of 2.1.2 embedded real-time operating system overview 12-13
of 2.1.3 embedded real-time operating system choose 13-14
2.1.4 μC/OS- Ⅱ embedded real-time operating systems are found; 14-17
2.2 embedded TCP / IP protocol stack 17-24
2.2.1 TCP / IP Protocol Introduction 17-21
the
the 2.2.2 embedded TCP / IP protocol stack Overview 21-22
2.2.3 NicheStack TCP / IP protocol stack 22-24
2.3 This chapter Summary 24-25
3-based the Nios Ⅱ SOPC hardware and software co-design 25-39
3.1 SOPC Technology Overview 25-26
3.1.1-chip system-on-SOC 25
3.1.2 SOPC technology Introduction 25-26
3.2 Nios II processor system 26-29
3.2.1 the Nios II soft-core processor Overview 26-27
3.2.2 Avalon switch fabric bus 27-28
3.2.3 peripherals 28-29
3.3 development environment based the Nios Ⅱ SOPC system 29-34
3.3.1 hardware development environment 29-31
3.3.2 software development environment 31-33
3.3.3 based the Nios Ⅱ SOPC development process 33-34
3.4 system design overview 34-38
3.4.1 Cyclone Ⅲ EP3C120 Development Kit Description 34-36
3.4.2 System Requirements Analysis 36
3.4.3 hardware design 36-37
3.4.4 software design 37-38
3.5 This chapter Summary 38-39
4 hardware system design 39-54
4.1 Nios Ⅱ processor system structure 39-40
4.2 Nios Ⅱ processor system construction 40-51
4.2.1 on Quartus Ⅱ project created 40-41
4.2.2 Nios II system module created 41
4.2.3 CPU and IP module add 41-49
4.2.4 set the base address and interrupt 49-50
4.2.5 configuration Nios Ⅱ system 50
4.2.6 generated Nios Ⅱ system 50-51
4.3 integrated Nios Ⅱ system to Quartus Ⅱ engineering 51-52
4.3.1 Add Nios II system module to the the Quartus Ⅱ top-level module 51
4.3.2 Add the pin and the other unit 51-52
4.3.3 allocation FPGA pin 52
4.4 This chapter Summary 52-54
5 software program designed 54-70
Introduction to Programming
5.1 socket 54-55
5.1.1 socket concept 54
5.1.2 Socket type 54
5.1.3 basic socket call 54-55
5.2 packet loss retransmission mechanism to achieve 55-61
5.2.1 Overview 55-56
5.2.2 package structure defined 56
5.2.3 Timer 56-58
5.2.4 client algorithm 58-60
5.2.5 server-side algorithms 60-61
5.3 Nios Ⅱ IDE programming 61-66
5.3.1 HAL system library About 61-62
the 5.3.2's NicheStack initialization 62-63
5.3.3 application μC/OS- Ⅱ task 63-66
5.4 C + + Builder program design 66-69
5.4.1 C Builder Profile 66-67
5.4.2 User Interface establishment 67-68
5.4.3 realization of the data transfer protocol based on UDP 68-69
5.5 This chapter Summary 69-70
6 Results and analysis 70-73
6.1 hardware experiments 70-71
6.1.1 ping to verify 70
6.1.2 routines Simple Socket Server experiment 70-71
6.2 software experiment 71-73
the 6.2.1 parameter determination and calculation 71
6.2.2 Data Transfer Test 71-73
7 Summary and Outlook 73-74
Acknowledgements 74-75
the
References 75-76
Related dissertations
- Design of System Software of Embedded Logic Analyzer Based on NiosⅡ
- Design and Develop of Image Processing System for Welding Seam Based on NiosⅡ Embedded Soft Core
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- The Design and Implementation of Multi-Channel Data Acquisition System Based on the SOPC Technology
- Dynamic Analysis and Control of Epileptiform Spikes in a Neural Mass Model
- The Design of Small Mobile Robot Integrated Navigation System
- Design and Experiment of a Motion Control System Based on FPGA
- Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
- FPGA-based Fast Image Processing System
- Design of Palmprint Acquisition and Recognition Base on Embedded
- Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
- Design of Multimedia Platform Based on FPGA
- Design and Implementation of NCC Accelerator Based Real-time Target Tracking System
- SOPC Design and Implementation of ISP1362Host IP and Driver
- The Design of Disk Array Storage System Based on FPGA
- Research on the System for File Storage Media Conversion Processing
- Research and Implementation of FPGA-based Cloud Storage Security Systems
- Design and Implementation of the IP Core of AVI Encoding and SD Card Controller Based on SoPC
- The Design of High-speed Data Transmission System Based on RapidIO
- Designof High-Frequency Spread Spectrum Communication System Based on SOPC