This roadmap is designed to help beginners aspiring to build a career as an Embedded Engineer/Developer, as well as assist current practitioners in expanding their skills.
Embedded engineering demands a solid understanding of hardware functionality as well as software development and programming skills. If you really want to pursue this career you must be highly motivated and passionate about it. As the well-known saying goes, "Hardware is hard!". But don't panic and be patient for the challenges you may encounter along this exciting journey. By dedicating enough time and effort practicing and doing projects you will soon find yourself as a real embedded engineer! ๐
computer system that is part of a larger system and performs some of the requirements of that system. For example, a computer system used in an aircraft or rapid transit system.
The hardware and software of an embedded system are usually minimized and optimized for specific functions. The embedded system includes at least one microcontroller, microprocessor or digital signal processor. The embedded system designed to optimize reliability, cost, size and power saving for applications.
An embedded system is a computerized system that is purpose built for its application.
A physical system that employs computer control for a specific purpose, rather than for general-purpose computation, is referred to as an embedded system.
An embedded system is a system in which the computer (generally a microcontroller or microprocessor) is included as an integral part of the system.
Often, the computer is relatively invisible to the user, without obvious applications, files, or operating systems. Examples of products with invisible embedded systems are the controller that runs a microwave oven or the engine control system of a modern automobile.
A combination of computer hardware and software, and perhaps additional mechanical or other parts, designed to perform a dedicated function.
In some cases, embedded systems are part of a larger system or product, as in the case of an antilock braking system in a car.
The embedded systems engineering roadmap is structured into three fundamental areas: SOFTWARE, HARDWARE, and SOFT SKILLS.
While the intersection of hardware and software is prevalent in embedded systems, specific job titles tend to emphasize one aspect over the other. For instance, roles like "Embedded Software Engineer/Developer," "Firmware Engineer/Developer," and "Embedded Linux Engineer/Developer" predominantly focus on software development. In contrast, positions such as "Embedded Hardware Engineer" and "Hardware Design Engineer" primarily deal with hardware design and electronics. Moreover, there are roles like "Embedded Systems Engineer" that necessitate a comprehensive understanding of both hardware and software.
It's crucial to note that each company in the embedded industry may have unique requirements for a given job title. Therefore, it's essential to tailor your focus based on your career aspirations. If you're seeking an embedded software position, prioritize the software-related skills outlined in the roadmap. Conversely, if you're interested in an embedded hardware job, concentrate on hardware skills and dedicate more time to learning electronics.
The roadmap provides a comprehensive guide to the essential topics for a typical "Embedded Systems Engineer" role. By delving into both software and hardware aspects, you can develop the necessary skills to thrive in this dynamic field. However, if you have a clear preference for software or hardware, you can tailor your learning path accordingly.
Note
Remember that the importance of individual software and hardware skills can differ depending on the specific requirements of the company and the job role.
Tip
To differentiate between the types of learning resources and the quality of their content, specific symbols are used before each item.
Resource types:
- ๐ : Books
- ๐๏ธ : Videos
- ๐ : Write-ups, articles, and blog posts
- ๐ : Other links that do not fit into any of the above categories
Content quality symbols:
- ๐ถ : Easy-to-understand and beginner-friendly resources. Refer to them if you do not have prior knowledge in a topic.
- ๐ : Well-known references that have truly invaluable and comprehensive content. Refer to them if you want to deepen your understanding of a topic.
If you feel overwhelmed by the extensive list of topics in the roadmap, you're not alone. Before delving too deeply, let's ease into it with some simple starter projects. Learning embedded systems engineering takes time and effort. Don't get discouraged if you don't understand something right away. Keep practicing and you will eventually get there.
Engaging in hands-on projects is the most effective approach to learning. Rather than solely relying on theoretical knowledge from books or articles. Undertaking projects allows for practical learning experiences. Even a seemingly basic project has the potential to teach you more than hours of aimless reading. You can refer to books, articles, and courses when faced with difficulties in understanding the problems in real-world projects.
Don't try to build a complex project right away. Start with small, manageable projects to get your feet wet.
- ๐ Random Nerd Tutorials | Learn ESP32, ESP8266, Arduino, and Raspberry Pi
- ๐ Last Minute Engineers
- ๐ 51 STM32 Projects & Tutorials for Beginners and Up - Hackster.io
- ๐ STM32 (STM32F103C8) Projects & Tutorials
- ๐ ElectronicWings Projects
- ๐ STM32 Firmware - Philโs Lab (YouTube Playlist)
- ๐ Raspberry Pi Based Embedded Project Ideas
- ๐ Embedded Linux On ARM | Projects
Use search engines to find the answers to your questions.
If you can't find what you're looking for using search engines, AI chatbots can also provide assistance. Keep in mind that AI may provide incorrect answers in some cases. It's best to confirm any answers with more reliable references.
- ๐ DuckDuckGo AI Chat
- ๐ Microsoft Copilot
- ๐ Google Gemini
- ๐ ChatGPT
- ๐ Claude AI
- ๐ Poe - Fast, Helpful AI Chat
If you have reservations about relying on AI advice alone, you can also ask your questions from real people:
You may have heard that YouTube is a university. And it's true - there is an extensive amount of invaluable free content on embedded systems available on YouTube. You'll also find some excellent free courses through Coursera and EdX. Additionally, Udemy offers some high-quality paid course options.
- ๐๏ธ DigiKey (YouTube Channel)
- ๐๏ธ Coursera - Introduction to Embedded Systems Software and Development Environments
- ๐๏ธ Coursera - Embedded Software and Hardware Architecture
- ๐๏ธ Fastbit Embedded Brain Academy
- ๐๏ธ Modern Embedded Systems Programming Course (YouTube Playlist)
- ๐๏ธ element14 presents (YouTube Channel)
- ๐๏ธ Ben Eater (YouTube Channel)
- ๐๏ธ Philโs Lab (YouTube Channel)
- ๐๏ธ Embedded Systems - Jacob Sorber (YouTube Playlist)
- ๐๏ธ edX - Embedded Systems - Shape The World: Microcontroller Input/Output
- ๐๏ธ edX - Embedded Systems - Shape The World: Multi-Threaded Interfacing
- ๐๏ธ Embedded Systems, in Pyjama!
- ๐๏ธ Low Byte Productions
If you do not have any background in programming the embedded systems, Arduino boards and libraries are the best choice for you to start and learn the basics. Just keep in mind that most of the Arduino libraries are developed for learning purposes and are not optimized to be used in industry.
Additionally, the Arduino Core takes care of most of the low-level hardware-associated operations that you, as an embedded engineer, should be able to handle yourself or at least have a clear understanding of. If you want to become a professional embedded developer, you should be able to effectively use industry-standard APIs and SDKs provided and approved by microcontroller vendors, such as CMSIS for ARM Cortex-M microcontrollers, STM32Cube for STM32, ESP-IDF for Espressif microcontrollers, etc.
- ๐ Getting Started with Arduino
- ๐๏ธ All New Arduino R4 WiFi LESSONS for Absolute Beginners (YouTube Playlist)
- ๐๏ธ New Arduino Tutorials (YouTube Playlist)
- ๐๏ธ Arduino in a commercial product?
- ๐๏ธ Arduino Project to Product (YouTube Playlist)
- ๐ DeepBlueMbedded
- ๐๐ Interrupt Blog by Memfault
- ๐ Embedded Systems, in Pyjama!
- ๐ ElectronicWings - Hardware Developers Community
- ๐ Microchip University
- ๐ Nordic Developer Academy
- ๐ Electronics Tutorials
- ๐ SparkFun Learn: Learn at SparkFun Electronics
- ๐ Adafruit Learning System
- ๐ STM32 World
- ๐ ControllersTech
- ๐ Embedded Artistry Beginners Roadmap
- ๐ Embedded Systems Skill Tree
- ๐ PCB Design Skill Tree
- ๐ FPGA / ASIC Engineering Roadmap
- ๐ Keil MDK & ยตVision
- ๐ IAR Embedded Workbench
- ๐ STM32CubeIDE
- ๐ Microchip Studio for AVRยฎ and SAM Devices
- ๐ MPLABยฎ X IDE
- ๐ MCUXpresso IDE
PlatformIO is a cross-platform, cross-architecture, multiple framework, professional tool for embedded systems engineers and for software developers who write applications for embedded products.
PlatformIO is not yet extensively adopted in industrial and large-scale projects, however, it is an excellent choice for individuals working on smaller projects. This is because it greatly reduces the need to install frameworks and setup build and debug tools, allowing you to concentrate on programming.
Warning
It is not necessary to read all the books, articles, or watch all the videos you see here. If you try to do so, you will finally get tired and disappointed. You cannot study all the available content here in a reasonable time because it may take years. It is important to study enough to have at least a basic understanding of the required topics. Of course, the more time you dedicate to studying and doing projects, the more profound your knowledge and expertise will become.
Some of the resources mentioned here will just be used as references. Refer to them only when you need them.
Similar to other professions, embedded engineers require soft skills that can't be solely obtained from reading or watching videos. These skills are cultivated through interactions and tackling various work obstacles. Improving soft skills is not a one-size-fits-all approach. It will vary based on one's individual traits and requires self-awareness of your strengths and areas for growth. Enhancing these skills takes time and effort.
- ๐ Soft Skills For Embedded Systems Software Developers
- ๐ 10 Skills Every Embedded Engineer Should Have
- ๐๏ธ Khan Academy - Calculus 1
- ๐๐ถ Calculus For Dummies - Mark Ryan
- ๐๐ Thomas' Calculus
- ๐๐ถ Lessons in Electric Circuits (All About Circuits)
- ๐๐ถ๐ Electronics Tutorials
- ๐๐ถ๐ Fundamentals of Electric Circuits - Charles K. Alexander, Matthew Sadiku
- ๐๐ถ๐ Principles of Electric Circuits: Conventional Current Version - Thomas L Floyd, David M. Buchla
- ๐๏ธ๐ Basic Circuit Theory I (By Prof. Razavi) (YouTube Playlist)
- ๐๐ถ๐ Build Electronic Circuits - รyvind Nydal Dahl
- ๐๏ธ๐ถ Electronic Basics - GreatScott! (YouTube Playlist)
- ๐๐ถ Make: Electronics: Learning by Discovery - Charles Platt
- ๐๐ถ๐ Electronic Devices: Conventional Current Version - Thomas Floyd, David Buchla, Steven Wetterling
- ๐๐ถ๐ Electronics Fundamentals: Circuits, Devices & Applications - Thomas L Floyd, David M. Buchla, Gary D. Snyder
- ๐๐ถ Practical Electronics for Inventors - Paul Scherz, Simon Monk
- ๐๐ The Art of Electronics - Paul Horowitz, Winfield Hill
- ๐ Hereโs a Quick Way to Know about Major Electronic Components
- ๐ Encyclopedia of Electronic Components - Charles Platt
- ๐๐ถ Tiny Tapeout > Digital Design Guide
- ๐๐ Digital Design - Morris Mano, Michael Ciletti
- ๐๐ถ๐ Digital Design and Computer Architecture: ARM Edition - Sarah Harris, David Harris
- ๐๐ถ๐ Digital Design and Computer Architecture: RISC-V Edition - Sarah Harris, David Harris
- ๐๐ถ Digital Fundamentals - Thomas L. Floyd
Computer architecture is the backbone of embedded systems, governing the hardware and software interactions. Embedded developers need a grasp of computer architecture to design, develop, and debug embedded software effectively. Expertise in ARM and RISC-V, two prevalent instruction set architectures (ISAs) in embedded systems, is paramount for embedded developers. ARM is the dominant ISA, while RISC-V's open-source nature and flexibility are gaining traction.
- ๐๐ถ๐ Computer Organization and Design: ARM Edition - David A. Patterson, John L. Hennessy
- ๐๐ถ๐ Digital Design and Computer Architecture: ARM Edition - Sarah Harris, David Harris
- ๐๐ถ๐ Digital Design and Computer Architecture: RISC-V Edition - Sarah Harris, David Harris
- ๐ Computer Organization and Embedded Systems - Carl Hamacher, Zvonko Vranesic, Safwat Zaky, Naraig Manjikian
- ๐ Embedded Systems Architecture - Tammy Noergaard
- ๐ Embedded Systems Architecture - Daniele Lacamera
- ๐ The Definitive Guide to ARMยฎ Cortexยฎ-M0 and Cortex-M0+ Processors - Joseph Yiu
- ๐ The Definitive Guide to ARMยฎ Cortexยฎ-M3 and Cortexยฎ-M4 Processors - Joseph Yiu
- ๐ Build an 8-bit computer from scratch
Embedded systems often require specialized test equipment to verify their functionality and performance. This equipment includes multimeters, oscilloscopes, logic analyzers, function generators, power supplies, and other tools that allow engineers to measure signals, inject stimuli, and monitor the behavior of embedded systems.
- ๐๏ธ๐ถ Whatโs an OSCILLOSCOPE?
- ๐๏ธ๐ถ How to Use an Oscilloscope
- ๐๏ธ๐ถ How to use an oscilloscope / What is an oscilloscope / Oscilloscope tutorial
- ๐๏ธ Understanding EMI Debugging with Oscilloscopes
While hardware design and prototyping are primarily the responsibility of electronic hardware design engineers, embedded software engineers can benefit from a basic understanding of these concepts. This knowledge can be instrumental in identifying and resolving hardware-related issues during embedded system debugging. By having a grasp of hardware principles, embedded software engineers can effectively pinpoint the root causes of problems, leading to quicker and more efficient troubleshooting.
Breadboarding is a hands-on approach to prototyping circuits, providing a versatile platform for experimentation and circuit design. Embedded systems often utilize breadboards for their ease of use, flexibility, and cost-effectiveness. By connecting components on a breadboard, embedded systems developers can quickly test and refine their designs without the need for permanent soldering. This allows for rapid iterations and efficient debugging, making breadboarding an invaluable tool for embedded system development.
- ๐๏ธ๐ถ๐ Hardware Design - Philโs Lab (YouTube Playlist)
- ๐๏ธ Electronic Circuit Design - IFE - TU Graz (YouTube Playlist)
- ๐๏ธ Microcontroller-Based Hardware Design With Altium Designer (YouTube Playlist)
- ๐๏ธ๐ Altium Academy YouTube Channel
- ๐๏ธ๐ Robert Feranec YouTube Channel
- ๐๏ธ๐ถ Altium Tutorials for Beginners - Robert Feranec (YouTube Playlist)
- ๐๏ธ๐ถ Create PCBs for Rapid Prototyping - DigiKey (YouTube Playlist)
- ๐๏ธ๐ถ๐ PCB Design for Beginners - Altium Academy (YouTube Playlist)
- ๐๏ธ How to Make a Raspberry Pi Compute Module 4 Carrier Board - DigiKey (YouTube Playlist)
- ๐๏ธ๐ How To Learn PCB Design (My Thoughts, Journey, and Resources) - Phil's Lab #87
- ๐๏ธ๐ถ KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65
- ๐๏ธ๐ถ Intro to KiCad - DigiKey (YouTube Playlist)
- ๐๏ธ๐ PCB Design for EMI & SI - Phil's Lab #64
- ๐๏ธ๐ PCB Design for Advanced Users (YouTube Playlist)
- ๐๏ธ๐ PCB Knowledge [PCB Production Tips By PCBWay] (YouTube Playlist)
- ๐๏ธ๐ 9 Simple Tricks to Improve EMC / EMI on Your Boards - Practical examples (with Min Zhang)
- ๐๏ธ๐ Many EMC Tips to Help You Design Better PCB Boards (with Keith Armstrong)
- ๐ LearnEMC - EMC Resources
- ๐ A Better Way to Build PCBs - Flux AI
- ๐๏ธ๐ถ How To Solder - Electronics with Becky Stern | Digi-Key Electronics
- ๐๏ธ๐ถ HOW TO SOLDER! (Beginner's Guide)
- ๐๏ธ๐ถ Soldering Crash Course: Basic Techniques, Tips and Advice!
- ๐๏ธ How to Solder Through-Hole Components - Another Teaching Moment | DigiKey Electronics
- ๐๏ธ How to Solder QFN MLF Package by Hand (Using a Hot Air Rework Station) | Digi-Key Electronics
- ๐๏ธ From Solderless Breadboard to Soldered Circuit - Electronics with Becky Stern | Digi-Key Electronics
FPGAs (Field-Programmable Gate Arrays) are specialized integrated circuits that can be configured to perform various digital logic functions. They are widely used in embedded systems to achieve high performance, flexibility, and cost-effectiveness. FPGA designers use hardware description languages (HDLs) to create customized circuits that map directly to the FPGA architecture. Since FPGA engineering and verification differ significantly from embedded software development, it stands as a specialized domain within embedded systems.
- ๐ FPGA / ASIC Engineering Roadmap
- ๐ What are FPGAs?
- ๐ FPGA vs. Microcontroller: How to choose the right one for your project
- ๐๏ธ๐ถ Introduction to FPGA (YouTube Playlist)
- ๐๐ถ FPGA Fundamentals - Nandland
- ๐๏ธ๐ Coursera โ FPGA Design for Embedded Systems Specialization
- ๐๐ A Hands-On Guide to Designing Embedded Systems - Adam Taylor, Dan Binnun, Saket Srivastava
Mastering programming fundamentals and software development principles is essential for a successful embedded design. Embedded systems demand efficient code, optimized data management, reusable design patterns, and effective memory management to function effectively in resource-constrained environments. Embedded developers must possess a strong foundation in these core concepts to create reliable and performant embedded systems.
- ๐๐ถ๐ Grokking Algorithms - Aditya Y. Bhargava
- ๐๐ Introduction to Algorithms - Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein
- ๐ Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes
- ๐๏ธ Udemy โ Embedded Systems State Machines & Data Structures
- ๐ Data Structures in C
- ๐๏ธ Data Structures - Full Course Using C and C++
- ๐ Hello Algo
- ๐ Practical Design Patterns: Opaque Pointers and Objects in C
- ๐๐ Design Patterns for Embedded Systems in C - Bruce Powel Douglass
- ๐๐ Making Embedded Systems: Design Patterns for Great Software - Elecia White
- ๐ Programming embedded systems the easy way โ with state machines
- ๐๏ธ๐ State Machines (YouTube Playlist)
- ๐๏ธ๐ Event-Driven Programming (YouTube Playlist)
- ๐๏ธ๐ Udemy - Embedded System Design using UML State Machines
- ๐ โInput-Drivenโ vs. Event-Driven State Machines
- ๐ State Machines for Event-Driven Systems
- ๐๏ธ Understanding the C runtime memory model
- ๐๏ธ Pointers and dynamic memory - stack vs heap
- ๐๏ธ Dynamic Memory Allocation | C Programming Tutorial
- ๐๏ธ Dynamic memory allocation in C - malloc calloc realloc free
- ๐ What is Memory Leak in C/C++? How can we avoid?
- ๐ Understanding Memory Management in Rust
- ๐ Memory Management in Python
Low-level languages like C and assembly provide direct hardware access, enabling efficient code optimization for resource-constrained embedded systems. System-level languages like C++ and Rust offer a higher level of abstraction for complex embedded applications, while Python is often employed for testing embedded systems due to its simplicity.
- ๐๏ธ๐ถ Microchip University - Syntax And Structure of C - Simply C
- ๐๏ธ๐ Microchip University - Advanced C Programming
- ๐๏ธ๐ Microchip University - Advanced Embedded C Tips, Tricks, and Cautions
- ๐๏ธ๐ Microchip University - C Programming: Linked List Data Structures
- ๐๏ธ๐ Microchip University - C Programming Callbacks
- ๐๏ธ๐ถ C Programming for Beginners | Full Course
- ๐๏ธ C Programming Tutorials (YouTube Playlist)
- ๐๐ The C Programming Language - Brian W. Kernighan, Dennis M. Ritchie
- ๐๐ถ C by Example
- ๐ C How to Program - Paul Deitel, Harvey Deitel
- ๐ Effective C - An Introduction to Professional C Programming - Robert C. Seacord
- ๐ Embedded C Coding Standard
- ๐ newlib C Library Documentation
- ๐ The GNU C Library (glibc)
- ๐ From Zero to main(): Bare metal C
- ๐ From Zero to main(): Bootstrapping libc with Newlib
- ๐ Modern C++ in Embedded Development: (Don't Fear) The ++
- ๐ C++ On Embedded Systems
- ๐๏ธ๐ถ C++ Tutorial for Beginners - Full Course
- ๐๏ธ C++ by The Cherno (YouTube Playlist)
- ๐๐ Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming - Christopher Kormanyos
- ๐ Effective Modern C++ - Scott Meyers
- ๐๐ถ Introduction to ARM Assembly Basics
- ๐๏ธ Udemy โ ARM GNU Assembly Programming From Ground Up
- ๐๏ธ Assembly Language Programming with ARM โ Full Tutorial for Beginners
- ๐ How to Use Inline Assembly Language in C Code
- ๐ Python for embedded systems testing
- ๐๐ถ The Python Handbook โ Learn Python for Beginners
- ๐๐ Real Python: Python Tutorials
- ๐๐ถ๐ Python Crash Course - Eric Matthes
- ๐ MicroPython - Python for microcontrollers
- ๐ MicroPython 101 | Arduino Documentation
- ๐ CircuitPython
- ๐ The Pros and Cons of Designing Embedded Systems with MicroPython
- ๐ Programming the ESP32 with MicroPython
- ๐ 5 roadblocks to Rust adoption in embedded systems
- ๐ The Embedded Rust Book
- ๐๏ธ The Future of Programming: Rust (YouTube Playlist)
- ๐ Community Rust support projects for STM32 microcontrollers
- ๐ Rust on ESP Community
- ๐ Rust on STM32: Getting started
- ๐ From Zero to main(): Bare metal Rust
- ๐ Writing an OS in Rust - Philipp Oppermann's blog
- ๐ Kernel Driver with Rust in 2022
- ๐ Rustlings - Small exercises to get you used to reading and writing Rust code!
- ๐ Testing Zig for embedded development
- ๐ Zig Embedded Group
- ๐ MicroZig - Unified abstraction layer and HAL for several microcontrollers
- ๐ Zig Bare Metal Programming on STM32F103 โ Booting up
Microcontrollers are integrated circuits (ICs) that combine a microprocessor, memory, and input/output (I/O) peripherals on a single chip. They are designed for embedded applications, where they are used to control devices in a variety of industries, including automotive, industrial, consumer electronics, and healthcare.
Some popular microcontroller families include AVR, PIC, STM32, MSP430, nRF, and ESP32. Choosing the right microcontroller involves assessing application requirements, processing power, memory needs, and input/output capabilities. Consider ease of use, cost, reliability, availability, and future expansion.
- ๐ What Is a Microcontroller? The Defining Characteristics and Architecture of a Common Component
- ๐ How to Choose the Right Microcontroller for Your Application
- ๐ How to Read a Microcontroller Datasheet: Introduction and First Steps
- ๐๐ถ Make: AVR Programming - Elliot Williams
- ๐๏ธ๐ถ๐ NewbieHack - Microcontroller Tutorial - A Beginners Guide (AVR)
- ๐๏ธ๐ถ Getting Started with STM32 and Nucleo (YouTube Playlist)
- ๐๐ Mastering STM32 - Carmine Noviello
- ๐๐ Developing IoT Projects with ESP32 - Vedat Ozan Oner
- ๐๏ธ๐ถ Intro to Raspberry Pi Pico and RP2040 (YouTube Playlist)
- ๐ Getting started with STM32: STM32 step-by-step
- ๐๏ธ Getting Started With AVR (YouTube Playlist)
- ๐๏ธ Fundamentals of Microcontrollers - Arduino bare-metal breakdown (YouTube Playlist)
- ๐๏ธ Bare Metal Embedded Programming: Theory and Practice Using STM32 (YouTube Playlist)
- ๐ Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC - Warren Gay
- ๐๏ธ Udemy โ Microcontroller Embedded C Programming: Absolute Beginners
- ๐๏ธ Udemy โ Embedded Systems STM32 Low-Layer APIs(LL) Driver Development
- ๐๏ธ Udemy โ Embedded Systems STM32 HAL APIs Driver Development
- ๐ Embedded System Design with ARM Cortex-M Microcontrollers: Applications with C, C++ and MicroPython - Cem รnsalan, Hรผseyin Deniz Gรผrhan, Mehmet Erkin Yรผcel
- ๐๐ Embedded Systems Design using the MSP430FR2355 LaunchPad - Brock J. LaMeres
- ๐๐ Building Embedded Systems: Programmable Hardware - Changyi Gu
- ๐ Awesome Embedded: A curated list of awesome embedded programming
- ๐๏ธ How Do ADCs Work? - The Learning Circuit
- ๐๏ธ Tutorial 13: ADC in STM32F4
- ๐๏ธ Tutorial 14: ADC by Polling
- ๐๏ธ How Do DACs Work? - The Learning Circuit
- ๐๏ธ DAC in STM32 || Sine wave || HAL || CubeIDE
- ๐ Introduction to Microcontroller Timers: Periodic Timers
- ๐ AVR Timer programming
- ๐๏ธ STM32 TIMERS (YouTube Playlist)
- ๐๏ธ What is PWM?
- ๐ Pulse-width Modulation (PWM) Timers in Microcontrollers
- ๐๏ธ STM32 Guide #3: PWM + Timers
- ๐ A Guide to Watchdog Timers for Embedded Systems
- ๐ Watchdog Timers in Microcontrollers
- ๐๏ธ The Watchdog Timer on Arduino
- ๐๏ธ WATCHDOGS in STM32 || IWDG and WWDG || CubeIDE
- ๐๏ธ Polling/Interrupt/DMA differences explained easily
- ๐๏ธ Level Up Your Arduino Code: External Interrupts
- ๐๏ธ Tutorial 10: Peripheral 2 - Nested Vector Interrupt controller (NVIC) in STM32
- ๐๏ธ Tutorial 11: LAB - External Interrupt ( EXTI ) Interfacing in STM32 using STM32CUBEMX
- ๐๏ธ Tutorial 12: Interrupt Priorities in STM32
- ๐๏ธ Introduction to Direct Memory Access (DMA)
- ๐๏ธ STM32 DMA PT 1
- ๐๏ธ STM32 DMA PT 2
- ๐๏ธ Getting Started With STM32 & Nucleo Part 4: Working with ADC and DMA - Maker.io
- ๐๏ธ STM32 UART DMA and IDLE LINE || Receive unknown length DATA
- ๐ Clock Configuration in STM32
- ๐๏ธ STM32: Change clock speed via registers
- ๐๏ธ #1. Intro to STM32F4 Register Based Programming || Clock Setup || LED Blinking || NO HAL
- ๐๏ธ Tutorial 8: MCU Clocks configuration in STM32 using STM32CUBEMX
- ๐๏ธ Clock sources and PLL in ARM Cortex M4
- ๐๏ธ SLEEP Mode in STM32F103 || CubeIDE || Low Power Mode || Current Consumption
- ๐๏ธ STOP MODE in STM32 || CubeIDE || Low Power Mode
- ๐ Basics to Developing Bootloader for Arduino
- ๐ From Zero to main(): How to Write a Bootloader from Scratch
- ๐๏ธ How to Create a Super Simple Bootloader
- ๐๏ธ Blinky To Bootloader: Bare Metal Programming Series (YouTube Playlist)
- ๐ Simple AVR Bootloader tutorial
- ๐๏ธ๐ Udemy โ STM32Fx Microcontroller Custom Bootloader Development
- ๐๐ Device Firmware Update Cookbook
Embedded systems often communicate with other devices or external systems via interfaces, protocols. Interfaces provide the physical connections, protocols define data exchange rules. The choice depends on application-specific needs, including bandwidth, distance, security, and power consumption.
- ๐๏ธ๐ถ Understanding Serial Protocols
- ๐๐ถ Understanding and Selecting in 2024: I2C, SPI, UART Explained
- ๐๏ธ PROTOCOLS: UART - I2C - SPI - Serial communications #001
- ๐๏ธ๐ถ Understanding UART
- ๐๏ธ how does UART work??? (explained clearly)
- ๐๏ธ Basics of UART Communication | UART Frame Structure | RS 232 Basics | Part1
- ๐๏ธ Understanding UART Communication Programming | UART Peripherals | Part 2
- ๐๏ธ The RS-232 protocol
- ๐๏ธ๐ถ Understanding SPI
- ๐๏ธ SPI: The serial peripheral interface
- ๐๏ธ Getting Started with STM32 and Nucleo Part 5: How to Use SPI | Digi-Key Electronics
- ๐ SDIO Protocol
- ๐ Interface SD CARD with SDIO in STM32
- ๐ SDIO Card Slave Driver - ESP32 - Technical Documents
- ๐๏ธ What is I3Cยฎ?
- ๐ MIPI I3C & MIPI I3C Basic
- ๐ I3C Protocol: Understanding and Debug
- ๐๏ธ MIPI I3C Basic - The next generation sensor interface enabling low-power IoT applications
- ๐ Introduction to the I2S Interface
- ๐๏ธ Building a Digital Music Player with I2S?! What is I2S! EB#45
- ๐ UM11732 - I2S bus specification
- ๐ MIPI Camera Serial Interface 2
- ๐๏ธ Tutorial: MIPI CSI-2
- ๐ AN13573 - i.MX 8/RT MIPI DSI/CSI-2
- ๐๏ธ TI Precision Labs - Video Interface: What are HDMI & Dual-Mode DisplayPort?
- ๐๏ธ HDMI 2.1 & TMDS Crash Course - ENMU EET 457 - Presentation
- ๐๏ธ๐ถ๐ Microchip University - First Steps into Bluetooth Low Energy (BLE)
- ๐ Bluetooth Basics
- ๐ Bluetooth Low Energy: A Primer
- ๐ A Practical Guide to BLE Throughput
- ๐๏ธ SparkFun According to Pete #49 - How Bluetooth Works
- ๐ Bluetooth Low Energy Fundamentals - Nordic Semiconductor
- ๐ Bluetooth Overview - ESP-IDF Programming Guide
- ๐๏ธ 802.11 How WiFi Works - Wireless Networks | Computer Networks Ep. 7.3 | Kurose & Ross
- ๐๏ธ 802.11 Frame Analysis
- ๐ Wi-Fi Driver - ESP-IDF Programming Guide
- ๐ ESP32 Set an Access Point (AP) using ESP-IDF
- ๐ ESP32 ESP-IDF Connect with WiFi โ Station Mode Example
- ๐ The Arduino Guide to LoRaยฎ and LoRaWANยฎ
- ๐๐ The Things Fundamentals on LoRaWAN!
- ๐ What are LoRaยฎ and LoRaWANยฎ?
- ๐๏ธ #112 LoRa / LoRaWAN De-Mystified / Tutorial
- ๐ ESP32 with LoRa using Arduino IDE โ Getting Started
- ๐๏ธ What is ZIGBEE And How It Works?
- ๐๏ธ How to take advantage of Zigbee and Bluetooth LE 5.2 on STM32WB wireless MCUs - Webinar Replay
- ๐ OpenThread - An open-source implementation of Threadยฎ
- ๐๏ธ What is Thread? Low-power IoT Networking for Smart Home Devices | Digi-Key Electronics
- ๐ OpenThread - ESP-IDF Programming Guide
- ๐๏ธ What is Modbus and How does it Work?
- ๐๏ธ How does Modbus Communication Protocol Work?
- ๐๏ธ MODBUS STM32 (YouTube Playlist)
- ๐๏ธ #144 Internet Protocols: CoAP vs MQTT, Network Sniffing, and preparation for IKEA Tradfri Hacking
- ๐๏ธ MQTT vs. CoAP | Comparison of IoT Protocols
- ๐๏ธ Simple ESP32 IoT Sensor Node Tutorial: WiFi Enabled MQTT Sensor Data Node
- ๐ Cellular IoT Fundamentals - Nordic Semiconductor
- ๐๏ธ๐ถ Microchip University - Ethernet Fundamentals
- ๐ How the Ethernet Protocol Works โ A Complete Guide
- ๐๏ธ What is an Ethernet PHY?
- ๐๏ธ The Data Link Layer, MAC Addressing, and the Ethernet Frame
- ๐๏ธ Microchip University - Serializer/Deserializer (SerDes) Basics for Your Next Microchip Ethernet PHY Design
- ๐๏ธ Microchip University - Ethernet Switch Fundamentals
- ๐๏ธ๐ถ Microchip University - Introduction to USB 2.0
- ๐๏ธ๐ถ Microchip University - USB 3 Fundamentals
- ๐๏ธ Training - USB 101 - Introduction to USB
- ๐ USB 101: An Introduction to Universal Serial Bus 2.0
- ๐๏ธ How does a USB keyboard work?
- ๐๏ธ How does USB device discovery work?
- ๐๏ธ MOOC - STM32 USB training (YouTube Playlist)
- ๐๏ธ Microchip University - USB2 Hub Fundamentals
- ๐๏ธ What is PCIe?
- ๐๏ธ PCIe QuickLearn (YouTube Playlist)
- ๐๏ธ PCIe Protocol (YouTube Playlist)
- ๐๏ธ๐ถ Microchip University - CAN and CAN FD Protocol and Physical Layer Basics
- ๐๐ถ CAN bus in 2024: Operation, Advantages and Recent Developments
- ๐๏ธ๐ถ CAN Bus: Serial Communication - How It Works?
- ๐๏ธ๐ถ CAN Bus: A Beginners Guide Part 1
- ๐๏ธ๐ถ CAN Bus: A Beginners Guide Part 2
- ๐๏ธ๐ Microchip University - Designing and Implementing a CAN FD Network
- ๐๏ธ Improving my electric longboard with a CAN Bus! What can the CAN Bus do? EB#44
- ๐๏ธ CAN Bus, OBD2 & J1939 Explained (YouTube Playlist)
- ๐๏ธ J1939 Explained - A Simple Intro [v2.0 | 2021]
- ๐๏ธ Unified Diagnostic Services (UDS) Explained - A Simple Intro [2022]
- ๐๏ธ Networking Fundamentals - Practical Networking (YouTube Playlist)
- ๐๏ธ TCP vs UDP - Explaining Facts and Debunking Myths - TCP Masterclass
- ๐๏ธ TCP - 12 simple ideas to explain the Transmission Control Protocol
- ๐๏ธ UDP doesn't suck! It's the BEST L4 protocol for THESE types of applications...
- ๐๏ธ Networking tutorial - Ben Eater (YouTube Playlist)
- ๐๐ Hands-On Network Programming with C - Lewis Van Winkle
- ๐๐ Network Algorithmics - George Varghese, Jun Xu
- ๐ tcpdump & libpcap libraries
- ๐ lwIP - A Lightweight TCP/IP stack
- ๐ lwIP (ESP-IDF)
- ๐ Developing applications on STM32Cube with LwIP TCP/IP stack
Embedded systems employ a combination of volatile (SRAM, DRAM, PSRAM) and non-volatile (flash, EEPROM, FRAM) memory to store and access data, based on factors like performance, cost, power consumption, and durability.
- ๐๏ธ QSPI in STM32 || Write and Read || N25Q
- ๐๏ธ QSPI in STM32 || Boot from EXT Memory || XIP || N25Q
- ๐๏ธ Flash Memory in Embedded Linux Systems
- ๐ SRAM vs DRAM: Difference Between SRAM & DRAM Explained
- ๐๏ธ What is SRAM?
- ๐๏ธ SDRAM Hardware & Firmware Tutorial (STM32) - Phil's Lab #80
- ๐๏ธ SDRAM in STM32 || MT48LC4
A file system is a way of organizing data on a storage device, such as a hard drive, flash drive, or solid-state drive. It provides a way to store, access, and manage files, which are collections of data that can be accessed individually. File systems in embedded systems are typically lightweight and optimized for efficiency, considering the limited resources and specific requirements of embedded devices. They often employ simpler file structures and data structures compared to desktop or server file systems.
- ๐ Flash filesystems
- ๐ Block filesystems
- ๐ Understanding the UBI File System in Embedded Devices
- ๐ UBI File System
- ๐ JFFS : The Journalling Flash File System
- ๐ Preventing Filesystem Corruption In Embedded Linux
- ๐ LittleFS - A high-integrity embedded file system
- ๐ SPIFS - Wear-leveled SPI flash file system for embedded devices
- ๐ EEPROM File System (EEFS)
Embedded system development often involves simulating or emulating hardware environments to test and debug software before deploying it on actual hardware. Simulation tools create virtual models of hardware systems, while emulation tools replicate the actual hardware behavior using real hardware components. These tools offer several advantages, including reducing development time, minimizing hardware costs, and enhancing software reliability.
- ๐ QEMUโs documentation
- ๐ Running AVR code in QEMU - A quick-start guide to accelerate AVR firmware development
- ๐ QEMU Simulation - Blinky - STM32F767ZI Full Stack
- ๐ Emulating a Raspberry Pi in QEMU
- ๐ Renode - GitHub Repo
- ๐ Renode - Documentation
- ๐ Renode - Official Tutorials
- ๐ Cortex-M MCU Emulation with Renode
- ๐ A simple guide to get started on renode
- ๐๏ธ Using CI-based workflow with Renode in bringing TensorFlow Lite to Zephyr
Sensors and actuators are the eyes and hands of embedded systems. They are responsible for gathering information about the environment and taking actions based on that information. Sensors convert physical phenomena, such as temperature, light, or sound, into electrical signals that can be processed by the embedded system. Actuators, on the other hand, convert electrical signals into physical actions, such as controlling the speed of a motor or opening and closing a valve.
- ๐ Calibrating Sensors
- ๐ DHT11 vs DHT22 vs LM35 vs DS18B20 vs BME280 vs BMP180
- ๐๏ธ Getting Started With STM32 and Nucleo Part 2: How to Use I2C to Read Temperature Sensor TMP102
- ๐๏ธ GPS Module and STM32 || NEO 6M || Get coordinates, Date, Time, Speed, etc.
- ๐๏ธ Interface MPU6050/GY-521 with STM32 || LCD 20x4 || CubeMx || HAL || SW4STM
- ๐ Arduino with PIR Motion Sensor
- ๐ Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino
- ๐๏ธ Electronic Basics #15: Temperature Measurement (Part 1) || NTC, PT100, Wheatstone Bridge
- ๐ Adafruit Motor Selection Guide
- ๐๏ธ DC Motor Speed Controller PWM With Potentiometer Using STM32
- ๐ All About Stepper Motors
- ๐ Using Servos With CircuitPython and Arduino
- ๐๏ธ Electronic Basics #25: Servos and how to use them
- ๐๏ธ Electronic Basics #24: Stepper Motors and how to use them
- ๐๏ธ Electronic Basics #18: DC & Brushless DC Motor + ESC
Digital signal processing (DSP) is a branch of engineering that deals with the processing of digital signals. It is used in a wide variety of applications, including embedded systems, communication systems, and multimedia systems. DSP algorithms are often implemented in hardware using application-specific integrated circuits (ASICs) or field-programmable gate arrays (FPGAs).
- ๐๐ The Scientist and Engineer's Guide to Digital Signal Processing - Steven W. Smith
- ๐๏ธ FIR Filter Design and Software Implementation - Phil's Lab #17
- ๐๏ธ IIR Filters - Theory and Implementation (STM32) - Phil's Lab #32
- ๐๏ธ Digital Signal Processing (ECSE-4530) Lectures, Fall 2014 (YouTube Playlist)
- ๐๏ธ Udemy โ Digital Signal Processing (DSP) From Ground Up in C
- ๐ Real-Time Digital Signal Processing: Fundamentals, Implementations and Applications - Sen M. Kuo, Bob H. Lee, Wenshun Tian
- ๐ Real-Time Digital Signal Processing from MATLAB to C with the TMS320C6x DSPs - Thad B. Welch, Cameron H.G. Wright, Michael G. Morrow
- ๐ Schaum's Outline of Signals and Systems - Hwei P. Hsu
- ๐๐ Digital Signal Processing - John G. Proakis, Dimitris K. Manolakis
- ๐๏ธ Discrete Fourier Transform - Simple Step by Step
- ๐๏ธ The Fast Fourier Transform (FFT): Most Ingenious Algorithm Ever?
- ๐๏ธ The FFT Algorithm - Simple Step by Step
- ๐๏ธ STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phil's Lab #111
- ๐๏ธ Understanding Control Systems (YouTube Playlist)
- ๐๏ธ Control Systems - CircuitBread (YouTube Playlist)
- ๐๏ธ๐ Brian Douglas' Control Systems Lectures (YouTube Channel)
- ๐๐ Control Systems Engineering - Norman S. Nise
- ๐๐ Modern Control Systems - Richard C. Dorf, Robert H. Bishop
- ๐๏ธ๐ถ What is a PID Controller? | DigiKey
- ๐๏ธ๐ถ How to Tune a PID Controller for an Inverted Pendulum | DigiKey
- ๐๏ธ PID Controller Explained
- ๐๏ธ Understanding PID Control (YouTube Playlist)
- ๐๏ธ PID Controller Implementation in Software - Phil's Lab #6
- ๐๏ธ MATLAB Tutorials: Getting Started with MATLAB (YouTube Playlist)
- ๐๏ธ Getting Started with Simulink (YouTube Playlist)
- ๐๏ธ Udemy โ MATLAB/SIMULINK Bible|Go From Zero to Hero!
Embedded systems can be programmed with either an operating system (OS) or directly on the hardware, known as bare-metal programming. Each approach has its own advantages and disadvantages. Embedded operating systems provide a layer of abstraction between the hardware and the application code, offering benefits like resource management, task scheduling, error handling, and communication capabilities. However, they add overhead and may not be suitable for memory-constrained applications.
- ๐๐ถ Putting the โYouโ in CPU
- ๐๐ถ The little book about OS development
- ๐๐ถ Operating Systems: From 0 to 1
- ๐๐ Operating Systems: Three Easy Pieces - Remzi H Arpaci-Dusseau, Andrea C Arpaci-Dusseau
- ๐๐ Modern Operating Systems - Andrew S. Tanenbaum, Herbert Bos
- ๐ Writing an OS in Rust - Philipp Oppermann's blog
- ๐ Operating System development tutorials in Rust on the Raspberry Pi
Real-time operating systems (RTOS) are specialized operating systems designed to meet strict timing deadlines. They are used in embedded systems where timing is critical, such as avionics, robotics, and medical devices. RTOSs provide a deterministic environment in which tasks can be executed with predictable timing. This ensures that critical tasks are always executed on time, even in the presence of interrupts and other disruptions.
- ๐ Bare-metal and RTOS Based Embedded Systems
- ๐ RTOS vs. Bare Metal: Navigating Performance, Complexity, and Efficiency
- ๐ The Pros and Cons of RTOS vs Bare Metal: Which Will You Choose?
- ๐ FreeRTOS vs Linux for Embedded Systems
- ๐ Real-Time Systems Concepts
- ๐ RTOS Fundamentals
- ๐ A Simple Scheduler via an Interrupt-driven Actor Model
- ๐ ARM Cortex-M RTOS Context Switching
- ๐๏ธ RTOS (YouTube Playlist)
- ๐๏ธ Beyond the RTOS (YouTube Playlist)
- ๐ FreeRTOS - Market leading RTOS
- ๐๏ธ๐ถ Introduction to RTOS (YouTube Playlist)
- ๐๐ Mastering the FreeRTOS Real Time Kernel - a Hands On Tutorial Guide
- ๐๏ธ๐ถ Microchip University - FreeRTOS Simplified: A Beginner's Guide to Develop and Debug FreeRTOS Applications
- ๐๏ธ Getting Started With STM32 and Nucleo Part 3: FreeRTOS - How To Run Multiple Threads w/ CMSIS-RTOS
- ๐ Hands-On RTOS with Microcontrollers: Building real-time embedded systems using FreeRTOS, STM32 MCUs, and SEGGER debug tools - Brian Amos
- ๐ Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC - Warren Gay
- ๐ SafeRTOS - Safety Critical Real-Time OS
- ๐ Zephyrยฎ Project
- ๐ Zephyr: Tutorial for Beginners
- ๐ Why We Moved from FreeRTOS to Zephyr RTOS
- ๐ nRF Connect SDK
- ๐๏ธ ESP32 on Zephyr OS (YouTube Playlist)
- ๐ Micriฮผm OS
- ๐ ยตC/OS-III Documentation
- ๐ ยตC/OS-III Books
- ๐๐ ยตC/OS-II Documentation (Previously published as a book titled "MicroC/OS-II: The Real-Time Kernel")
- ๐ NuttX - The Apache Software Foundation
- ๐ NuttX Documentation
- ๐๏ธ Getting Started to NuttX (YouTube Playlist)
- ๐ RT-Thread | An Open Source Embedded Real-time Operating System
- ๐ RT-Thread document center
- ๐๏ธ RT-Thread Beginners Guide (YouTube Playlist)
- ๐ VxWorks | Industry Leading RTOS for Embedded Systems
- ๐ VxWorks Documentation
- ๐๏ธ VxWORKS-RTOS - Kumar M (YouTube Playlist)
- ๐ Azure RTOS - Making embedded IoT development and connectivity easy
- ๐ Microsoft Azure RTOS documentation
- ๐ Azure RTOS ThreadX
Embedded Linux is a specialized version of the Linux operating system tailored for embedded systems. It's designed to operate on devices with resource constraints, such as limited memory, processing power, and power consumption.
- ๐ What Is Embedded Linux?
- ๐ FreeRTOS vs Linux for Embedded Systems
- ๐๏ธ๐ถ Introduction to Embedded Linux (YouTube Playlist)
- ๐ Mastering Embedded Linux Series - George Hilliard's blog
- ๐๐ Mastering Embedded Linux Programming - Chris Simmonds
- ๐๏ธ๐ Coursera - Advanced Embedded Linux Development Specialization
- ๐ Linux From Scratch - step-by-step instructions for building your own custom Linux system
- ๐ Automotive Grade Linux (AGL)
- ๐ Real Time Linux and
PREEMPT_RT
Patch - ๐ Android Open Source Project
- ๐ Android Automotive
- ๐๐ถ Linux Kernel Development - Robert Love
- ๐๐ The Linux Programming Interface - Michael Kerrisk
- ๐ How Linux Works - Brian Ward
- ๐๐ถ Writing a Simple Linux Kernel Module
- ๐๐ Linux Device Drivers - Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman
- ๐ The Linux Kernel Module Programming Guide
- ๐ Mastering Linux Device Driver Development - John Madieu
- ๐ Kernel Driver with Rust in 2022
- ๐ Buildroot Documentation
- ๐๏ธ Introduction to Embedded Linux Part 1 - Buildroot | Digi-Key Electronics
- ๐ Building Tiny Raspberry Pi Linux Images With Buildroot
- ๐ Yocto Project Quick Build
- ๐๐ Yocto Project Documentation
- ๐๏ธ Introduction to Embedded Linux Part 2 - Yocto Project | Digi-Key Electronics
- ๐ Build Linux Image for Raspberry Pi board using Yocto Project
- ๐๏ธ Yocto Project Tutorial Series (Basic to Advance) (YouTube Playlist)
- ๐๏ธ Udemy โ Embedded Linux using Yocto
- ๐๐ Embedded Linux Systems with the Yocto Project - Rudolf J.Streif
- ๐ Embedded Linux Development using Yocto Project Cookbook - Alex Gonzalez
- ๐ Bootlin Embedded Linux, Kernel, drivers, Yocto, Buildroot and Graphics Training
- ๐ Threading/Concurrency vs Parallelism
- ๐ Multi-threading and Parallel Programming
- ๐ Multitasking vs Multithreading vs Multiprocessing
- ๐๐ Programming with POSIX Threads - David Butenhof
- ๐ C++ Concurrency in Action - Anthony Williams
- ๐ Parallel Programming and Performance Optimization With OpenMP
- ๐๏ธ Introduction to OpenMP - Tim Mattson (Intel) (YouTube Playlist)
- ๐ OpenCL Tutorials
- ๐ CUDA C++ Programming Guide
- ๐ Inter Process Communication (IPC)
- ๐ What Is Inter-Process Communication In Linux?
- ๐๏ธ Udemy โ Linux Inter Process Communication (IPC) from Scratch in C
- ๐๏ธ Udemy โ Multi-Threading and IPC with Qt 5 C++
- ๐ D-Bus Tutorial
Debugging embedded systems involves identifying and resolving software defects and hardware malfunctions. Various techniques are employed to pinpoint the root causes of issues, such as static code analysis, dynamic analysis, simulation and emulation, in-circuit debugging, and hardware debugging.
JTAG and SWD (Serial Wire Debug) are two popular interface protocols used for debugging and programming embedded systems. JTAG is a more general-purpose protocol that can be used to debug and program a wider range of devices, while SWD is a simpler and more compact protocol that is specifically designed for ARM microcontrollers.
- ๐ A Deep Dive into ARM Cortex-M Debug Interfaces
- ๐ Guide: Connecting your debugger
- ๐๏ธ STM32 + SWD + ST-Link + CubeIDE | Debugging on Custom Hardware Tutorial - Phil's Lab #4
- ๐ Diving into JTAG protocol. Part 1 โ Overview
- ๐ Diving into JTAG protocol. Part 2 โ Debugging
- ๐ Diving into JTAG protocol. Part 3 โ Boundary Scan
GDB (GNU Debugger) is a powerful and versatile debugger for source-level and machine-level debugging. It supports a wide range of programming languages, including C, C++, Objective-C, Java, and Rust. GDB is a free and open-source software tool that is widely used by developers and researchers.
- ๐ Advanced GDB Usage
- ๐ How do breakpoints even work?
- ๐ GNU GDB Debugger Command Cheat Sheet
- ๐ gdbgui - A browser-based frontend to gdb (gnu debugger)
- ๐๏ธ everyone needs to stop using print debugging (do THIS instead)
- ๐๏ธ GDB is REALLY easy! Find Bugs in Your Code with Only A Few Commands
- ๐ Introduction to ARM Semihosting
OpenOCD (Open On-Chip Debugger) is an open-source software tool that provides a powerful and versatile platform for debugging and programming embedded systems. It serves as an interface between a hardware debug adapter (HDA) and a debugger, such as GNU Debugger (GDB), enabling developers to interact with the target microcontroller or microprocessor. OpenOCD supports a wide range of hardware platforms and provides a comprehensive set of features for hardware debugging, programming, and boundary-scan testing.
- ๐ OpenOCD - GitHub repository
- ๐๏ธ This Is 100% How You Should Be Debugging | How to Use OpenOCD to Debug Embedded Software with GDB
Build systems automate the process of compiling and linking source code into executable programs. They are essential tools for software development, as they can help to improve the efficiency and consistency of the build process. Popular build systems include Make, and CMake.
GCC (the GNU Compiler Collection) is a free and open-source compiler system that can compile programs for many different programming languages, including C, C++, Objective-C, Fortran, Ada, and Go. GCC is a popular choice for embedded systems development due to its open source nature, maturity, stability, portability, performance, and large community. On the other hand proprietary compilers like Keil and IAR offer toolchain support, target-specific optimizations, and customer support, which may be preferred for specific projects.
- ๐ GCC and Make - Compiling, Linking and Building C/C++ Applications
- ๐ The Best and Worst GCC Compiler Flags For Embedded
- ๐ From Zero to main(): Demystifying Firmware Linker Scripts
- ๐ Bare Metal - From zero to blink
- ๐ Keil MDK & ยตVision
- ๐ IAR Embedded Workbench
CMake and Make are both tools for building software applications. CMake is a meta-build system that generates Makefiles, which are then used by Make to build the software. CMake is more versatile and cross-platform than Make, and it is becoming the more popular choice for modern software development.
- ๐ A Shallow Dive into GNU Make
- ๐๏ธ Building STM32 projects from scratch with cross platform tools like Make, CMake and arm-gcc compiler toolchain (YouTube Playlist)
- ๐ CMake Tutorial
- ๐๏ธ How to CMake Good (YouTube Playlist)
- ๐๐ถ The most thoroughly commented embedded CMakeLists file
Bash scripting serves as a powerful tool in embedded systems development, enabling developers to automate repetitive tasks, handle complex configurations, and manage the embedded system's environment effectively. Bash scripting is a Linux-specific tool that is not natively integrated into Windows. However, it can be accessed via the Windows Subsystem for Linux (WSL).
Docker containers provide a consistent and isolated environment for building software applications. This can help to improve the reproducibility of builds and reduce the risk of errors. Docker also makes it easier to share build environments, which can save time and effort for developers.
- ๐ Docker Docs
- ๐ Docker Cheat Sheet
- ๐๐ถ Docker for Dummies
- ๐๏ธ Introduction to Docker for the Embedded Developer
- ๐๏ธ Intro to CI/CD Part 1: Getting Started with Docker | Digi-Key Electronics
- ๐ A Modern C Development Environment
Software Development Life Cycle (SDLC) models provide a structured approach to software development, guiding the process from planning to deployment and maintenance. These models provide a framework for organizing, managing, and executing software projects, ensuring a consistent and efficient development process.
- ๐ What is the software development life cycle?
- ๐ Embedded Product Development Life Cycle: Four Main Steps
- ๐ Does agile work with embedded software?
- ๐ Scrum for embedded software: Good โ but for reasons other than what your manager thinks
- ๐ What Is Scrum: A Guide to the Most Popular Agile Framework
- ๐ An agile guide to scrum meetings
- ๐ What is scaled agile framework? (SAFe)
- ๐ Jira - Issue & Project Tracking Software
- ๐ What is the V model for software development
- ๐ V Model In Software Engineering: Ultimate Guideline
Version control systems are essential tools for managing changes to code and other digital assets. They track changes over time, allowing developers to revert to previous versions, collaborate effectively, and identify potential conflicts. Popular version control systems include Git, Mercurial, and Subversion.
- ๐๏ธ๐ถ Git Tutorial for Beginners: Learn Git in 1 Hour
- ๐๏ธ Git for Professionals Tutorial - Tools & Concepts for Mastering Version Control with Git
Testing is an integral part of the embedded systems development process, ensuring the quality, reliability, and safety of these systems. It involves a range of techniques, from unit testing to system testing, to validate the functionality and performance of the software and hardware components.
- ๐ Embedded Testing
- ๐ What is Embedded Testing in Software Testing?
- ๐ Verification vs Validation in Embedded Software
- ๐๐ Test Driven Development for Embedded C - James Grenning
- ๐ Testing: Unit VS Integration VS Regression VS Acceptance
- ๐ Firmware Testing with Renode and GitHub Actions
- ๐ Balancing Test Coverage vs. Overhead
- ๐ Embedded C/C++ Unit Testing Basics
- ๐ Embedded C/C++ Unit Testing with Mocks
- ๐ Unit Testing for C (especially Embedded Software)
- ๐ GoogleTest - Google Testing and Mocking Framework
- ๐ Catch2 - A modern, C++-native, test framework for unit-tests
- ๐ pytest-embedded
- ๐ Introduction to testing ESP32 code with Pytest
- ๐ Unit Testing Principles, Practices, and Patterns - Vladimir Khorikov
- ๐ Hardware CI Arena
- ๐ Exclave: Hardware Testing in Mass Production, Made Easier
- ๐ Regression Testing of Embedded Systems
Continuous Integration (CI) and Continuous Delivery (CD) are software development practices that automate the process of building, testing, and deploying software. CI/CD pipelines are designed to ensure that software changes are deployed quickly and reliably.
- ๐๏ธ Intro to CI/CD Part 1: Getting Started with Docker | Digi-Key Electronics
- ๐๏ธ Intro to CI/CD Part 2: Getting Started with GitHub Actions | Digi-Key Electronics
- ๐ How to Build a Continuous Integration and Delivery Process for Embedded Software
- ๐ A guide to continuous delivery in embedded development
- ๐๏ธ Continuous Delivery for Embedded Systems โข Mike Long โข GOTO 2015
- ๐ Continuous Integration & Continuous Delivery for Embedded Systems (Whitepaper)
- ๐ What is DevOps in an Embedded Device Company?
- ๐๏ธ๐ CI/CD Tutorials (YouTube Playlist)
Software-in-the-loop (SIL) and hardware-in-the-loop (HIL) testing are two crucial techniques used in embedded systems development to validate the functionality and performance of software before it is deployed on real hardware. These testing methods simulate the real-world environment of the embedded system using software models or hardware emulators.
- ๐ Hardware-in-Loop and Software-in-Loop Testing
- ๐๏ธ Embedded CI/CD with HIL Testing (YouTube Playlist)
Embedded systems development is subject to a variety of standards and certifications, which serve as guidelines and benchmarks for ensuring the quality, safety, and reliability of these systems. These standards are often developed and maintained by industry bodies, such as the International Electrotechnical Commission (IEC) and the Society of Automotive Engineers (SAE).
- ๐ Intro to Embedded Development: Styles and Standards
- ๐ Safety Standards and Certifications for Embedded Systems Development
- ๐๏ธ Microchip University - An Introduction To The ISA/IEC 62443 Standard
- ๐๏ธ Exploring EMC Basics & Standards
- ๐๏ธ๐ถ Microchip University - Introduction to Functional Safety
- ๐๏ธ Udemy โ Functional Safety According to ISO 26262 - Crash Course
- ๐ A Guide to MISRA C Coding Standards - MISRA C and MISRA C++
- ๐ A Firmware Development Standard by Jack Ganssle
- ๐ Safety-critical Embedded systems: How to prepare for software development
- ๐ DO-178C - Software Considerations in Airborne Systems and Equipment Certification
Security in embedded systems is particularly challenging due to resource constraints and the inherent nature of these devices. Embedded systems typically operate on small, low-power microcontrollers with limited memory and processing power. This makes it difficult to implement the same level of security as traditional computing platforms. Additionally, embedded systems often have limited access to updates and patches, making them more vulnerable to known vulnerabilities.
Learning hardware hacking helps security professionals understand how embedded systems can be compromised and develop effective defenses against cyberattacks. This knowledge enhances the resilience of embedded devices to attack.
- ๐๐ Practical Hardware Pentesting - Jean-Georges Valle
- ๐๏ธ Hardware Hacking Tutorial (YouTube Playlist)
- ๐๐ The Hardware Hacking Handbook: Breaking Embedded Security with Hardware Attacks - Jasper van Woudenberg, Colin O'Flynn
- ๐๏ธ๐ถ Microchip University - Cryptography Primer
- ๐๏ธ Hashing, Hashing Algorithms, and Collisions - Cryptography - Practical TLS
- ๐๏ธ Data Integrity - How Hashing is used to ensure data isn't modified - HMAC - Cryptography
- ๐๏ธ Encryption - Symmetric Encryption vs Asymmetric Encryption - Cryptography - Practical TLS
- ๐๏ธ Public and Private Keys - Signatures & Key Exchanges - Cryptography - Practical TLS
- ๐๏ธ Understanding AES Encryption Mechanics: BMPS
- ๐๐ Understanding Cryptography: A Textbook for Students and Practitioners - Christof Paar, Jan Pelzl
- ๐๐ Handbook of Applied Cryptography - Alfred J. Menezes, Paul C. van Oorschot, Scott A. Vanstone
- ๐ Serious Cryptography: A Practical Introduction to Modern Encryption - Jean-Philippe Aumasson
- ๐๏ธ MOOC - Security Part2: Basics of cryptography (YouTube Playlist)
- ๐๏ธ MOOC - Security Part3 : STM32 security features (YouTube Playlist)
- ๐ Introduction to encryption for embedded Linux developers
- ๐ A hands-on approach to symmetric-key encryption
- ๐ Asymmetric-Key Encryption and Digital Signatures in Practice
- ๐ AVR231: AES Bootloader
- ๐๏ธ Blinky To Bootloader: Bare Metal Programming Series (YouTube Playlist)
- ๐๏ธ MOOC - Security Part4 : STM32 security in practice (YouTube Playlist)
- ๐๏ธ MOOC - Security Part5 : How to define your security needs (YouTube Playlist)
- ๐๏ธ MOOC - Security Part6: STM32 security ecosystem, from theory to practice (YouTube Playlist)
- ๐๏ธ TPM (Trusted Platform Module) - Computerphile
- ๐๏ธ Securing Embedded Linux Systems with TPM 2.0 - Philip Tricca, Intel
- ๐ TPM: Basic applications to embedded devices
- ๐ OTA for Embedded Linux Devices: A practical introduction
- ๐ Introduction to Embedded Linux Security - part 1
- ๐ Introduction to Embedded Linux Security - part 2
Graphical User Interfaces (GUIs) have become an indispensable part of modern embedded systems, offering a user-friendly and intuitive way to interact with devices. Designing effective GUIs for embedded systems requires careful consideration of factors such as resource constraints, user experience, and real-time performance.
- ๐ U8glib library for monochrome displays, version 2
- ๐ LVGL
- ๐ TouchGFX
- ๐๏ธ Introduction to Qt / QML (YouTube Playlist)
The Internet of Things (IoT) refers to a network of interconnected devices, which gather and exchange data with other devices or with the cloud. Embedded systems are typically the "brains" of IoT devices, managing data collection, processing, and communication tasks. Embedded systems are designed to operate with limited power and resources, making them well-suited for IoT applications.
- ๐ Saving bandwidth with delta firmware updates
- ๐ Delta Over-The-Air Device Firmware Update
- ๐ FreeRTOS Delta Over-the-Air Updates
- ๐ ESP Delta OTA
Edge AI refers to the ability of devices to perform machine learning tasks on their own, without the need to send data to a central server. This can be done by using small, specialized AI models that are embedded directly into the device. TinyML is a subset of Edge AI that focuses on developing these models for devices with very limited computing power, such as microcontrollers and sensors.
- ๐๏ธ Udemy โ Getting Started with Embedded AI | Edge AI
- ๐๏ธ Intro to Edge AI: Machine Learning + IoT โ Maker.io Tutorial | Digi-Key Electronics
- ๐ A beginner's guide to artificial intelligence and machine learning
- ๐๐ถ Introduction to Machine Learning for Coders!
- ๐ Machine Learning Crash Course with TensorFlow APIs - Google
- ๐๏ธ Getting Started with TensorFlow and Keras โ Maker.io | Digi-Key Electronics
- ๐๏ธ Intro to TensorFlow Lite Part 1: Wake Word Feature Extraction โ Maker.io | Digi-Key Electronics
- ๐๏ธ Intro to TensorFlow Lite Part 2: Speech Recognition Model Training โ Maker.io | Digi-Key Electronics
- ๐๏ธ๐ถ Intro to TinyML Part 1: Training a Neural Network for Arduino in TensorFlow | Digi-Key Electronics
- ๐๏ธ๐ถ Intro to TinyML Part 2: Deploying a TensorFlow Lite Model to Arduino | Digi-Key Electronics
- ๐๏ธ Coursera - Introduction to Embedded Machine Learning
- ๐๏ธ TinyML: Getting Started with TensorFlow Lite for Microcontrollers | Digi-Key Electronics
- ๐๏ธ TinyML: Getting Started with STM32 X-CUBE-AI | Digi-Key Electronics
- ๐๏ธ edX - Fundamentals of TinyML
- ๐๏ธ edX - Applications of TinyML
- ๐๏ธ edX - Deploying TinyML
- ๐๏ธ edX - MLOps for Scaling TinyML
- ๐ TinyML: Machine Learning with TensorFlow Lite on Arduino and Ultra-Low-Power Microcontrollers - Pete Warden, Daniel Situnayake
AUTOSAR, or AUTomotive Open System ARchitecture, is a global industry standard for automotive software development. It is a software architecture that provides a standardized platform for developing and integrating software components in vehicle electronic control units (ECUs). This allows different ECUs from different manufacturers to communicate and work together seamlessly.
- ๐ AUTOSAR Standards
- ๐๏ธ AUTOSAR Basics | AUTOSAR Tutorial | Architecture | Automotive
- ๐๏ธ Introduction to AUTOSAR
- ๐๏ธ Udemy - Autosar Architecture (Learn from Scratch with Demo)
At first this was meant to be my personal reading list but as the list gradually became bigger and bigger, I wondered why not share it with others. So I did research on current job postings for embedded engineering roles, selecting the most frequent skills and including them on a roadmap. In order to make the roadmap more comprehensive I also added some basic skills and finally came up with what you see here.
The idea of creating this roadmap came from vazeri / Embedded-Engineering-RoadMap-2018 which was well designed but had some flaws and not updated for years. I took that idea, changed the structure of the roadmap and tried to improve it. The initial results can be accessed in m3y54m / Embedded-Engineering-Roadmap-Archived which is now archived. Early versions of the roadmap were created using Balsamiq Wireframes which is not suitable for these types of diagrams. So I decided to use Microsoft Visio instead and redrew the whole diagram.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License which means that you are free to share or adapt this work under the following terms:
Attribution โ You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike โ If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
Special thanks to my friends in the community of Iranian Embedded Engineers in Twitter and r/embedded subreddit for their suggestions that helped in improving this roadmap.
If you think that this roadmap can be improved in anyway or you know about some good learning resources that can be added here, please start an issue or a pull request. Iโll be maintaining and updating this repository frequently.
The source file is created using Microsoft Visio in .vsdx
format and included in this repository for your contributions. If you do not have Microsoft Visio or you want to use free software, you can use draw.io which can import and export .vsdx
files.