文件名称:
programming embedded systems in C and C++
开发工具:
文件大小: 963kb
下载次数: 0
上传时间: 2008-04-17
详细说明: Dedication ...................................................................................................................................................... 4
Preface............................................................................................................................................................ 5
Why I Wrote This Book .......................................................................................................................... 5
Intended Audience............. ..................................................................................................................... 6
Organization ........................................................................................................................................... 7
Conventions, Typographical and Otherwise............................................................................................ 8
Obtaining the Examples Online .............................................................................................................. 9
How to Contact Us ................................................................................................................................. 9
Personal Comments and Acknowledgments .........................................................................................10
Chapter 1. Introduction ................................................................................................................................ 11
1.1 What Is an Embedded System? ....................................................................................................... 11
1.2 Variations on the Theme.................................................................................................................. 13
1.3 C: The Least Common Denominator .............................................................................................. 18
1.4 A Few Words About Hardware........................................................................................................ 20
Chapter 2. Your First Embedded Program .................................................................................................... 22
2.1 Hello, World!.................................................................................................................................. 22
2.2 Das Blinkenlights ............................................................................................................................ 23
2.3 The Role of the Infinite Loop.......................................................................................................... 27
Chapter 3. Compiling, Linking, and Locating............................................................................................... 28
3.1 The Build Process........................................................................................................................... 28
3.2 Compiling....................................................................................................................................... 30
3.3 Linking ........................................................................................................................................... 32
3.4 Locating.......................................................................................................................................... 34
3.5 Building das Blinkenlights .............................................................................................................. 36
Chapter 4. Downloading and Debugging...................................................................................................... 39
4.1 When in ROM ... ............................................................................................................................. 39
4.2 Remote Debuggers .......................................................................................................................... 40
4.3 Emulators ....................................................................................................................................... 44
4.4 Simulators and Other Tools ............................................................................................................. 45
Chapter 5. Getting to Know the Hardware.................................................................................................... 48
5.1 Understand the Big Picture.............................................................................................................. 48
5.2 Examine the Landscape................................................................................................................... 50
5.3 Learn How to Communicate ........................................................................................................... 55
5.4 Get to Know the Processor.............................................................................................................. 57
5.5 Study the External Peripherals ........................................................................................................ 61
5.6 Initialize the Hardware .................................................................................................................... 61
Chapter 6. Memory ...................................................................................................................................... 64
6.1 Types of Memory ............................................................................................................................ 64
6.2 Memory Testing .............................................................................................................................. 68
6.3 Validating Memory Contents........................................................................................................... 82
6.4 Working with Flash Memory........................................................................................................... 87
Chapter 7. Peripherals .................................................................................................................................. 93
7.1 Control and Status Registers ........................................................................................................... 93
7.2 The Device Driver Philosophy ........................................................................................................ 94
7.3 A Simple Timer Driver .................................................................................................................... 97
7.4 Das Blinkenlights, Revisited ......................................................................................................... 107
Chapter 8. Operating Systems..................................................................................................................... 109
8.1 History and Purpose ...................................................................................................................... 109
8.2 A Decent Embedded Operating System ........................................................................................ 110
8.3 Real-Time Characteristics ............................................................................................................. 130
8.4 Selection Process.......................................................................................................................... 131
Chapter 9. Putting It All Together ............................................................................................................... 134
9.1 Application Overview ................................................................................................................... 134
9.2 Flashing the LED .......................................................................................................................... 136
9.3 Printing "Hello, World!"................................................................................................................ 141
9.4 Working with Serial Ports ............................................................................................................. 142
9.5 The Zilog 85230 Serial Controller ................................................................................................ 149
Chapter 10. Optimizing Your Code............................................................................................................. 151
10.1 Increasing Code Efficiency ......................................................................................................... 151
10.2 Decreasing Code Size.................................................................................................................. 154
10.3 Reducing Memory Usage............................................................................................................ 156
10.4 Limiting the Impact of C++ ........................................................................................................ 157 ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.