Updating modem firmware

You can update the modem firmware on the nRF9151 Feather using the updater CLI. It's cross platform and can be easily installed following the steps below:

1. Install the Rust toolchain

Install Rust using rustup.

On macOS and Linux:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

On Windows download and run the installer from rustup.rs, then open a new PowerShell or Command Prompt window.

After installation, confirm the toolchain is available:

rustc --version
cargo --version

2. Install with cargo

cargo install --git https://github.com/circuitdojo/modem_updater.git

This places the updater binary in ~/.cargo/bin (or the equivalent on Windows).

3. Install probe dependencies

Sometimes you may need to install dependencies. If your compilation fails here are some suggestions:

  • Linux: ensure libusb-1.0 is present (sudo apt install libusb-1.0-0).
  • macOS: install Homebrew and run brew install libusb if it is not already available.
  • Windows: if necessary, use Zadig to install a WinUSB driver for your debug probe.

CLI Usage

To verify the modem firmware, run:

updater verify <path_to_firmware_zip>

To program and verify the modem firmware, run:

updater program <path_to_firmware_zip>