Файл: Embedded system development and labs for ARM (R. Muresan, 2005).pdf
ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 13.06.2025
Просмотров: 2320
Скачиваний: 1
Embedded Systems Development and Labs; The English Edition
Chapter 1: An Overview of Embedded System Application Development 19 |
|
1.1 Embedded System Development and Applications .................................................................. |
19 |
1.2 An Overview of Embedded Development Environment for ARM ........................................... |
19 |
1.2.1 Cross Development Environment .................................................................................... |
19 |
1.2.2 Software Emulator ........................................................................................................... |
20 |
1.2.3 Evaluation Board ............................................................................................................. |
20 |
1.2.4 Embedded Operation System........................................................................................... |
20 |
1.3 An Overview of ARM Development system ............................................................................ |
20 |
1.3.1 ARM SDT ........................................................................................................................ |
20 |
1.3.2 ARM ADS........................................................................................................................ |
21 |
1.3.3 Multi 2000........................................................................................................................ |
22 |
1.3.4 Embeds IDE for ARM ..................................................................................................... |
24 |
1.3.5 OPENice32-A900 Emulator ............................................................................................ |
25 |
1.3.6 Multi-ICE Emulator......................................................................................................... |
25 |
1.4 How to Study Embedded System Application Development Based on ARM .......................... |
26 |
Chapter 2: Embest ARM Lab Development system 27 |
|
2.1 An Overview of the Lab Development system ......................................................................... |
27 |
2.1.1 The Embest IDE............................................................................................................... |
28 |
2.1.2 Embest Emulator for ARM JTAG.................................................................................... |
30 |
2.1.3 Flash Programmer............................................................................................................ |
31 |
2.1.4 Embest S3CCEV40 Development Board......................................................................... |
32 |
2.1.5 Connection Cables and Power Adapters .......................................................................... |
33 |
2.2 The Installation of Lab Development system ........................................................................... |
33 |
2.2.1 The Installation of Embest IDE........................................................................................ |
33 |
2.2.2 The Installation of Flash Programmer.............................................................................. |
36 |
2.2.3 The Interconnection of Software and Hardware Platforms.............................................. |
37 |
2.3 Lab Development system Hardware Circuits ........................................................................... |
37 |
2.3.1 An Overview of Lab Development Hardware ................................................................. |
37 |
2.3.2 Hardware Reference for Software Design ....................................................................... |
46 |
2.3.3 Bus Expansion ................................................................................................................. |
50 |
2.4 The Usage of Embest IDE ........................................................................................................ |
51 |
2.4.1 Embest IDE Main Window.............................................................................................. |
51 |
2.4.2 Project Management ........................................................................................................ |
51 |
2.4.3 Project Basic Settings ...................................................................................................... |
54 |
2.4.4 Project Compiling and Linking........................................................................................ |
68 |
2.4.5 Load Debugging............................................................................................................... |
68 |
2.4.6 Flash Programmer............................................................................................................ |
76 |
Chapter 3 Embedded System Development Basic Labs 78 |
|
3.1 ARM Assembly Instructions Lab 1........................................................................................... |
78 |
3.1.1 Purpose............................................................................................................................. |
78 |
13
Embedded Systems Development and Labs; The English Edition
3.1.2 Lab Equipment................................................................................................................. |
78 |
3.1.3 Content of the Lab 1 ........................................................................................................ |
78 |
3.1.4 Principles of the Lab 1 ..................................................................................................... |
78 |
3.1.5 Lab 1 Operation Steps...................................................................................................... |
80 |
3.1.6 Sample Programs of Lab 1............................................................................................... |
84 |
3.1.7 Exercise............................................................................................................................ |
87 |
3.2 ARM Assembly Instruction Lab 2 ............................................................................................ |
87 |
3.2.1 Purpose............................................................................................................................. |
87 |
3.2.2 Lab Equipment................................................................................................................. |
87 |
3.2.3 Content of the Lab 2 ........................................................................................................ |
88 |
3.2.4 Principles of the Lab 2 ..................................................................................................... |
88 |
3.2.5 Lab Operation Steps......................................................................................................... |
90 |
3.2.6 Sample Programs of Lab 2............................................................................................... |
91 |
3.2.7 Exercises .......................................................................................................................... |
92 |
3.3 Thumb Assembly Instruction Lab............................................................................................. |
93 |
3.3.1 Purpose............................................................................................................................. |
93 |
3.3.2 Lab Equipment................................................................................................................. |
93 |
3.3.3 Content of the Lab ........................................................................................................... |
93 |
3.3.4 Principles of the Lab ........................................................................................................ |
93 |
3.3.5 Operation Steps of Lab 3 ................................................................................................. |
95 |
3.3.6 Sample Programs ............................................................................................................. |
95 |
3.3.7 Exercises .......................................................................................................................... |
97 |
3.4 ARM Work Mode Labs............................................................................................................. |
97 |
3.4.1 Purpose............................................................................................................................. |
97 |
3.4.2 Lab Equipment................................................................................................................. |
97 |
3.4.3 Content of the Lab ........................................................................................................... |
97 |
3.4.4 Principles of the Lab ........................................................................................................ |
97 |
3.4.5 Operation Steps of the Lab............................................................................................. |
100 |
3.4.6 Sample Programs of the Lab.......................................................................................... |
102 |
3.4.7 Exercises ........................................................................................................................ |
104 |
3.5 C Language Program Lab 1 .................................................................................................... |
104 |
3.5.1 Purpose........................................................................................................................... |
104 |
3.5.2 Lab Equipment............................................................................................................... |
104 |
3.5.3 Content of the Lab ......................................................................................................... |
104 |
3.5.4 Principles of the Lab ...................................................................................................... |
104 |
3.5.5 Operation Steps.............................................................................................................. |
107 |
3.5.6 Sample Programs ........................................................................................................... |
107 |
3.5.7 Exercises ........................................................................................................................ |
108 |
3.6 C Language Program Lab 2 .................................................................................................... |
108 |
3.6.1 Purpose........................................................................................................................... |
108 |
3.6.2 Lab Equipment............................................................................................................... |
109 |
14
Embedded Systems Development and Labs; The English Edition
3.6.3 Content of the Lab ......................................................................................................... |
109 |
3.6.4 Principles of the Lab ...................................................................................................... |
109 |
3.6.5 Operation Steps............................................................................................................... |
111 |
3.6.6 Sample Programs ........................................................................................................... |
115 |
3.6.7 Exercises ........................................................................................................................ |
118 |
3.7 Assembly and C Language Mutual Call ................................................................................. |
118 |
3.6.1 Purpose........................................................................................................................... |
118 |
3.6.2 Lab Equipment............................................................................................................... |
118 |
3.6.3 Content of the Lab ......................................................................................................... |
118 |
3.6.4 Principles of the Lab ...................................................................................................... |
118 |
3.7.5 Operation Steps.............................................................................................................. |
120 |
3.7.6 Sample Programs ........................................................................................................... |
121 |
3.7.7 Exercises ........................................................................................................................ |
124 |
3.8 Sum Up Programming ............................................................................................................ |
124 |
3.8.1 Purpose........................................................................................................................... |
124 |
3.8.2 Lab Equipment............................................................................................................... |
124 |
3.8.3 Content of the Lab ......................................................................................................... |
124 |
3.8.4 Principles of the Lab ...................................................................................................... |
124 |
3.8.5 Operation Steps.............................................................................................................. |
126 |
3.8.6 Sample Programs ........................................................................................................... |
129 |
3.8.7 Exercises ........................................................................................................................ |
132 |
Chapter 4 Basic Interface Labs 133 |
|
4.1 Memory Lab ........................................................................................................................... |
133 |
4.4.1 Purpose........................................................................................................................... |
133 |
4.4.2 Lab Equipment............................................................................................................... |
133 |
4.1.3 Content of the Lab ......................................................................................................... |
133 |
4.1.4 Principles of the Lab ...................................................................................................... |
133 |
4.1.5 Operation Steps.............................................................................................................. |
140 |
4.4.6 Sample Programs ........................................................................................................... |
141 |
4.1.7 Exercises ........................................................................................................................ |
145 |
4.2 I/O Interface Lab..................................................................................................................... |
145 |
4.2.1 Purpose........................................................................................................................... |
145 |
4.2.2 Lab Equipment............................................................................................................... |
145 |
4.2.3 Content of the Lab ......................................................................................................... |
145 |
4.2.4 Principles of the Lab ...................................................................................................... |
145 |
4.2.5 Operation Steps.............................................................................................................. |
148 |
4.2.6 Sample Programs ........................................................................................................... |
149 |
4.2.7 Exercises ........................................................................................................................ |
153 |
4.3 Interrupt Lab ........................................................................................................................... |
153 |
4.3.1 Purpose........................................................................................................................... |
153 |
4.3.2 Lab Equipment............................................................................................................... |
153 |
15
Embedded Systems Development and Labs; The English Edition
4.3.3 |
Content of the Lab ......................................................................................................... |
153 |
4.3.4 |
Principles of the Lab ...................................................................................................... |
154 |
4.3.5 |
Operation Steps.............................................................................................................. |
161 |
4.3.7 Exercises ........................................................................................................................ |
165 |
|
4.4 Serial Port Communication Lab.............................................................................................. |
165 |
|
4.4.1 Purpose........................................................................................................................... |
165 |
|
4.4.2 Lab Equipment............................................................................................................... |
165 |
|
4.4.3 Content of the Lab ......................................................................................................... |
165 |
|
4.4.4 Principles of the Lab ...................................................................................................... |
165 |
|
4.4.5 Operation Steps.............................................................................................................. |
171 |
|
4.5.6 Sample Programs ........................................................................................................... |
171 |
|
Exercises ................................................................................................................................. |
176 |
|
4.5 Real-Time Timer Lab.............................................................................................................. |
176 |
|
4.5.1 Purpose........................................................................................................................... |
176 |
|
4.5.2 Lab Equipment............................................................................................................... |
176 |
|
4.5.3 Content of the Lab ......................................................................................................... |
176 |
|
4.5.4 Principles of the Lab ...................................................................................................... |
176 |
|
4.5.5 Lab Design..................................................................................................................... |
178 |
|
4.5.6 Operation Steps.............................................................................................................. |
180 |
|
4.5.7 Sample Programs ........................................................................................................... |
180 |
|
4.5.8 Exercises ........................................................................................................................ |
185 |
|
4.6 8-SEG LED Display Lab ........................................................................................................ |
185 |
|
4.6.1 Purpose........................................................................................................................... |
185 |
|
4.6.2 Lab Equipment............................................................................................................... |
185 |
|
4.6.3 Content of the Lab ......................................................................................................... |
185 |
|
4.6.4 Principles of the Lab ...................................................................................................... |
185 |
|
4.6.5 Operation Steps.............................................................................................................. |
188 |
|
4.6.6 Sample Programs ........................................................................................................... |
188 |
|
4.6.7 Exercises ........................................................................................................................ |
189 |
|
Chapter 5 Human Interface Labs |
190 |
|
5.1 LCD Display Lab.................................................................................................................... |
190 |
|
5.1.1 Purpose........................................................................................................................... |
190 |
|
5.1.2 Lab Equipment............................................................................................................... |
190 |
|
5.1.3 Content of the Lab ......................................................................................................... |
190 |
|
5.1.4 Principles of the Lab ...................................................................................................... |
190 |
|
5.1.5 Lab Design..................................................................................................................... |
199 |
|
5.1.6 Operation Steps.............................................................................................................. |
202 |
|
5.1.7 Sample Programs ........................................................................................................... |
203 |
|
5.1.8 Exercises ........................................................................................................................ |
209 |
|
5.2 4 x 4 Keyboard Control Lab ................................................................................................... |
209 |
|
5.2.1 Purpose........................................................................................................................... |
209 |
|
16
Embedded Systems Development and Labs; The English Edition
5.2.2 Lab Equipment............................................................................................................... |
209 |
5.2.3 Content of the Lab ......................................................................................................... |
209 |
5.2.4 Principles of the Lab ...................................................................................................... |
209 |
5.2.5 Lab Design..................................................................................................................... |
210 |
5.2.6 Operation Steps.............................................................................................................. |
214 |
5.2.7 Sample Programs ........................................................................................................... |
214 |
5.2.8 Exercises ........................................................................................................................ |
218 |
5.3 Touch Panel Control Lab ........................................................................................................ |
218 |
5.2.1 Purpose........................................................................................................................... |
218 |
5.2.2 Lab Equipment............................................................................................................... |
218 |
5.2.3 Content of the Lab ......................................................................................................... |
218 |
5.2.4 Principles of the Lab ...................................................................................................... |
218 |
5.3.5 Lab Design..................................................................................................................... |
221 |
5.3.6 Operation Steps.............................................................................................................. |
223 |
5.3.7 Sample Programs ........................................................................................................... |
224 |
5.3.8 Exercises ........................................................................................................................ |
229 |
Chapter 6 Communication and Voice Interface Labs |
230 |
6.1 IIC Serial Communication Lab............................................................................................... |
230 |
6.1.1 Purpose........................................................................................................................... |
230 |
6.1.2 Lab Equipment............................................................................................................... |
230 |
6.1.3 Content of the Lab ......................................................................................................... |
230 |
6.1.4 Principles of the Lab ...................................................................................................... |
230 |
6.1.5 Lab Design..................................................................................................................... |
237 |
6.1.6 Operation Steps.............................................................................................................. |
238 |
6.1.7 Sample Programs ........................................................................................................... |
239 |
6.1.8 Exercises ........................................................................................................................ |
239 |
6.2 Ethernet Communication Lab ................................................................................................. |
242 |
6.2.1 Purpose........................................................................................................................... |
242 |
6.2.2 Lab Equipment............................................................................................................... |
242 |
6.2.3 Content of the Lab ......................................................................................................... |
242 |
6.2.4 Principles of the Lab ...................................................................................................... |
242 |
6.2.5 Operation Steps.............................................................................................................. |
256 |
Sample Programs .................................................................................................................... |
256 |
Exercises ................................................................................................................................. |
259 |
6.3 IIS Voice Interface Lab ........................................................................................................... |
259 |
6.3.1 Purpose........................................................................................................................... |
259 |
6.3.2 Lab Equipment............................................................................................................... |
259 |
6.3.3 Content of the Lab ......................................................................................................... |
259 |
6.3.4 Principles of the Lab ...................................................................................................... |
259 |
6.3.5 Sample Programs ........................................................................................................... |
263 |
6.3.6 Exercises ........................................................................................................................ |
268 |
17