Embedded C Coding Standard and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $4.28 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Embedded C Coding Standard
 
 
Start reading Embedded C Coding Standard on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Embedded C Coding Standard [Paperback]

Michael Barr (Author)
4.0 out of 5 stars  See all reviews (8 customer reviews)

List Price: $49.00
Price: $38.57 & this item ships for FREE with Super Saver Shipping. Details
You Save: $10.43 (21%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $9.99  
Paperback $38.57  
Unknown Binding --  

Book Description

October 27, 2008
Netrino's Embedded C Coding Standard was developed from the ground up to minimize bugs in firmware, by focusing on practical rules that keep bugs out-while also improving the maintainability and portability of embedded software. The coding standard details a set of guiding principles (more below) as well as specific naming conventions and other rules for the use of data types, functions, preprocessor macros, variables and much more. Individual rules that have been demonstrated to reduce or eliminate certain types of bugs are highlighted.

Frequently Bought Together

Embedded C Coding Standard + Design Patterns for Embedded Systems in C: An Embedded Software Engineering Toolkit + Test Driven Development for Embedded C (Pragmatic Programmers)
Price For All Three: $106.63

Some of these items ship sooner than the others. Show details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Design Patterns for Embedded Systems in C: An Embedded Software Engineering Toolkit $46.99

    Usually ships within 1 to 3 weeks.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Test Driven Development for Embedded C (Pragmatic Programmers) $21.07

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

Michael Barr is an internationally recognized expert on the design of embedded computer systems. In that role, he has provided expert witness testimony in federal court, appeared on PBS' American Business Review, and been quoted in various newspapers. He is also the author of three books and more than fifty articles on related subjects. For three and a half years Michael served as editor-in-chief of Embedded Systems Programming magazine. In addition, Michael has been a member of the advisory board and track chair for the Embedded Systems Conference. Software he wrote and architected powers millions of products. Michael holds B.S. and M.S. degrees in electrical engineering and has lectured in the Department of Electrical and Computer Engineering at the University of Maryland, from which he also earned an MBA.

Product Details

  • Paperback: 90 pages
  • Publisher: CreateSpace; 1st edition (October 27, 2008)
  • Language: English
  • ISBN-10: 1442164824
  • ISBN-13: 978-1442164826
  • Product Dimensions: 8.9 x 5.9 x 0.3 inches
  • Shipping Weight: 4.8 ounces (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon Best Sellers Rank: #561,363 in Books (See Top 100 in Books)

More About the Author

Michael Barr is an internationally recognized expert on the design of embedded computer systems. In that role, he has provided expert witness testimony in federal court, appeared on PBS' American Business Review, and been quoted in various newspapers. He is also the author of three books and more than sixty articles and papers on related subjects. For three and a half years Michael served as editor-in-chief of Embedded Systems Programming magazine. In addition, Michael has been a member of the advisory board and track chair for the Embedded Systems Conference. Software he wrote continues to power millions of products. Michael holds B.S. and M.S. degrees in electrical engineering and has lectured in the Department of Electrical and Computer Engineering at the University of Maryland, from which he also earned an MBA.

 

Customer Reviews

8 Reviews
5 star:
 (5)
4 star:    (0)
3 star:
 (2)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (8 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

6 of 6 people found the following review helpful:
5.0 out of 5 stars Dramatically Raise Code Quality to a New Level, August 21, 2009
This review is from: Embedded C Coding Standard (Paperback)
This book carefully lays out a detailed set of rules for embedded software development. These rules draw on a variety of sources and are backed up by practical sound logic in terms of why they should be observed and how they should be applied. There are many subtleties associated with embedded software development that the text specifically calls out through the use of a "Zero Bugs Period" logo. The author has also taken the time to illustrate key concepts by including numerous code fragments that are simple and straight forward to understand. Given my personal experience in embedded software development within small and large companies over the last twenty-five years; I would highly recommend this book to any individual or team that wishes to dramatically improve the quality of their embedded software and standardize on a consistent "Look and Feel" that can be easily shared across a company spanning multiple geographies.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


14 of 17 people found the following review helpful:
1.0 out of 5 stars A serious waste of money, November 11, 2010
By 
Douglas W. Goodall (Santa Maria, CA USA) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Embedded C Coding Standard (Paperback)

This 89 page minibook, printed in the largest font of any technical book I have read, is instantly unimpressive. I cannot say I learned a single thing from this book.

If you can write drivel in a font appropriate for children, and sell it for the same price a "real" technical book sells for, that is a way to make a fast buck.

But there will not be any follow-on purchases of other titles from this author after you get a look at this offering.

An example of one of his "rules".... No variable name shall contain any upper case letters. So much for hungarian notation.

I say save your money, and buy a copy of "Writing Solid Code", or "Code Complete".
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 9 people found the following review helpful:
5.0 out of 5 stars A quality coding standard for Embedded C Programmers, August 27, 2009
By 
This review is from: Embedded C Coding Standard (Paperback)
The first thing to note about any standard is that you ain't gonna make everyone happy by publishing a standard that says DO THIS and ONLY THIS, EVERY TIME. By their very nature, programmers of all types have to question everything they come into contact with...all of the time. When the law is laid down, few programmers like it. Standards for coding are lax or non-existent because of this basic fact. When standards are lax, code quality suffers. Fact of life. Don't shoot the messenger.

For example, one of the MUST DO things in this standard is that the "keywords if, else, while, for, switch and return" will always have one space between the keyword and the left parenthesis. Surely one can argue that this is purely stylistic. Today's modern editors obviously syntax highlight keywords, so why the need for a requirement that stipulates such things? The argument continues with "why should I have to type a space when I know these simple keywords forwards and backwards?"

The answer to that question is the reason for every company to use a solid, published standard particularly when it comes to writing embedded C code. When one considers that C practically owns the embedded world in terms of supported "high level language" compilers, not using a quality, published standard should be considered a flagrant violation of your customer's trust. While not everyone will agree with every statement in the standard, as published nor accept the rational presented occasionally as "Reasoning," quality programmers SHOULD take note that this standard is an evolution of lessons learned by a variety of embedded systems experts and collected herein for your convenience.

I strongly encourage those developing embedded systems to establish and use a standard, any standard. If you don't already have one in your environment, use this one. Please. If you already have one, compare it to this one and see if this isn't a better choice. It probably is.

Again, I don't blindly accept everything that it says on faith alone. There are a NUMBER of areas in the standard, as published, that I would have liked to have seen more Reasoning or at least a sentence or two of reasoning. Sometimes the reasoning isn't included, such as is the case in the use of whitespace for the previously mentioned keywords.

Consistency is the key to any form of programming. And this book intends to help all embedded C programmers produce consistent code!

If you are a program manager, project manager or team lead of an embedded systems project, get this book, give a copy to everyone on your team and use it ragged until your team produces consistent code. You can not go wrong using the standard supplied by this book and there are many, many ways to go wrong using some other standard or none at all.

For anyone who MUST deviate from the standard for whatever sound reasoning would have to apply, there is a section on deviation that even tells how and when to deviate. A truly useful standard SHOULD be inflexible as much as possible in this embedded systems world of ours. When we "bend the rules" we take on more risk and we discard the lessons learned by the many who have come before us.

The book is not an exhaustive representation of standards for C programming, rather, it is a concise, mostly explicit standard for embedded C programmers. If the sheer weight of a volume suggests its value, this probably won't live up to your girth requirements. At something under 100 pages, it, like embedded software should, gets right to the point, stays on target and gets out cleanly. I'd probably advise the inclusion of an index, but it isn't really that challenging to find the topics of interest by flipping through the pages via the manual scan method.

The book is very clear on a wide variety of conventions, including many largely considered stylistic or a matter of convention that will (that's WILL) differ from what you may be used to seeing in code. If that is going to bother you, you may want to remain happily ignorant of the value brought to the table by this book. However, if you're seeking a suitable, useful coding standard for hardcore embedded systems programming in C, look no further.

I'd like to see this standard adopted by EE programs, but that would suggest that more than a single semester of C would be part of the curricula. You can help in your department by bringing it to the right audience. The potential for reducing and perhaps someday eliminating embedded systems bugs is on the horizon!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews






Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject

Search Books by subject:






i.e., each book must be in subject 1 AND subject 2 AND ...