Optimizing Embedded Software Infrastructure
summary
Shows concrete platform decisions for an electrophysiology device: a SoM with FPGA+CPU for sampling and parallel DSP, when to use bare metal vs FreeRTOS vs Linux and a hybrid (RT on one core, Linux on another). Describes swapping FreeRTOS queues for STL after a pointer-copy memory leak, using Google Test/Mock to run unit and system tests without hardware, and hitting ~15 ms timing constraints in an end-to-end prototype that successfully integrated TCP/IP, storage, and real-time sampling.
AI-written summary · about
chapters (16)
- 0:00Introduction to embedded software
- 2:41Company background and medical context
- 7:28Project diversity and hardware evolution
- 9:20Choosing the right platform
- 11:11Selecting an operating system
- 20:35Platform selection exercise
- 24:23Platform selection guidelines
- 26:35Choosing a programming language
- 30:09Fear of C++ in embedded
- 31:38Decision factors for language choice
- 33:07Hardware abstraction benefits
- 35:43C++ horror story and memory leaks
- 37:38Testing challenges in embedded
- 39:30Mocking hardware for testing
- 42:24Unit vs system testing
- 45:21Testing benefits and outcomes
