Research on Application of Embedded System Base on FPGA and NIOS
- Author
- WangJunXiong
- Advisor
- DaiXiaoWen
- School
- Southwest Jiaotong University
- Major
- Theory and New
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 1,283
- Citations
- 23
Abstract
Embedded system is one of the top hot concept , it is also another hot spot in the development of today’s electronical technology. Because it has successeding characters;the small volume, the strong performance, the low power consumption, the highly reliability and facing to industry application, it has been widely applied in many fields, such as military affairs 、 consuming electrony、 internet communication 、 industrial controlling.Embedded system has enter into the SOC stage of hardware. Nowadays, embedded system designs based on SOC techonologyare primarily two methods: SOC based on ASIC (Application Specific Integrated Circuit), and SOPC (System on a Programmable Chip) based on Programmable Logic Chip. With the rapid development of Programmable Logic Chip in recent years, the advantage of SOC based on Programmable Logic Chip are also emerging quickly, smart design, perfect software develop flat, plentiful IPcore and so on, making SOC based on programmable Logic Chip get more and more widely apply.NIOS CPU (the NIOS adopted in this thesis is NIOSII ) is a kind of CPU which Altera cooperation designed specially for SOPC, which is brought to embedded system designer as the form of IP core, its characteristic which could be programmed brings more flexibility for design of embedded system, and it could also be said that it suggests a whole new idea for design of embedded system.This design choose EP1C12Q240C8, which is one of series of Cyclone, as system core, constitute an innate full hardware flat including: UART、FLASH、 SDRAM and so on, completing debugging of the hardware flat、 design of NIOS and transplant μC/OS (theμC/OS adopted in this thesis isμC/OS II) .This paper introduce the research, develop, design and realization course of the whole system flat in details .which divided into three part: Part one describesthe hardware design and design of PCB;Part two is about the design of NIOS by the software which is offered by Altera;Part three talks about the transplant of//C/OS
Table of contents
Chapter 1 Introduction 9-13
1.1 Introduction 9
1.2 Overview of embedded technology 9-12
1.2.1 What is an embedded system 10
the 1.2.2 embedded systems characteristics 10-11
the 1.2.3 embedded systems classified 11-12
1.3 content and papers arrangements 12-13
1.3.1 research 12
1.3.2 papers structural arrangements 12-13
Chapter 2 FPGA NIOS introduced 13-23
2.1 ALTERA FPGA introduction 13-16
2.2 the SOPC technology introduced 16-17
2.3 the NIOS soft Nuclear introduced 17-23
2.3.1 What is NIOS soft-core the 17-18 2.3.2 NIOS processor features
18-19
2.3. 3 NIOS processor register structure 19-21
2.3.4 the NIOS processor interface with external devices - Avalon bus 21-23
Chapter 3 hardware platform design 23-38
the 3.1 overall system design the 23-25 ??the 3.1.1 core processor
Selection 23
3.1.2 system overall structure 23-25 ??
3.2 CPU core system design 25-27
3.3 peripheral circuit and interface circuit design 27-30
3.3.1 power circuit 27
3.3.2 crystal voltage and PLL voltage circuit 27-28
3.3.3 reset circuit 28
3.3.4 serial interface circuit 28
3.3.5 JTAG interface circuit the 28-30
3.4 Storage System Design 30-36
3.4.1 NIOS storage systems 30-32
3.4.2 the dedicated serial configuration device EPCS4 interface circuit the 32-34 3.4.3 Flash memory interface circuit
34-35
3.4. 4 SDRAM memory interface circuit the 35-36
3.5 PCB Design 36-38
Chapter 4 system software configuration and hardware debugging 38-53
4.1 NIOS CPU development tools - the SOPC Builder the debugging tools 38-39
4.2-on Quartus Ⅱ 39
4.3 software development and debugging tools-NIOS II IDE 39-41
4.4 NIOS soft-core software configuration 41-46
4.4.1 NIOS CPU configuration the 41-42 4.4.2 the JTAG debug configuration
42
4.4.3 Timer (Timer) 42-43
4.4.4 the external RAM bus - Avalon tristate bus bridge 43
4.4.5 communication interface 43-44
4.4.6 chip on the ROM and RAM settings 44
4.4.7 FLASH setting 44-45
4.4.8 SDRAM setting 45
the 4.4.9 key PIO with LED PIO setting 45
4.4.10 specify the base address 45-46
4.4.11 configuration NIOS the soft core 46
4.5 overall system configuration 46-49
4.5.1 SDRAM clock input 47-48
the 4.5.2 restet_n signal of synchronization 48-49
4.6 system debugging results the 49-53
4.6.1 EP1C12Q240C8, the main chip debugging 49-50
4.6.2 serial debugging 50-51
4.6.3 SDRAM debugging the 51-52 4.6.4 FLASH debugging
52-53
Chapter 5 μC / OS real-time operating system 53-63
5.1 μC / OS real-time operating system features 53
5.2 μC / OS kernel 53-60
5.2. the 1 task 53-54
5.2.2 task status 54-56
5.2.3 task control block (OS_TCBs) 56-58
5.2 .4 the ready list (Ready List) 58
5.2.5 task scheduling to 58-60
5.2.6 clocks, beat 60
5.2.7 inter-task communication and synchronization 60
5.3 μC / OS transplant 60-62
5.4 μC / OS test 62-63
6 Chapter Summary and Outlook 63-65
thank the the 65-66
Reference 66-69
study for a master's degree during published papers 69-70
Appendix 70
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- The Research of the Design and Application for Embedded Remote Terminal Unit
- Design and Implementation of Magnetic Card Detection System Based on Embedded System
- Design of distributed control system based on embedded platform
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- The Research of CANopen Protocol Based on Embedded Systems
- The Research and Design of Smart Home System Based on Zigbee Technology