• Complain

Michael Barr - Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition

Here you can read online Michael Barr - Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2006, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Michael Barr Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition
  • Book:
    Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2006
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

If you have programming experience and a familiarity with C--the dominant language in embedded systems--Programming Embedded Systems, Second Edition is exactly what you need to get started with embedded software. This software is ubiquitous, hidden away inside our watches, DVD players, mobile phones, anti-lock brakes, and even a few toasters. The military uses embedded software to guide missiles, detect enemy aircraft, and pilot UAVs. Communication satellites, deep-space probes, and many medical instruments would have been nearly impossible to create without embedded software. The first edition of Programming Embedded Systems taught the subject to tens of thousands of people around the world and is now considered the bible of embedded programming. This second edition has been updated to cover all the latest hardware designs and development methodologies. The techniques and code examples presented here are directly applicable to real-world embedded software projects of all sorts. Examples use the free GNU software programming tools, the eCos and Linux operating systems, and a low-cost hardware platform specially developed for this book. If you obtain these tools along with Programming Embedded Systems, Second Edition, youll have a full environment for exploring embedded systems in depth. But even if you work with different hardware and software, the principles covered in this book apply. Whether you are new to embedded systems or have done embedded work before, youll benefit from the topics in this book, which include:How building and loading programs differ from desktop or server computers Basic debugging techniques--a critical skill when working with minimally endowed embedded systems Handling different types of memory Interrupts, and the monitoring and control of on-chip and external peripherals Determining whether you have real-time requirements, and whether your operating system and application can meet those requirements Task synchronization with real-time operating systems and embedded Linux Optimizing embedded software for size, speed, and power consumption Working examples for eCos and embedded Linux So whether youre writing your first embedded program, designing the latest generation of hand-held whatchamacalits, or managing the people who do, this book is for you. Programming Embedded Systems will help you develop the knowledge and skills you need to achieve proficiency with embedded software. Praise for the first edition: This lively and readable book is the perfect introduction for those venturing into embedded systems software development for the first time. It provides in one place all the important topics necessary to orient programmers to the embedded development process. --Lindsey Vereen, Editor-in-Chief, Embedded Systems Programming

Michael Barr: author's other books


Who wrote Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition? Find out the surname, the name of the author of the book and a list of all author's works by series.

Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Index
[]APIs (application programming interfaces)Arcom board
Index
[]bit manipulation[See also Arcom board]breakpointsbuses
Index
[]header filescentral processing unit [See CPU]clockscodeoptimizingcommandscompilersoptimizationconnectorscontextcosts [See costs (see development cost\\]
Index
[]deferred service routine [See DSR]device registers
Index
[]APIstasksembedded applicationsembedded systemsEmbedded Systems DesignEmbedded Systems Programming [See Embedded Systems Design]emulatorsexecutable binary imagedownloading
Index
[]full-duplex modefunctions
Index
[]breakpointsC compiler [See gcc]debugger [See gdb]
Index
[]
Index
[][See also hardware, initializing]integersintegrated circuits [See ICs]Intel processorsinterrupt handlers [See ISRs]interrupt service routines [See ISRs][See also ISRs]handling
Appendix 1. The Arcom VIPER-Lite Development Kit

All of the examples in this book have been written for and tested on an embedded platform called the VIPER-Lite. This board is a high-speed embedded controller that is designed, manufactured, and sold by Arcom. The following paragraphs contain information about the hardware, software development tools, and instructions for ordering a board for yourself.

The VIPER-Lite hardware includes the following:

Processor: PXA255 XScale (based on the ARM v.5TE architecture) (200 MHz)

RAM: 64 MB of SDRAM

ROM: 16 MB of flash and 1 MB boot ROM

Three RS232-compatible serial ports (with external DB9 connectors)

10/100baseTx Ethernet port

USB v1.1 client port

CompactFlash slot

Four programmable timer/counters

Sixteen-channel DMA controller

Watchdog timer

Real-time clock

Eight buffered digital inputs

Eight buffered digital outputs

RedBoot debug monitor program resident in boot ROM

Embedded Linux (based on kernel version 2.6) resident in flash

[*] The Windows CE operating system can be specified instead when ordering the VIPER-Lite board. There is an additional cost for the VIPER-Lite with the Windows CE operating system. Examples in the book target the embedded Linux operating system version of the board.

JTAG port for system debugging

Arcom has also built an add-on module ideal for learning embedded software. The add-on board was designed specifically for the examples shown in this book and is included with a book-specific version of the VIPER-Lite development kit. The VIPER-Lite add-on module includes the following:

Three LEDs

Four buttons and jumpers

Four opto-isolated inputs

Four opto-isolated outputs

Two relay outputs

A buzzer

A small prototyping area

The VIPER-Lite development kit includes all of the necessary cables for interfacing to the board and a power supply. A photograph of the complete VIPER-Lite development kit in its blue case is shown in .

Figure 1-1. Arcom VIPER-Lite development system

The CD-ROM that comes with the Arcom development kit includes all VIPER-Lite manuals and reference documents, datasheets for all components on the board, source code for RedBoot, embedded Linux packages with source code, and binary images for RedBoot and embedded Linux.

The software development tools for the Arcom board are located on the book's web site. We built these tools ourselves for the ARM processor by following the instructions shown in . The software tools include the GNU C compiler (gcc), assembler (as), linker (ld), and debugger (gdb). We encourage you to investigate the other GNU tools included in the development kit. All programs in this book were built using the tools contained on the book's web site.

For readers of this book, the VIPER-Lite development kit is available at a special discount price of $295 (plus shipping). Use one of the following order codes when contacting Arcom, depending on the operating system you want:

VIPER-Lite Embedded Linux Development Kit

VIPER-Lite Windows CE Development Kit

Make sure you mention the book so that you receive the add-on module. Here is Arcom's contact information:

Arcom

7500 West 161st Street

Overland Park, KS 66085

Web: http://www.arcom.com

America and Asia: +1 913-549-1000 or

EMEA: +44 (0)1223-403410 or

Appendix 2. Setting Up Your Software Development Environment

This appendix shows the procedure for setting up the GNU software development tools and example source code. The GNU software development tools setup procedure is broken down into two sections: one for Windows and one for Linux. The GNU software tools we use for the example code include the gcc version 3.4.4, as version 2.15, ld version 2.15, gdb version 6.3, and binutils version 2.15.

This book's web site contains several compressed archive files that expand to include the various source code and tools used in this book. These files are:

windowshost.zip

Contains the Cygwin setup files and the Windows-based GNU software development tools

linuxhost.tar.gz

Contains the Linux-based GNU software development tools

ecos.tar.gz

Contains the eCos source code repository and the eCos development tools (see for additional information on setting up the eCos host environment)

examples.zip and examples.tar.gz

Contain the book's example code

Picture 1

The Linux example code in has not been built and tested using a host computer running Windows. It is common to use a Linux host system for developing embedded Linux applications.

Building applications for Linux using a Windows host is beyond the scope of this book. It involves the use of the Cygwin free software toolset, a somewhat more involved procedure than the one described in this chapter.

'B'.1. Windows Host Installation

The GNU software development tools were run on a Pentium 4 computer with Windows XP (Service Pack 2). The first phase of the Windows setup is to install Cygwin , a Unix environment for Windows. Additional information about Cygwin can be found online at http://www.cygwin.com.

The first step in the Windows host installation procedure is to download the windowshost.zip file and unzip it to temporary directory.

'B'.1.1. Cygwin Installation

Cygwin is used for building all of the examples in this book under Windows. The following instructions assume that C: is your hard disk drive where the files are installed. The Cygwin environment is installed under the C:\\cygwin directory.

  1. Run the Cygwin installation program setup.exe. The Cygwin install files are located under the cygwin directory in the windowshost.zip file.

  2. The first dialog box is titled Cygwin Net Release Setup Program. This gives the details about the setup program version information. Click Next to continue.

Picture 2

Looking at the commands and directories here might get a bit confusing, because Windows and Unix environments differ in how they separate directories: Windows uses the backslash ( \\ ) and Unix uses the forward slash ( / ).

  1. Now select the directory from which to install the Cygwin tools. In this case, we select "Install from Local Directory" and then click Next.

  2. In the next dialog box, select the location on your hard drive where you want the Cygwin tools to be installed. Leave the default as

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition»

Look at similar books to Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition»

Discussion, reviews of the book Programming Embedded Systems: With C and GNU Development Tools, 2nd Edition and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.