Research and Application of FPGA Remote Upgrade

Author
XiongJie
Advisor
WangTao
School
Chongqing University
Major
Optical Engineering
Classification
TN791 Logic circuits
Degree
Master's thesis
Year
2013
Downloads
0
Citations
0

Request the full text

Abstract

As FPGA (Field Programmable Gate Array) is applied more and more widely andFPGA based on SRAM process can be conveniently upgraded by modifying theconfiguration memory, designers have been seeking to implement FPGA systemupgrade especially remote system upgrade.At present, the remote upgrade schemesbased on single chip microcomputer,ARM, CPLD or FPGA controller have beenproposed. But these solutions require an external controller to control the FPGA chipconfiguration which not only increase the probability of configuration error andcomplexity of circuit design, but also improve the system design cost.In order to overcome the deficiencies of the above programs, this paper proposes aprogram using TCP/IP protocol for remote upgrade data transmission andimplementing system upgrade in a single FPGA chip. In order to achieve this program,the following work has been completed in this paper:(1)Overall system designThe hardware and software requirements of using TCP/IP protocol to transmittingthe remote upgrade data were analyzed and embedded SOPC+uC/OS-Ⅱ+LwIPprogram was finally selected as the overall system design. This paper completed theformation of the of SOPC on-chip system, the transplantation into the Nios Ⅱ CPU ofμC/OS-Ⅱ RISC real-time operating system and LwIP protocol stack; to verify thecorrect of the transplantation, the author has written the test code in eclipse softwareand displayed the result in Nios Ⅱ console via the JTAG debugging tool and the resultproved the correctness of the transplantation.(2)System hardware platform designAfter analyzing the resources demand for remote upgrade system and functionalsystem, the author finished hardware circuit module division, the appropriate chipselection and the schematic design, PCB schematic design in Altium Designer software.Then the Circuit board was welded, tested and the problem in the design was solved toachieve the normal working of the hardware platform.(3)Ethernet transceiver chip IP core designAfter using hardware description language to design the code of Ethernetcommunication transceiver chip MAC sublayer IP core and generating the IPcomponents in Qsys tool, the test was held in the eclipse software, through the communication between the PC and the design of IP core and the result was showed inthe Nios Ⅱ the console window, which indicate that the design was correct.(4)Integration and authentication of the system designAfter Integrating the design of each functional part in a system, designing theremote system upgrade process and writing the test program, remote system upgradetest has been held in the laboratory LED screen control system and the result provedthat the FPGA remote upgrade system was successful.

Table of contents

Summary 3-4 ABSTRACT 4-8 1 Introduction 8-11 domestic and foreign research status quo 1.1 8-9 1.2 the purpose and significance of the research 9 1.3 project objectives and main tasks 9-10 1.4 content and structure of this thesis 10-11 2 overall system design and hardware platform to build overall 11-16 2.1 system design 11 2.2 system hardware platform structures 11-16 2.2.1 FPGA module 12-13 2.2.2 power Module 13-14 2.2.3 storage Module 14 2.2.4 Ethernet module 14-15 2.2.5 schematic and PCB design 15-16 3 development Platform and technology Introduction 16-25 3.1 FPGA works 16-19 3.1.1 FPGA basic structure of 16-18 LUT structure 3.1.2 FPGA 's 18 - 19 3.2 Quartus-Ⅱ development environment 19-22 3.2.1 Quartus-Ⅱ software suite introduces 19-20 3.2.2 Quartus-Ⅱ design process 20-22 3.3 SOPC introduced 22-23 3.4 Nios Ⅱ soft-core introduction 23 3.5 cyclone circuit dedicated ⅲ remote update introduces 23-24 3.6 EPCS linear Flash controller 24-25 4 IP core network transceiver chip design 25-44 4.1 RTL8212 Ethernet transceiver chip introduction 25-26 4.2 Ethernet frame format 26-27 4.2.1 Ethernet address 26 4.2.2 CSMA / CD 26-27 4.2.3 Ethernet frame format 27 4.3 MDIO IP core design and test 27-35 4.3.1 MDIO IP core design 27-31 4.3.2 MDIO IP core generation and test 31-35 4.4 MAC layer transceiver chip network IP core design 35 - achieve 44 4.4.1 CRC checksum module achieve 35-36 4.4.2 packet transceiver module 36-39 4.4.3 conflict Detection and automatic retransmission to achieve 39-41 4.4.4 IP core network transceiver chip functional verification 41-44 5 transplant μC/OS- Ⅱ real-time operating systems and LwIP stack 44-56 5.1 μC/OS- Ⅱ real-time operating system 44-49 5.1.1 task Manager 44 5.1. 2 memory management nbsp communication and synchronization between 44-45 5.1.3 task ; 45 5.1.4 μC/OS- Ⅱ important function introduced 45-46 5.1.5 μC/OS- Ⅱ transplant Nios Ⅱ in 46-49 5.2 LwIP transplant 49-56 5.2.1 dynamic memory management 49-50 5.2.2 network Interface Management 50 5.2.3 UDP, TCP, IP protocol realize 50-53 5.2.4 transplantation LwIP 53-56 6 remote upgrade test 56-59 6.1 remote upgrade process 56-57 6.2 LED big screen remote control system upgrade testing 57-59 7 Conclusion and outlook 59-60 Thanks 60-61 References 61-63 Appendix 63 A. published during the author 's master's degree thesis 63

Related dissertations

  1. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  2. Design and Experiment of a Motion Control System Based on FPGA
    ZhouZan ·South China University of Technology ·2013 ·Master's thesis
  3. Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
    MaQiang ·Tsinghua University ·2013 ·Master's thesis
  4. The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
  5. FPGA-based Fast Image Processing System
    YangLiJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
    WangXing ·Northeastern University ·2013 ·Master's thesis
  7. Design of Multimedia Platform Based on FPGA
  8. Design and Implementation of NCC Accelerator Based Real-time Target Tracking System
    ZhangHaoPeng ·Zhejiang University ·2014 ·Master's thesis
  9. The Design of Disk Array Storage System Based on FPGA
    HuZuo ·Harbin Engineering University ·2013 ·Master's thesis
  10. Research on the System for File Storage Media Conversion Processing
    LiuDe ·Qilu Industrial University ·2013 ·Master's thesis
  11. Research and Implementation of FPGA-based Cloud Storage Security Systems
    WangChongSen ·Beijing Jiaotong University ·2014 ·Master's thesis
  12. The Design of High-speed Data Transmission System Based on RapidIO
    LiuLin ·Harbin Engineering University ·2013 ·Master's thesis
  13. Designof High-Frequency Spread Spectrum Communication System Based on SOPC
  14. Design and Implementation of Speaker Recognition System Based on SOPC
    ZhangXue ·Northeastern University ·2010 ·Master's thesis
  15. Design and Implementation of Wide-band Beamforming System Based on SOPC
    ChenQiuShi ·Harbin Engineering University ·2013 ·Master's thesis
  16. Research and Development of the Register Real-Time Monitoring System Based on F28M35x
  17. Embedded Web Monitoring System Based on ARM and μC/OS-Ⅱ
    LvYiHui ·Nanchang University ·2012 ·Master's thesis
  18. Multi-channel Temperature Detection System Designing Based on SOPC
    WangShuai ·Chengdu University of Technology ·2012 ·Master's thesis
  19. Design of Embedded Web Server Based on Cortex-M3
    CaiXiongFei ·Zhejiang University of Technology ·2013 ·Master's thesis
  20. Research and Realization of RTU Networking Based on LwIP Protocol Stack
    ChenChen ·Xi'an University of Petroleum ·2011 ·Master's thesis