SDK 3.X.X and west flashing with nrfutil and nrfjprog

Hello,

I am puzzled. I am using the nrf52840-dk. In SDK 3.X the board specification board.cmake changed. Now nrfutil is at the first place:
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)

In SDK version 2.9 it was:
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)

And now the default in the runners.yaml is nrfutil. The problem is nrfutil isnt found:
FATAL ERROR: required program nrfutil not found; install it or add its location to PATH

So which version from nrfutil is now used? The python version is deprecated and the one to download (www.nordicsemi.com/.../nRF-Util) is also an old version. Should it be in the toolchain? But where?

When I type manually west flash --runner nrfjprog or west flash --runner jlink it works. But only west flash raises the error.

Regards
Markus

Parents Reply Children
No Data
Related