
Flash Rust Firmware With probe-rs run and Print Logs With defmt
Set probe-rs run as the Cargo runner, add defmt and defmt-rtt, and read log lines from a running Cortex-M board in your terminal with panic-probe.
Bare-metal firmware on STM32, ESP32, RP2040, AVR, nRF and RISC-V: GPIO, UART, SPI, I2C, DMA, interrupts, timers, low power and over-the-air updates.

Set probe-rs run as the Cargo runner, add defmt and defmt-rtt, and read log lines from a running Cortex-M board in your terminal with panic-probe.

Build a bare-metal Rust blinky for an STM32F411 Nucleo board with stm32f4xx-hal, from Cargo.toml and memory.x to the toggle loop and the flash command.

no_std removes Rust's standard library and keeps core. See what disappears (heap, threads, files, println), what stays, and how alloc fits back in.

Write two GNU linker scripts that share one flash layout file, split flash between bootloader and application, and fail the build when either region overflows.

Update ESP32 firmware over HTTPS with esp_https_ota: partition table, certificate, the one-call and advanced APIs, and testing with a local server.

Hand control from a bootloader to a Cortex-M application safely: validate the vector table, quiesce peripherals, set VTOR and MSP, and avoid the usual crashes.

Install the Optiboot bootloader on an ATmega328P with an ISP programmer once, set the boot fuses, then upload sketches over a serial cable with avrdude.

Use the STM32 built-in system bootloader to program firmware over a USB serial adapter, with BOOT0 wiring, the handshake bytes and CubeProgrammer commands.

A plain explanation of what a microcontroller bootloader does at reset, how the vector table makes a hand-over possible, and what the application inherits.

Write a Q15 FIR filter in portable C with a circular delay line, a 32-bit accumulator and one saturating shift at the end, with worked moving-average output.

Call arm_fir_q15 and arm_biquad_cascade_df1_q31 from CMSIS-DSP to filter fixed-point samples on a Cortex-M, with correct state sizes, scaling and block layout.

Widen before you multiply, shift with rounding, pre-scale before you divide, and saturate the result. Q15 and Q16.16 routines in portable C that never overflow.
We send one email when a new post is published. No spam.