Development of DSP simulation development environment
- Author
- ChenZuo
- Advisor
- MiaoKeJian
- School
- Northwestern Polytechnical University
- Major
- Computer System Architecture
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 189
- Citations
- 1
Abstract
Because the proceeding progress of National Defense Modernization depends much a lot upon high technologies, the utilization of broad sense computers has becoming a focus of all.The Digital Signal Processor (DSP) is one kind of those broad sense computers that has been broadly engaged in modern military arms. But the utilization complicates the hardware system of the weapon, and makes it difficult to develop or test them. That is to say, whileempower the function and capability of these weapons, DSP also enlarge the overhead to develop them. To solve the problem between power and price, the software DSP simulation system emerges into our view.This dissertation discusses the theory and technique in developing a software DSP simulation system. The DSP chip being discussed here is TMS320C25 in TMS320 series which made by Texas Instruments USA.In the first place, the system architecture of TMS320C25 is introduced in the article, Followed, the construction and contents of Common Object File Format executable file of TMS320C25 is analyzed in detail. Finally, the whole simulation environment is described, and all utilities that a final user can make use of are listed.The analyses of COFF file architecture and containing is the fundamental of the development of such a software DSP simulation system, also an emphasis of this dissertation. Especial chapters have been allocated to state analyses, and detailed discussion about several important contents, such as the file header, the line label table and the symbol table, are listed in accent. Some other detailed issues about COFF file format are also mentioned in the software development chapter of the dissertation.The simulation software environment can be divided into fundamental hardware simulation layer and upper debug utility layer. Developer works about the lower layer have been down by former researchers, only the upper layer will be discussed here. The functions of debug environment include the COFF executable file loading, executing, process controlling, breaking and debugging, and variables value viewing.The executable file loading process can be described as putting a minimal data andexecutable code section of COFF file into memory of TMS320C25 system; it is guided by some rules. There are three methods of process controlling. They are single step proceeding, breakpoint debugging and fall throw executing. The relationships between C program source file and machine code executable file have to be clarified to implement each method. In order to view the value of a variable, we have to locate that variable in memory at first, and then, can we read out the value stored. The implementation about the issues mentioned above is described in detail in this dissertation.In the last part of the dissertation, summation about problems we met and techniques we mastered during the developing progress of the simulation software is made.
Table of contents
Abstract 3-4
ABSTRACTN 4-6
directory 6-10
first chapter 10-13 <br / > 1.1 DSP technology 10
1.2 DSP applications 10-11
1.3 DSP simulation 11
1.4 topics sense 11
1.5 research content 11-12
1.6 thesis is organized 12-13
Chapter TMS320C25 DSP technology and the structure of 13 - 18
2.1 DSP devices Introduction 13-14
2.2.1 DSP device classification 13
2.2.2 DSP structures and algorithms 13-14
2.2.3 TI 's TMS320 series DSP devices 14
2.2 TMS320C25 introduce 14-18
2.2.1 TMS320C25 basic characteristics 14 - 15
2.2.2 TMS320C25 structure 15-18
2.2.2.1 memory allocation 15-16
2.2.2.2 central arithmetic logic unit 16
2.2.2.3 hardware multiplier 16
2.2.2.4 I / O interfaces 16-18
Chapter simulation development environment functional structure 18-21
3.1 TMS320C25 underlying system simulation 18-19
3.2 TMS320C25 program loading and debugging 19-20
3.2.1 program loading 20
3.2.2 debugging 20
3.2.3 debugging results appear 20
3.3 Summary 20-21
Chapter TMS320C25 software processes and COFF file analysis 21-36
4.1 TMS320C25 software process 21-23
4.2 software processes the data processing 23 - 25
4.2.1 Sections brief 23-24
4.2.2 assembler (Assembler) for Section processing 24
4.2.3 connector (Linker ) on the section's handling 24-25
4.3 COFF file structure analysis 25-36
4.3.1 COFF file part 26-27 <br / > 4.3.2 file header and optional file header (Optional File Header) 27-28
4.3.3 Section head (Section header) 28-30
4.3.4 relocation information (Relocation Information) 30-31
4.3.5 line number table (Line Number Table) 31-32
4.3.6 the structure and content of the symbol table ( symbol Table) 32-35
4.3.6.1 symbol table arrangement 32-35
4.3.6.2 auxiliary symbol table entry 35
4.3. 7 String Table 35-36
Chapter TMS320C25 simulation development environment software 36-59
5.1 program loaded 36-43
5.1.1 what is the program loads 37
5.1.2 COFF file to load information 37-38
5.1.3 loading process various section 38-40
5.1.3.1 loaded section classification 39
5.1.3.2 connector on section loaded ready 39-40
5.1.4 loaded implementation (Loader) 40-43
5.1.4.1 cinit section loading 40-42
5.1.4.1.1. cinit section loading characteristics 40 - 41
5.1.4.1.2. cinit section loading realize 41-42
5.1.4.2 const section loading 42
5.1.4.2.1. const section of the load characteristics 42
5.1.4.2.2. const section loading realize 42
5.1.4.3 other types section loading 42-43 <br / > 5.2 program execution control 43-52
5.2.1 program execution mode 43-46
5.2.1.1 step by step program execution 44 - 45
5.2.1.1.1 C program with the machine instructions correspond to each other 44-45
5.2.1.1.2 C program under a positioning 45
5.2 .1.2 program execution breakpoint 45
5.2.1.3 program fully implemented 45-46
5.2.2 program execution control is achieved 46-52 < br /> 5.2.2.1 Find the starting address of the main function get_main_line 46-50
5.2.2.1.1 get_main_line find relevant information in COFF 46-47
5.2. 2.1.2 get_main_line function structure 47-48
5.2.2.1.3 main function of the characteristics of the starting symbol 48-49
5.2.2.1.4 find from the main function starting address 49-50
5.2.2.2 record the line number table get_line_table 50-51
5.2.2.2.1 save the line number table data structure 50 -51
5.2.2.2.2 get_line_table function implementation 51
5.2.2.3 to find the next line C program get_line 51-52
5.3 program variable lookup 52-59
5.3.1 symbol_scan function definitions and variables used 52-54
5.3.2 symbol_scan function does achieve 54-59
5.3.2.1 in the symbol table to find the symbol 54-55
5.3.2.2 target symbol confirmation 55-58
5.3.2.2.1 distinguish between different functions of the same name symbols 56-57
5.3.2.2.2 distinguish local variables and other variables, symbols 57
5.3.2.2.3 software process 57-58
5.3.2.3 reads the value of the variable 58-59
Chapter TMS320C25 simulation development software features 59-62
6.1 File Menu 59 < br /> 6.2 Edit Menu: 59-60
6.3 View Menu 60
6.4 Run Menu 60-61
6.5 Breakpoint Menu 61
6.6 Help Menu 61-62
Summary 62-63
Thanks 63-64
References 64-66
Related dissertations
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Implementation of Multi-channel Data Acquisition System
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- Wire Rope On-line Detection System Design Based on DSP
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Study Oh Fuzzy Controlin TIG Welding Prossess
- Control Method Research and Controller Development of AGV Based on DSP
- Research on Tension Control System of Fiber Placement Machine
- Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
- Modeling and Implementation of Motor Function Module Based on PLCopen
- The Design and Research of Embedded Multi-axis Control System
- Design of the Measure and Control Terminal Based on EtherCAT Fieldbus
- Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
- 5D film motion experience platform motion control card design