嵌入式系統編程

嵌入式系統編程

《嵌入式系統編程》是2007年東南大學出版社出版的圖書,作者是Michael Barr、 Anthony Massa。本書中所涉及的技巧和範例代碼可直接套用於真實世界裡的各種嵌入式軟體項目。

基本信息

內容簡介

如果你具有c語言編程經驗並且對此較為熟悉,那么《嵌入式系統編程》第二版正是你開始學習編寫嵌入式軟體的入門指南。

《嵌入式系統編程》第一版將這門技術教給了成千上萬的人,它已成為嵌入式編程的聖經。在第二版中,我們更新了相關內容,以涵蓋最新的硬體設計和開發方法論。

相關例子用到了免費的gnu軟體編程工具、ecos和linux作業系統以及一種為本書特別定製的低成本硬體平台。若你獲得了《嵌入式系統編程》第二版的隨書工具,你將擁有一個完整的開發環境以探尋嵌入式系統中的深邃奧秘。即便你使用不同的硬體和軟體,本書所提及的原理一樣適用。

無論是嵌入式系統新手,還是已在嵌入式系統上做了大量工作的專業人員,你都會從本書討論的話題中受益,它們包括:

基本調試技巧——在小巧的嵌入式系統上工作所需的關鍵技能

中斷,和晶片內部與外圍設備的監控

確定是否存在實時需求以及你的作業系統和應用程式是否能滿足這些需求

在實時作業系統和嵌入式linux中實現任務同步

最佳化嵌入式軟體的大小、運行速度和能耗

無論你正在編寫第一個嵌入式程式、設計最新潮的手持的什麼東西,還是管理一群嵌入式開發工程師,《嵌入式系統編程》第二版都將幫助你提升相關知識和技能,直至你精熟嵌入式軟體。

目錄

foreword.

preface

1. introduction

what is an embedded system?

variations on a theme

embedded design examples

life as an embedded software developer

the c language: the lowest common denominator

a few words about hardware

2. getting to know the hardware

understanding the big picture

hardware basics

examine the landscape

learn how to communicate

getting to know the processor

study the external peripherals

initialize the hardware

3. your first embedded program

hello, world!

the blinking led program

. the role of the infinite loop

4. compiling, linking, and locating

the build process

building the blinking led program

a quick look at makefiles

5. downloading and debugging

downloading the blinking led program

remote debuggers

emulators

other useful tools

dig into the hardware

6. memory

types of memory

direct memory access

endian issues

memory testing

validating memory contents

using flash memory

7. peripherals

control and status registers

the device driver philosophy

device driver design

8. interrupts

overview

interrupt map

interrupt service routine

the improved blinking led program

summary of interrupt issues

9. putting it all together

application overview

working with serial ports

command-line interface processing

10. operating systems

history and purpose

he scheduler

task synchronization

message passing

other functionality

interrupt handling

real-time characteristics

to use or not to use an rtos

additional resources

11.ecos examples

introduction

task mechanics

mutex task synchronization

semaphore task synchronization

message passing

ecos interrupt handling

12.embedded linux examples

introduction

accessing hardware in linux

task mechanics

mutex task synchronization

semaphore task synchronization

message passing

13.extending functional

common peripherals

networking for all devices great and small

14.optimization techniques

increasing code efficiency

decreasing code size

problems with optimizing compilers

reducing memory usage

power-saving techniques

limiting the impact of c++

……

index

相關詞條

相關搜尋

熱門詞條

聯絡我們