I fix the firmware that is blocking your release.
Embedded contractor for STM32 and embedded Linux products. Board bring-up, bugs that only show up on the bench or in the field, and communication stacks that must not drop a byte.
mcu: STM32 F/G/L/H/U, ESP32 · os: FreeRTOS, embedded Linux
loc: Modena, IT · remote: EU / UK / US
[ 0.000] reset cause: POR[ 0.001] HSE 8 MHz ready[ 0.002] PLL locked, SYSCLK 168 MHz[ 0.003] flash: 5 wait states, ART on[ 0.011] i2c1 scan: 0x1d 0x68 0x76[ 0.014] spi2 W25Q128 JEDEC id ef 40 18[ 0.019] can1 500 kbit/s bus on[ 0.026] usart2 rx: dma circ + idle[ 0.031] rtos: 7 tasks, heap 38 KiB free[ 0.032] selftest PASS$
what I do
First power-on to solid base
Clocks, boot, debug access, drivers for the buses and sensors on your board, and written notes on what is still open.
/* wait for HSE, then switch PLL */ RCC->CR |= RCC_CR_HSEON; while (!(RCC->CR & RCC_CR_HSERDY)) { }
Bugs that block a release
Intermittent faults, timing problems, resets, protocol errors. Reproduce, find the cause, fix it, and add a test so it stays fixed. Stuck in a HardFault right now? Try my free fault decoder.
HardFault CFSR=0x00008200 BFARVALID PRECISERR BFAR=0x2001FFFC // stack overflow
Links that don't drop bytes
UART, SPI, I²C, CAN, BLE, Wi-Fi: protocol code with real error handling, plus the test rigs and diagnostics around it.
HAL_UARTEx_ReceiveToIdle_DMA(
&huart2, rx_buf, sizeof rx_buf);
// circular DMA + IDLE linehow an engagement works
- [1/3]30-minute callYou explain the product, the stack and what is blocked. Free, no commitment.
- [2/3]Written proposalScope, fixed price or time and materials, and exactly what you get at the end.
- [3/3]Work + handoverRegular updates, code in your repository, notes your team can maintain without me.
from the inbox
“Super work on the STM32H7 cache coherency article. The site is clean, loads fast, and has exactly the right level of detail for a competent embedded developer.”
git log --oneline notes/
- STM32H7 DMA Buffers in DTCM: Why Transfers Fail and How to Fix the Linker Script#stm32h7 #dma #linker-script
- STM32 UART Reception with DMA and IDLE Line Detection: Variable-Length Data Without Losing Bytes#stm32 #uart #dma
- STM32 CRC Peripheral: Hardware Checksum for Data Integrity, Bootloader Verification, and Communication#stm32 #crc #data-integrity
- The Git Workflow That Actually Works for Firmware Teams#git #process #tooling
- STM32 USART Interrupt-Driven Communication — Register-Level Configuration on STM32F4#stm32 #usart #uart
ls ~/code
- [live]cortex-m-fault-decoder
Paste the fault registers of a Cortex-M HardFault, get the cause in plain words. Runs in your browser. source
- [c]MPU6050_DriverBenchmark
The same MPU6050 driver on STM32F401 written three ways (HAL, LL, registers) and measured side by side.
- [wip]stm32f4-bare-metal
Register-level peripheral examples from the notes, one per article, built in CI.
- [planned]esp32-lora-monitor
LoRa link monitor on an ESP32 with on-board LCD: RSSI, SNR and live packets.
contact
Most useful first email: what the product does, which MCU or platform, what is blocked, and the deadline. I usually reply within one working day.