C and the 8051, Vol. II : Building Efficient Applications / Edition 1

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $35.00
Usually ships in 1-2 business days
(Save 50%)
Other sellers (Paperback)
  • All (7) from $35.00   
  • New (2) from $35.00   
  • Used (5) from $57.98   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$35.00
Seller since 2006

Feedback rating:

(336)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
1998 Hard cover New. 350 p.; 0.90" x 9.32" x 6.30". C and the 8051. BRAND NEW. NO DJ. (as issued)

Ships from: Chicago, IL

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$179.00
Seller since 2007

Feedback rating:

(810)

Condition: New
1999-01 Textbook Binding New NEW. Includes factory sealed unopened CD. A brand new book perfect inside and out. NO remainder markings. Purchase and help a youth pastor with ... three daughters. Read more Show Less

Ships from: Midland, VA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Close
Sort by

Overview

Maximize 8051 software performance, reliability, and efficiency-hands-on!

This is the first complete, hands-on guide to optimizing C-based applications for the 8051 microcontroller. Based on the most popular chipset in today's consumer products, it delivers great ideas and expert C code you can adapt to your own real-world applications, whatever they are. From project planning through key design tradeoffs, you'll find powerful insights that will streamline your coding and enhance your results. Coverage includes:

  • Making the most of multitasking and real-time operating systems
  • Building an operating system kernel-from scratch
  • Working with internal and external peripheral devices
  • Algorithms for enhancing performance
  • Two highly detailed start-to-finish projects

In addition to extensive sample code, the book contains practical techniques and flowcharts for streamlining the development process, design approaches that minimize the amount of external hardware required, and much more. Most examples will work with the entire 8051 family, including the Philips 751 and 552, 517, 552, 558, and DS5000 series.

Whether you're an engineer, student, or serious hobbyist, if you want to maximize the efficiency of your embedded applications, you need C and the 8051, Volume 2: Building Efficient Applications.

CD-ROM INCLUDED!

The accompanying CD-ROM contains Keil's assembler, C compiler, and linker in a limited version for the 8051 family, along with extensive source code-including all the source code from this book and from C and the 8051, Volume 1: Hardware, Modular Programming, and Multitasking.

Also look for C and the 8051, Volume 1: Hardware, Modular Programming, and Multitasking, a great introduction to building software for embedded systems based on the 8051 family.

Read More Show Less

Editorial Reviews

Booknews
Guides readers through a myriad of techniques for optimizing C-based applications for the 8051 microcontroller. A companion to Volume I, which presents the basics of that microcontroller, this text emphasizes applications and project development. Presents practical advice on working with inputs, outputs, and algorithms, among other applications. The included CD-ROM contains Keil's assembler, C compiler, and linker in a limited version, along with source code. Annotation c. by Book News, Inc., Portland, Or.
Read More Show Less

Product Details

  • ISBN-13: 9780135211212
  • Publisher: Prentice Hall Professional Technical Reference
  • Publication date: 12/29/1998
  • Series: C and the 8051 Series
  • Edition description: BK&CD ROM
  • Edition number: 1
  • Pages: 457
  • Product dimensions: 6.30 (w) x 9.32 (h) x 0.90 (d)

Read an Excerpt

PREFACE: Preface
Here I explain the general purpose and organization of this book. Specifically I define efficiency and identify the 8051 family of microcontrollers.

Embedded Controller Applications
If you are developing embedded microcontroller projects of any sort, this is a book for you. The three objectives of this book are 1) to help you apply microcontrollers efficiently, 2) to help you develop the mindset of multitasking, and 3) to help you design software and hardware for embedded1 applications. Over and over you will encounter an emphasis on efficiency and project development. While many examples rely on the internal peripheral devices of 8051 family devices, here you will also find applications for many commonly used external devices.

I hope you already have Volume I (C and the 8051; Hardware, Modular Programming, and Multitasking). Volume I is a better starting point if you are not familiar with microcontrollers or the 8051 family. There you will find more of the basics-this book instead emphasizes applications and project development.

Is this book for you?
If you are someone who learns best from examples rather than rules and lessons, you will enjoy this book.

Engineers/developers: Engineer/system designer/developers producing small, embedded applications will find this book immediately applicable. You probably prefer to learn through practical hardware-oriented examples and you may be looking for new ways to replace existing hardware with a micro. This book describes a variety of new approaches you can store away for future projects.

Students-classes: This book can supplementboth beginning and advanced microcontroller classes. You might want to start with the general principles of microprocessors and computer architecture found in Volume I. After a quick overview of assembly language and C programming found there, you can return to this book as a resource for project ideas and electronic designs as well as a source of many additional programming examples.

Students-design projects: If you already know micros well but are faced with an electronic design course, this book can be a stand-alone guide to intelligently putting a micro to use in your project. Elegant, efficient design is far different from relying on raw computing power and speed. The application examples here can give you circuit ideas and schematics.

Home Experimenter-self-taught: As an experimenter/hobbyist you want to see interesting applications running right away-not read about fine points of design. This book is not just a "designer's book."You needn't have advanced math and college training with microcontrollers as you would in some other engineering fields. You may already be familiar with the electronic devices on which many of the examples rely. You might want to start by getting one of the target boards described in Volume I and then go on to develop your own custom systems.

No matter which group you put yourself in, if you need a book of ideas along with enough specifics to get going without a lot of wasted effort, this is the book for you.

Programming
There is still a corner of the programming field where the efficient approaches developed with small, dedicated microcontrollers are best. For example, you do not need an elaborate set of print functions in a system where the only outputs are a few LEDs and a motor! While in this volume I sometimes provide assembly language (machine instruction) program examples, most developers now focus on the C language. Along with the power of high-level languages like C, the elaborate software tools of today are a dramatic shift from the difficult programming techniques necessary for the first microprocessors.

The Included Software
The CD included with Volume I included only Keil's demonstration tools-an assembler, a C compiler, and a linker. Those tools are included here as well, but in addition I have included all the code example source files of any appreciable size from both volumes, identified by the page on which they are found. With the free Keil tools (also available over the web) you can compile larger programs to check code size, but final code production is limited to 2K bytes. While that is not a trivial program size, for large programs you will have to make an additional purchase. (Companies such as Keil still hope to make their living selling the software to industrial developers!) A full version is available for $1595.00. The compiler is among the best available for the 8051 family. There are some less expensive compilers, but they lack features or behave much less efficiently with the (rather unusual) architecture of the 8051.

The Available Hardware
Many of the examples in the book fit the microcontroller boards introduced in Volume I. The two boards used in many of those examples may be purchased in populated/tested form. Most of the application sections begin with programs matched to the example board configurations. Unlike most magazine-article projects, with the software and information from this book you won't have to buy a pre-programmed EPROM for your projects-you'll be writing your own!

What This Book Is Not
This book is not a book on computing.

Unlike in Volume I, I don't emphasize assembly language programming here. In my opinion, with today's higher-level languages and optimizing compilers you should not stay with assembly language for any but the smallest projects. If you program for a living, save your time and reduce chances for human error by relying primarily on a higher-level language. Such benefits usually outweigh any potential assembly language efficiencies. With today's C compilers, assembly language programmers have to be quite skilled to even match the size and run-time speed of code produced by the knowledgeable C programmer.

This book is not a beginning electronics book. It is full of electronics design ideas. You need not be able to invent circuit designs, but to apply the circuit examples, you need at least a little knowledge of both digital and analog electronics. I supply many specific circuits along with advice on how to modify them, but you need to already have enough electronics background to understand the circuits as you read about them. This book is not a code library. If you blindly copy code pieces from this book, you will be like a person walking in the dark along a narrow path with swamp on either side-the slightest misstep and you're stuck in the muck.

Finally, this book is not perfect! I would love to say that all the code pieces have been tried and that all the hardware has been built, but that will probably not be true until I stop all the other things I do. View this book as a well of ideas-not a collection of guaranteed perfect examples to blindly copy.

How this book came to be written
For about twenty-three years, I have worked with dedicated microprocessor projects, and for about eighteen years I have been teaching in that area. About thirteen years ago, I began shaping a senior-level course in electrical engineering technology to cover real-time multitasking-first with Intel's RMX and eventually with their BITBUS and the 8044. I kept expecting to see a book appear on that processor family. Finally, in 1992 I revised class material to produce the first edition of this set, C and the 8051; Programming for Multitasking. It included PL/M as well as C and gave extensive coverage to real-time operating systems for the 8051.

Since PL/M dropped out of use and interest in commercial operating systems for the 8051 family failed to develop, I revised the original material to become Volume I or C and the 8051: Hardware, Modular Programming and Multitasking that came out at the start of 1998. I had only intended to produce an updated version of the first edition, but as I gathered new material, it became evident that there was too much. To meet deadlines and produce a book more suitable for classroom use, I partitioned the material and released Volume I. There I added more on assembly language and cut back on the operating system information. That left all the "neat"cut-out stuff that I thought would be useful to advanced students and industrial designers lying on the floor. I have enhanced it and present it here as Volume II. This volume in particular has many more examples along with a rationale for choices in design. Students and readers of the first version of the book continued to cry for "examples to go to,"and I hope this book will finally satisfy those requests.

I am particularly grateful to my wife, Jill, who has consistently encouraged me. She has also unfailingly taken me to task over grammatical errors and helped me remove them. I am also grateful to Brian Witton and the folks with Keil Software for supplying the compiler and one of the training boards referred to throughout the book. Metalink loaned me an emulator to try, and it is the basis of some of the development tools materials.

If you would like to contact me by e-mail, my address is:
twschultz@tech.purdue.edu

Read More Show Less

Table of Contents

1. Efficiency and Planning
2. Real-Time Multitasking
3. Build Your Own: Scheduler or Kernel
4. Inputs
5. Outputs
6. Algorithms
7. Efficiency at Work
Appendix A: Addresses, Phones, and Products
Index
Read More Show Less

Preface

Preface
Here I explain the general purpose and organization of this book. Specifically I define efficiency and identify the 8051 family of microcontrollers.

Embedded Controller Applications
If you are developing embedded microcontroller projects of any sort, this is a book for you. The three objectives of this book are 1) to help you apply microcontrollers efficiently, 2) to help you develop the mindset of multitasking, and 3) to help you design software and hardware for embedded1 applications. Over and over you will encounter an emphasis on efficiency and project development. While many examples rely on the internal peripheral devices of 8051 family devices, here you will also find applications for many commonly used external devices.

I hope you already have Volume I (C and the 8051; Hardware, Modular Programming, and Multitasking). Volume I is a better starting point if you are not familiar with microcontrollers or the 8051 family. There you will find more of the basics-this book instead emphasizes applications and project development.

Is this book for you?
If you are someone who learns best from examples rather than rules and lessons, you will enjoy this book.

Engineers/developers: Engineer/system designer/developers producing small, embedded applications will find this book immediately applicable. You probably prefer to learn through practical hardware-oriented examples and you may be looking for new ways to replace existing hardware with a micro. This book describes a variety of new approaches you can store away for future projects.

Students-classes: This book can supplement both beginning and advanced microcontroller classes. You might want to start with the general principles of microprocessors and computer architecture found in Volume I. After a quick overview of assembly language and C programming found there, you can return to this book as a resource for project ideas and electronic designs as well as a source of many additional programming examples.

Students-design projects: If you already know micros well but are faced with an electronic design course, this book can be a stand-alone guide to intelligently putting a micro to use in your project. Elegant, efficient design is far different from relying on raw computing power and speed. The application examples here can give you circuit ideas and schematics.

Home Experimenter-self-taught: As an experimenter/hobbyist you want to see interesting applications running right away-not read about fine points of design. This book is not just a "designer's book."You needn't have advanced math and college training with microcontrollers as you would in some other engineering fields. You may already be familiar with the electronic devices on which many of the examples rely. You might want to start by getting one of the target boards described in Volume I and then go on to develop your own custom systems.

No matter which group you put yourself in, if you need a book of ideas along with enough specifics to get going without a lot of wasted effort, this is the book for you.

Programming
There is still a corner of the programming field where the efficient approaches developed with small, dedicated microcontrollers are best. For example, you do not need an elaborate set of print functions in a system where the only outputs are a few LEDs and a motor! While in this volume I sometimes provide assembly language (machine instruction) program examples, most developers now focus on the C language. Along with the power of high-level languages like C, the elaborate software tools of today are a dramatic shift from the difficult programming techniques necessary for the first microprocessors.

The Included Software
The CD included with Volume I included only Keil's demonstration tools-an assembler, a C compiler, and a linker. Those tools are included here as well, but in addition I have included all the code example source files of any appreciable size from both volumes, identified by the page on which they are found. With the free Keil tools (also available over the web) you can compile larger programs to check code size, but final code production is limited to 2K bytes. While that is not a trivial program size, for large programs you will have to make an additional purchase. (Companies such as Keil still hope to make their living selling the software to industrial developers!) A full version is available for $1595.00. The compiler is among the best available for the 8051 family. There are some less expensive compilers, but they lack features or behave much less efficiently with the (rather unusual) architecture of the 8051.

The Available Hardware
Many of the examples in the book fit the microcontroller boards introduced in Volume I. The two boards used in many of those examples may be purchased in populated/tested form. Most of the application sections begin with programs matched to the example board configurations. Unlike most magazine-article projects, with the software and information from this book you won't have to buy a pre-programmed EPROM for your projects-you'll be writing your own!

What This Book Is Not
This book is not a book on computing.

Unlike in Volume I, I don't emphasize assembly language programming here. In my opinion, with today's higher-level languages and optimizing compilers you should not stay with assembly language for any but the smallest projects. If you program for a living, save your time and reduce chances for human error by relying primarily on a higher-level language. Such benefits usually outweigh any potential assembly language efficiencies. With today's C compilers, assembly language programmers have to be quite skilled to even match the size and run-time speed of code produced by the knowledgeable C programmer.

This book is not a beginning electronics book. It is full of electronics design ideas. You need not be able to invent circuit designs, but to apply the circuit examples, you need at least a little knowledge of both digital and analog electronics. I supply many specific circuits along with advice on how to modify them, but you need to already have enough electronics background to understand the circuits as you read about them. This book is not a code library. If you blindly copy code pieces from this book, you will be like a person walking in the dark along a narrow path with swamp on either side-the slightest misstep and you're stuck in the muck.

Finally, this book is not perfect! I would love to say that all the code pieces have been tried and that all the hardware has been built, but that will probably not be true until I stop all the other things I do. View this book as a well of ideas-not a collection of guaranteed perfect examples to blindly copy.

How this book came to be written
For about twenty-three years, I have worked with dedicated microprocessor projects, and for about eighteen years I have been teaching in that area. About thirteen years ago, I began shaping a senior-level course in electrical engineering technology to cover real-time multitasking-first with Intel's RMX and eventually with their BITBUS and the 8044. I kept expecting to see a book appear on that processor family. Finally, in 1992 I revised class material to produce the first edition of this set, C and the 8051; Programming for Multitasking. It included PL/M as well as C and gave extensive coverage to real-time operating systems for the 8051.

Since PL/M dropped out of use and interest in commercial operating systems for the 8051 family failed to develop, I revised the original material to become Volume I or C and the 8051: Hardware, Modular Programming and Multitasking that came out at the start of 1998. I had only intended to produce an updated version of the first edition, but as I gathered new material, it became evident that there was too much. To meet deadlines and produce a book more suitable for classroom use, I partitioned the material and released Volume I. There I added more on assembly language and cut back on the operating system information. That left all the "neat"cut-out stuff that I thought would be useful to advanced students and industrial designers lying on the floor. I have enhanced it and present it here as Volume II. This volume in particular has many more examples along with a rationale for choices in design. Students and readers of the first version of the book continued to cry for "examples to go to,"and I hope this book will finally satisfy those requests.

I am particularly grateful to my wife, Jill, who has consistently encouraged me. She has also unfailingly taken me to task over grammatical errors and helped me remove them. I am also grateful to Brian Witton and the folks with Keil Software for supplying the compiler and one of the training boards referred to throughout the book. Metalink loaned me an emulator to try, and it is the basis of some of the development tools materials.
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)