If you’re using nRF Connect for VSCode you need to use probe-rs
:
To install use:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.sh | sh
You will also need to set up udev rules on Linux. See here for more info.
Then you can program using:
cd samples/blinky
probe-rs download --chip nRF9151_xxAA --binary-format hex build/circuitdojo_feather_nrf9151/merged.hex
probe-rs reset --chip nRF9151_xxAA
Note: change location to the sample/application you’re working on. This is where your build
folder is located.
(Circuit Dojo Zephyr Tools has this functionality built-in.)