IDE embedded system software design and implementation
- Author
- WangWeiBo
- Advisor
- LiShanPing
- School
- Zhejiang University
- Major
- Computer Applications
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 391
- Citations
- 8
Abstract
IDE is an integrated development environment (Integrated Development Environment), IDE software is an essential tool for software development software. Software development is not just an ordinary PC, there is a demand, during embedded software development process, if there is a convenient, mature, stable, powerful IDE integrated development environment, can be more significantly improve development efficiency. This paper describes the IDE in exploring embedded system software development technology in the process, to achieve an integrated development named EideP environment in the process. EideP is mainly supported by the C language Python language and mixing completed an IDE, which were the simplicity of use of the Python language and cross-platform features, hardware and operating characteristics of the C language. Python IDE using this glue together the various parts, and you can easily call any external program, making the whole system can be used as an integrated IDE to use, but can also be used alone as a separate module which software calls, using its unique function, with the IDE with other existing work. As an integrated development environment, EideP first module implements a code editor. This paper describes the existing code editing software's main functions and conduct classification analysis to arrive at an ideal code editing software should have the main function. Thereafter, EideP the development process, these features gradually some support. During EideP code editing module of the program preparation process, also analyzed the Python environment that can be used PygtkScintilla controls, the use of its text formatting features to shorten the software development time. IDE software debugging function is also an important part of the software. This paper introduces the open source (Open Source) fields existing software debugging method and the corresponding software, the use of back-end (Back End) way to achieve software called gdb debugging difficult for the analysis and solution. Finally, the use of the Python language to achieve a graphical software debug function module. This module together with gdbserver, can make EideP support for embedded development necessary remote debugging. The focus of this thesis is the JTAG Online (In-Circuit) debug technology implementation. In the field of embedded development, the most important, most powerful way to debug circuit debugging. By now most of the Processor comes with a JTAG interface using Processor provides unique internal debugging mechanism to achieve the lowest cost and powerful JTAG in-circuit debugging. In this paper, implemented on PXA255 processor JTAG debugging process, the JTAG debugging internal mechanisms and the realization of the key points of a more in-depth discussion. Ultimately, by EideP the pygdbserver module, JTAG debugging with gdb debugger combine together to form a powerful debugging architecture embedded environment. In summary, this paper analyzes the code EideP editing module, software debugging module, JTAG debugging module introduces embedded software IDE's main features and implementation, but also on ideal IDE should have the characteristics of a certain reference value .
Table of contents
Abstract 2-3
ABSTRACT 3-7
Chapter 1 Overview 7-17
1.1. IDE (Integrated Development Environment) Summary 7-10
1.1.1. Existing IDE software 7-8
1.1.2. IDE's main function 8-10
1.2. Embedded Software Development 10-14
1.2.1. Embedded Software Development Type 10-11
1.2.2. Embedded system development steps 11-13
1.2.3. Embedded Software Development link 13-14
1.3. PYTHON development environment 14-16
1.3.1. Introduction to Python 14-15
1.3.2. Pygtk Profile 15-16
1.4. Priorities and organizational structure papers 16-17
Chapter 2 code editor module 17-23
2.1. Code editing features 17-19
2.2. PYGTKSCINTILLA 19-20
2.3. EIDEP code editing module implementation 20-22
2.4. Summary 22-23
Chapter 3 software debugging module 23-32
3.1. Software Debugging Features 23-24
3.2. GDB front (FRONT-END) software analysis 24-26
3.2.1. gdb front of the necessary functions 24-26
3.2.2. Means of communication with the backend gdb 26
3.3. GDB graphical front-end to achieve 26-31
3.3.1. launcher implementation 27-28
3.3.2. Output information extracted achieve 28-30
3.3.3. Functions to achieve 30-31
3.4. Summary 31-32
Chapter 4 JTAG debugging principle 32-50
4.1. JTAG Introduction 32-36
4.1.1. Standard JTAG protocol 32-35
4.1.2. Various JTAG adapter and emulation debug device 35-36
4.2. PXA255 the JTAG debug interface protocol 36-39
4.2.1. Debug exception handling 36-39
4.3. PXA255 in DEBUG associated registers and access methods 39-45
4.3.1. Debug Control and Status Register (DCSR) 40-43
4.3.2. Instruction breakpoint control register (IBCR) 43
4.3.3. Data Breakpoint Registers (DBR) with the data breakpoint control register (DBCON) 43-44
4.3.4. Send, receive register (TX, RX) and its control register (TXRXCTRL) 44-45
4.4. PXA255 JTAG commands related to the DEBUG 45-49
4.4.1. LDIC brief order 46-47
4.4.2. SELDCSR brief order 47-48
4.4.3. DBGTX brief order 48
4.4.4. DBGRX brief order 48-49
4.5. JTAG debug implementation ideas 49-50
Chapter 5 JTAG debugging realization 50-75
5.1. Underlying JTAG operation module 51-55
5.1.1. open-wince the jtag software advantage 51-52
5.1.2. jtag software modifications 52
5.1.3. jtag software Python wrapper 52-55
5.2. HOST DEBUGGER 55-64
5.2.1. Download code to the Instruction Cache 55-58
5.2.2. Online debugging initialization 58-60
5.2.3. Host debugger provide external interface function 60-62
5.2.4. Host debugger with communication between handler 62-64
5.3. PYGDBSERVER 64-67
5.3.1. GDB remote serial protocol 64-65
5.3.2. SocketServer class 65
5.3.3. Communication protocol implementation 65-67
5.4. DEBUG HANDLER 67-72
5.4.1. Exception vector 68
5.4.2. handler and debugger data communication and synchronization between 68-69
5.4.3. debug handler program flow 69-71
5.4.4. Write handler precautions 71-72
5.5. Examples of using the JTAG debug 72-74
5.5.1. Preparations 72-73
5.5.2. Start pygdbserver 73
5.5.3. Start gdb debugging module 73-74
5.5.4. Debugging 74
5.6. Summary 74-75
Chapter 6 Summary and Outlook 75-77
6.1. Summary 75
6.2. Looking 75-77
References 77-78
Thanks 78
Related dissertations
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research on Embedded Control System for Palletizing Robot
- Research and Design on Embedded Face Recognition Entrance Guard System
- The Design and Implementation of Embedded High Definition Video Monitoring System
- Embedded TCP streaming media playing system based on
- Research on Embedded Network Video Monitoring System Based on the ARM
- The Study of Intelligent Traffic Signal Based on Fuzzy Neural Network
- System of Video Surveillance on Slip-form Paver
- Design of the ECG Telemobitoring Terminal Based on Embedded Linux and GPRS
- Design and Research on Chinese Medicine Coating’s Monitoring System Based on ARM-LINUX
- The Research and Design of Embedded Video Surveillance for Baby Based on OpenCV
- ARM embedded video monitoring system based on compressed sensing
- Research of Protocol Conversion Module Based on CANopen-EtherNet/IP
- Research and Design of the Embedded Network Control System Based on ARM&Linux
- Research and Design of PAC Control System Based on Virtual Machine
- Research and Implementation of Controller for Data Acquisition Based on ARM&Linux
- Design of Embedded Remote Monitoring System for Intelligent Home
- Smart Home Control System Based on Embedded Technology
- Intelligent Household System Research Based on Embedded Technology
- Research and Implementation of Embedded System in Intelligent Household