Embedded Software Design

A Practical Approach to Architecture, Processes, and Coding Techniques

Af Jacob Beningo
Detaljer Apress L. P.
ISBN 9781484282786
Sprog Engelsk
Vælg mellem
Pris 383,00 kr.
Paperback

Ikke på lager

Denne bog er lige nu i restordre hos udgiveren. Vi har p.t. ingen oplysninger om hvornår eller om den igen vil kunne leveres

Design higher-quality embedded software from concept through production.  This book assumes basic C and microcontroller programming knowledge and is organized into three critical areas: Software Architecture and Design; Agile, DevOps, and Processes; and Development and Coding Skills.
You'll start with a basic introduction to embedded software architecture and the considerations for a successful design. The book then breaks down how to architect an RTOS-based application and explore common design patterns and building blocks. Next, you'll review embedded software design processes such as TDD, CI/CD, modeling, and simulation that can be used to accelerate development. Finally, the book will examine how to select a microcontroller, write configurable code, coding strategies, techniques, and tools developers can't live without.

Embedded systems are typically designed using microcontrollers to build electronic systems with a dedicated function and real-time responses. Modern systems need to carefully balance a complex set of features, manage security, and even run machine learning inferences while maintaining reasonable costs, scalability, and robustness. By the end of this book, you will have a defined development process, understand modern software architecture, and be equipped to start building embedded systems.   What You'll Learn
  • Understand what sound embedded system design is and how to employ it
  • Explore modern development processes for quality systems
  • Know where the bits hit the silicon: how to select a microcontroller
  • Master techniques to write configurable, automated code
Who This Book Is For   Embedded software and hardware engineers, enthusiasts, or any stakeholders who would like to learn modern techniques for designing and building embedded systems.


Part 1 - Software Architecture Design Embedded System Design Philosophy Challenges Facing Embedded Developers Traditional Embedded Software Development The Age of Modeling, Simulation and Off-chip Development SOLID Design Principles Test Driven Development (TDD) Why Best Practices? Embedded Software Architecture Design Architect First, Code Second Architectural Layers Single vs Multicore Architectures Application Domain Decomposition Interface Design Principles Architectural Languages RTOS Application Design Tasks, Threads and Processes Task Decomposition Techniques Task Scheduling Algorithms Setting Task Priorities Schedule-ability using Rate Monotonic Analysis Designing Application Data Flow Producer, Consumer, Processor and Transfer Mechanisms Secure Application Design Platform Security Architecture (PSA) Security through Isolation TrustZone Memory map design Memory Protection Units (MPUs) Secure boot Secure bootloaders and OTAs Design Patterns pub / sub Rtos patterns Handling interrupts State machines Active objects
Part 2 - Development Processes Software Quality Coding Standards Code Reviews Code Metrics Code Analysis (static vs dynamic) Software Testing and Verification Integration Testing Performance Testing Regression Testing Software Verification Results Testing of executable object code Code coverage analysis Test Reports Application Modeling and Simulation Modeling Methodologies Simulations Role wxWidgets Example Test Driven Development Overview Test Harnesses Code Coverage Test Design Continuous Integration / Continuous Deployment Process Overview Docker Jenkins Git Integrations Merge Process Deployment
Part 3 - Where the Bits hit the Silicon Selecting a Microcontroller Traditional Techniques Modern Selection Process Selection Considerations KT Matrix Design and Use Code Implementation Techniques Interfaces Command Processing Task initialization Assertions Telemetry Diagnostic and Fault Handling Design failure mode and effect analysis (DFMEA) Fault Handling Strategies Diagnostic Tasks Error Checking Code (ECC) Watchdogs Application Optimization Models and Simulation versus Reality Scalability Maintenance Code size versus speed Compilation Settings Memory management The Right Tool for the Job Tracing Code Analyzers Protocol analysis Metric tools Open source versus commercial