更新时间:2021-06-25 21:55:35
封面
版权信息
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Embedded Systems – A Pragmatic Approach
Domain definition
Embedded Linux systems
Low-end 8-bit microcontrollers
Hardware architecture
Understanding the challenge
Multithreading
RAM
Flash memory
Interfaces and peripherals
Asynchronous UART-based serial communication
SPI
I2C
USB
Connected systems
The reference platform
ARM reference design
The Cortex-M microprocessor
Summary
Work Environment and Workflow Optimization
Workflow overview
C compiler
Linker
Build automation
Debugger
Embedded workflow
The GCC toolchain
The cross-compiler
Compiling the compiler
Linking the executable
Binary format conversion
Interacting with the target
The GDB session
Validation
Functional tests
Hardware tools
Testing off-target
Emulators
Architectural Patterns
Configuration management
Revision control
Tracking activities
Code reviews
Continuous integration
Source code organization
Hardware abstraction
Middleware
Application code
The life cycle of an embedded project
Defining project steps
Prototyping
Refactoring
API and documentation
The Boot-Up Procedure
The interrupt vector table
Startup code
Reset handler
Allocating the stack
Fault handlers
Memory layout
Building and running the boot code
The makefile
Running the application
Multiple boot stages
Bootloader
Building the image
Debugging a multi-stage system
Shared libraries
Memory Management
Memory mapping
Memory model and address space
The code region
The RAM regions
Peripheral-access regions
The system region
Order of memory transactions
The execution stack
Stack placement
Stack overflows