Simulation of Embedded System Based on ARM Cortex-M3
- Author
- LinHengJie
- Advisor
- LiangALei
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 396
- Citations
- 6
Abstract
Now, embedded system and software are facing a decrease of product life. Which caused a reduced developing life cycle, requests the developers develop a more complex chip and software in a shorter time. To solve this problem, simulator of embedded system gradually becomes an essential tool in new programmable architecture. The kernel of embedded system simulator is the instruction set simulation (ISS), for the poor performance of generally used interpreted simulator, people began a research of compiled simulator years ago. But with the limitation of complie technique, it never popularized in business products.The new Cortex-M3 series chips developed by ARM in 2006 are applied spread in some fields such as wireless sensor network. This paper designed a simulator for the embedded system based on ARM Cortex-M3 chip, made the Thumb-2 instruction set , which used by ARM Cortex-M3, as the target instruction set, designed a optimized interpreted instruction set simulator.Firstly, we introduced the program model of Thumb-2 instruction set, including the mode of the processor, registers and memory.Secondly, we designed the simulator platform. During the set up process of the platform, we designed the simulator including the advantages of both the speed of compiling technique and the flexibility of interpreted technique; described the architecture of Thumb-2 instruction set; implemented the interface of memory, to satisfy the access request of target instruction set; introduced the ELF file format, designed a loader to load the instructions and data into the memory of the simulator.At the end of this paper, we take an embedded system about robot car as an example to validate the function of simulator.
Table of contents
Abstract 5-7
ABSTRACT 7-15
first chapter 15-26
1.1 embedded system simulation 15 -22
1.1.1 software emulation meaning 15-16
1.1.2 simulation classification 16-21
1.1.3 simulation granularity 21-22
1.2 instruction set simulation method 22-24
1.3 research status 24-25
1.4 the main research contents and subjects significance 25
1.5 paper structure 25-26
Chapter ARM Cortex-M3 processor emulation key technology 26-48
2.1 ARM microprocessors 26-31
2.1.1 naming 26-27
2.1.2 ARM instruction set architecture version 27-30
2.1.3 ARM Cortex-M3 microprocessor institutions 30-31
2.2 processor mode and access permissions 31-32
2.3 register 32-36
2.3.1 32-bit register 32-35
2.3.2 non- 32-bit register 35-36
2.4 memory Organization 36-40
2.4 .1 memory mapped 36-38
2.4.2 -bit operation (bit-band) 38
2.4.3 non-word aligned memory access 38 - 40
2.4.4 -ended mode 40
2.5 pipelining 40-41
2.6 Thumb-2 instruction format 41-46
2.7 Summary 46-48
Chapter simulation platform for system design 48-75
3.1 simulation platform framework 48-49
3.2 Thumb- 2 instruction set of the C language 49-69
3.2.1 register Description 49-52
3.2.2 fetch Stage simulation 52-53 <br / > 3.2.3 decode stage simulation 53-57
3.2.4 runtime simulation 57-69
3.3 memory interface design 69-74 < br /> 3.3.1 memory Space access Mapping design and Implementation 69-71
3.3.2 -bit operating design and implementation 71-73
3.3.3 non- aligned word accesses design and Implementation 73-74
3.4 Summary 74-75
Chapter loader program design and implementation 75-83
4.1 ELF file 75-78
4.1.1 target file data representation 76
4.1.2 object File Format 76-77 <br / > 4.1.3 ELF file header 77-78
4.2 loader 78-81
4.2.1 program head (Program Header) 79-80
4.2.2 loader 80-81
4.3 loader design and implementation 81-82
4.4 Summary 82-83 <br / > Chapter platform validation 83-89
5.1 test object description 83-85
5.2 test objectives and programs 85-86
5.3 analysis of test results 86-88
5.4 Summary 88-89
Chapter VI Conclusion 89-91
6.1 Full Summary 89
6.2 future work 89-91
References 91-93
Thanks 93-94
issues and has been involved in hair papers 94
Related dissertations
- The Plantar Pressure Dynamic Measurement System Base on the PVDF Sensor and ARM Cortex-M3Microcontroller
- The Fingerprint Identification Door Lock Control System Design and Implementation Based on ARM Cortex-M3
- Study of Automatic Bus Transfer System for Substation Based on ARM
- Electromagnetic Relay Comprehensive Parameter Testing Instrument Based on STM32
- The Study on the Control System of the Distributed Electric Boiler
- Design of Ultrasonic Wall Thickness Meter Based on ARM
- The Design and Research of Stage Lighting Control System
- Intelligent Pid Controller Design Based on the Cortex-M3and μC/OS-Ⅱ
- Online methane concentration detecting instrument based on ARM
- Design and Implementation of Network Digital Audio Broadcasting Terminal Based on ARM Cortex-M3
- The Design of Synchronous Gps Clock Card for Generator Transformer Unit Fault Recording Based on STM32and PCI-104Bus
- Development of Unattended Photovoltaic Power Station Wireless Supervisory System
- Study on single stage photovoltaic inverter smart micro grid oriented
- Design and implementation of configuration controller for construction machinery
- The Design of Electric Belt Weighting Instrument in Coal Mine Based on LM3S8962
- Research and development of array type electronic belt scale
- Design on the Control System of Glove Knitting Machine with Electronic Needle Based on Embedded ARM
- Study and Design of Protection Device for Mine-used Feeder Switch Based on ARM
- Liquor identify the electronic nose system research
- Design and Realization of Hign-speed NDT Testing Equipment Monitoring System