Start here
Embedded Firmware Development: Core Programming Concepts
Learn the core concepts of embedded firmware development: memory layout, startup code, registers, interrupts, volatile, state machines, toolchains and testing.
Design and Firmware
Embedded C and assembly, interrupts, bit manipulation, state machines, toolchains and debugging with JTAG and SWD.
Start here
Learn the core concepts of embedded firmware development: memory layout, startup code, registers, interrupts, volatile, state machines, toolchains and testing.
Where assembly still matters in embedded systems: startup code, context switching, cycle-exact timing, Cortex-M and AVR examples, mixing C and asm, and when to avoid it.
How Go (standard Go and TinyGo) and functional programming fit embedded work: GC trade-offs, functional C, Rust, Haskell DSLs, SCADE and Elixir Nerves.
How to set, clear, toggle and test register bits in embedded C, update multi-bit fields safely, and avoid read-modify-write and write-1-to-clear traps.
On-chip debugging explained: JTAG vs SWD, debug probes, OpenOCD and GDB sessions, breakpoints, HardFault analysis, SWO/RTT output and connection fixes.
A practical guide to embedded C: fixed-width types, register access, peripheral structs, memory-aware coding, common pitfalls, compiler flags and MISRA C.
An overview of the software used for embedded systems: vendor and multi-vendor IDEs, GCC and Clang toolchains, flashing and debug tools, and circuit and firmware simulators.
How to design embedded GUIs: choosing MCU, Linux or Android, framebuffer memory, GUI libraries like LVGL and TouchGFX, UI design, optimization and embedded Android.
Three ways to implement a state machine in embedded C (switch-case, transition tables, state functions), plus ISR event queues, timeouts and host testing.
Learn how to write an interrupt service routine in C: find the vector, enable the interrupt, clear flags, share data safely and keep handlers short, with examples.
Is Go easier than Python? Python is usually easier to start with, while Go's small, strict design pays off later. Compare syntax, errors, speed and embedded use.
When to use the volatile keyword in embedded C: hardware registers, ISR-shared flags and DMA buffers, plus what volatile doesn't do for atomicity and ordering.
Assembler usually means assembly language, but it's also the tool that turns that language into machine code. Here's how both work, with Arm and AVR examples.
An embedded program is software built into a device to control its hardware for one job. Learn how it runs, how it differs from apps, and see examples.
Proteus is Labcenter Electronics' design suite for schematic capture, SPICE circuit simulation, microcontroller co-simulation (VSM) and PCB layout. Here's how it works.
The best simulation software depends on the task. Compare LTspice, ngspice, Proteus, Wokwi, Renode, QEMU and Simulink for circuit, microcontroller and embedded work.
Related topics