nrfutil timeout when flashing nrf9151 modem firmware (over USB/IP)

Hello!

I've observed that while flashing the nrf9151 modem firmware over USB it always succeeds, but over USB/IP the flashing always fails since the nrfutil tool internally times out after 20s.

In our setup we use USB/IP so either increasing the timeout or at least providing an option to increase the timeout would help our use case! Slight smile

Versions:
- nrfutil 8.2.0
- nrfutil-device 2.17.5
- J-Link DLL 9.26

  $ nrfutil device program --firmware firmware/....zip --serial-number 1052098161
  Error: One or more program tasks failed:
   * 1052098161: Timed out waiting for response from worker (Generic)

  2026-10-20T13:29:03.067Z INFO  nrfutil-device (version = 2.17.5, platform = x86_64-unknown-linux-gnu, classification = nrf-external)
  invoked with program --firmware firmware/....zip --serial-number 1052098161 --json --log-output stdout --log-level
  debug
  2026-10-20T13:29:03.068Z DEBUG Worker timeout: None
  2026-10-20T13:29:03.070Z INFO  Opened J-Link DLL at /opt/SEGGER/JLink/libjlinkarm.so with version 9.26
  2026-10-20T13:29:08.127Z DEBUG {jlink_usb_001052098161} Setting up IPC communication against the modem
  self.target="nrf_probe::nrf9x_cellular_and_modem_ipc::nrf91"
  2026-10-20T13:29:20.507Z INFO  {jlink_usb_001052098161} -> set_ipc_and_ram_unsecure
  self.target="nrf_probe::nrf9x_cellular_and_modem_ipc::nrf91"
  2026-10-20T13:29:20.842Z DEBUG {jlink_usb_001052098161} Peripheral at 0x5002a000 is already set to non-secure
  self.target="nrf_probe::peripherals::spu"
  2026-10-20T13:29:28.139Z DEBUG Terminating worker with ID 410636
  2026-10-20T13:29:32.324Z WARN  Worker process seems hanged, so killing it; error: Error { error: (), total_delay: 4.18s, tries: 18 }
  2026-10-20T13:29:32.414Z ERROR Worker terminated by signal 9
  2026-10-20T13:29:32.414Z ERROR Error output of terminated worker:
  2026-10-20T13:29:32.415Z INFO   - 1052098161: Timed out waiting for response from worker (Generic)
  Error: One or more program tasks failed:
   * 1052098161: Timed out waiting for response from worker (Generic)

Best,

Jaagup

Related