Detection options are flags available for the device command and its subcommands.
You can use detection options to specify how nRF Util commands should behave when interacting with a device, for example to narrow down the results of a command.
The following table lists the detection options available for the device command and its subcommands:
--family: Set the expected device family for the automatic device detection.
For example, if you use--family nrf52with thenrfutil device programcommand, the command will return an error if the connected device does not belong to the nRF52 Series family.--x-sdfw-variant(nRF54H20 only): Indicate to nRF Util the Secure Domain Firmware (SDFW) variant that is running on the nRF54H20 device.
By default, nRF Util assumes that the device is running the IronSide Secure Enclave. If the device is running a different variant, for example SUIT, you can use the commandnrfutil device recover --x-sdfw-variant suitto inform nRF Util about this. You can also set the dedicatedNRFUTIL_DEVICE_SDFW_VARIANTenvironment variable for a permanent override. This affects nRF Util's behavior when recovering the nRF54H20 device.