~/carrese.eu
davide@modena:~$ whoami

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.

exp: 10+ years embedded  ·  lang: C, C++, Python
mcu: STM32 F/G/L/H/U, ESP32  ·  os: FreeRTOS, embedded Linux
loc: Modena, IT  ·  remote: EU / UK / US
/dev/ttyUSB0 · 921600 8N1live
[ 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$ 
logic analyzer · ch0 USART2_RXdecoded: "DC"
RX S 0 0 1 0 0 0 1 0 P S 1 1 0 0 0 0 1 0 P 0x44 'D' 0x43 'C' 115200 baud · 8N1 · 8.68 µs/bit · LSB first
it's a real shell: click it and type help. your keystrokes show up on the analyzer.

what I do

[ bring-up · 2–6 weeks ]

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)) { }
[ debug · 1–4 weeks ]

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
[ comms · scoped ]

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 line

how an engagement works

  1. [1/3]30-minute callYou explain the product, the stack and what is blocked. Free, no commitment.
  2. [2/3]Written proposalScope, fixed price or time and materials, and exactly what you get at the end.
  3. [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.”

— senior embedded firmware engineer, by email

git log --oneline notes/

all 42 notes →

ls ~/code

github.com/carresed →

contact

$ mail -s "project" [email protected]

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.

[email protected]   linkedin →   github →