Houston, Texas

Cameron Basham

Senior Embedded Software Engineer

I write firmware for battery-powered instruments that work miles underground, and the Rust and Python tools that test them and read their data. I am strongest at root-causing failures that only show up in the field.

downhole tools with my firmware
5
repositories contributed to at SLB
16
GPUs in my home inference server
8
Portrait of Cameron Basham

Work

What I work on

Firmware

Bare-metal and RTOS C on ARM Cortex-M for measurement and logging tools that run on a battery for the length of a drilling job. Sensor drivers, high-rate acquisition, NAND storage and low-power design.

  • Shutdown current cut 52% on the smallest tool
  • Data download 2.2x faster over USB Full Speed
  • One tool ported to a new hardware generation in about six weeks
  • C
  • STM32L4
  • XMC4700
  • RTOS
  • DMA / SPI
  • NAND / ECC

Root cause

Failures that only appear in the field, taken from a symptom in recorded data to a reproduction on the bench and a fix that holds.

  • Frozen sensor channels traced to a shared SPI bus arbiter; fixed with a data-liveness watchdog and register-level recovery
  • Intermittent startup hang isolated to ARM LDREX/STREX exclusive access with oscilloscope timing markers
  • Reed-Solomon error correction repaired across four codebases with no ABI change
  • SWD / GDB
  • Oscilloscope
  • Fault injection
  • Lock-free code

Tools, test and CI

The host side of an embedded product: the software that talks to the tool, parses what it recorded, tests every release on real hardware and builds it the same way each time.

  • C++ log converter rewritten in Rust, 48x faster
  • Rust data viewer with overlays, Python plugins and PDF run reports
  • Hardware-in-the-loop pytest suite run for every release of four products
  • Rust
  • Python
  • pytest
  • GoogleTest
  • Azure DevOps

Experience

Where I've worked

  1. Senior Embedded Software Engineer

    SLB · Katy, Texas

    Aug 2023 to present

    Firmware and host software for five battery-powered downhole tools in New Product Development: one measurement-while-drilling tool and four logging-while-drilling data loggers.

    • Primary firmware developer for a new measurement-while-drilling tool, from first driver through release 2.x, on an Infineon XMC4700 with an RTOS
    • Firmware for four data loggers in bare-metal C on STM32L4: acquisition, recording profiles, on-device statistics and FFT, wake and shutdown control
    • Rebuilt the NAND storage system on three tools: asynchronous DMA writes, streaming download, bad-block management and recovery that keeps recording
    • Wrote the Python protocol library and CLI, the hardware test suite QA runs for every release, and the Rust parser and viewer used by field and analysis teams
    • Redesigned CI/CD for four firmware repositories: versioning, validation, static analysis, packaging and a QA approval gate
    • Organized and presented more than nine formal design and code reviews, several with other firmware teams
  2. Firmware / Software Developer

    Erdos Miller · Houston, Texas

    Jul 2019 to Aug 2023

    Hired as an electronics technician and moved into firmware and test software.

    • Built an automated product-testing machine from multimeters, function generators and specialized devices
    • Led the automation of manual calibration for a downhole tool, then a single application that replaced two earlier ones
    • Wrote release-testing software for a new line of downhole tools and a CAN bus monitor that shows traffic as readable text
  3. Automation Leader

    Quad Graphics · Lufkin, Texas

    Mar 2014 to Feb 2017

    • Led the automation department at 18: maintenance, repair and rebuilding of 134 pieces of web-offset printing equipment
    • Built a preventive-maintenance program that raised equipment readiness from about 40% to 90%
    • Earned the role with a Python program that decoded paper manufacturers' roll-numbering systems

Skills

Tools I use

Languages

  • C
  • Python
  • Rust
  • C++
  • C#

Embedded

  • ARM Cortex-M
  • STM32
  • RTOS
  • DMA
  • SPI
  • I2C
  • UART
  • USB
  • Low power

Storage

  • NAND
  • NOR
  • Reed-Solomon ECC
  • zstd
  • LZ4

Debug and test

  • SWD / GDB
  • Oscilloscope
  • Hardware-in-the-loop
  • pytest
  • GoogleTest

Delivery

  • Azure DevOps
  • CI/CD
  • Static analysis
  • Git
  • Linux

Bench

  • IPC-level soldering
  • PCB diagnostics
  • Board rework
  • Instrument automation

Side projects

Outside work

Eight-GPU inference server

A home-built server around eight NVIDIA CMP 170HX cards: 512 GB of GPU memory, 1 TB of ECC RAM, a custom PCIe 2.0 x4 to 4.0 x16 riser modification, and thermal and power safeguards.

  • GPU hardware
  • PCIe
  • NVLink
  • Linux

Inference engine for Ampere GPUs

A single-model LLM inference engine for those cards, in progress: custom CUDA kernels, a paged KV cache at 262K context and speculative decoding, with the scheduler, server and runtime in Rust. Prefill measures 1.30x to 1.55x a tuned vLLM baseline on the same card. Built with a team of AI coding agents that I direct and check.

  • Rust
  • CUDA
  • LLM serving
  • Agent orchestration

Open source: xagent

A message bus for AI coding agents. Claude Code, Codex and other agent sessions get an inbox, direct messages, topic rooms and threads, on one machine or across hosts, so one agent can hand work to another or ask it a question. One Rust binary per host over NATS JetStream, MIT licensed.

Release 2.0.0 on GitHub

  • Rust
  • MCP
  • NATS JetStream
  • Open source

Open source: TensorFold

A merged pull request to an open-source LLM inference engine: a one-shot RDMA all-gather over Ethernet that works at any cluster size, plus a speculative-decoding drafter split across ranks.

Pull request #2205

  • RoCE
  • Distributed inference
  • Open source