For me, there is a gap.
I use Ubuntu 20.04. I don’t use the examples, I use a project (https://github.com/boaks/zephyr-coaps-client), which is working so far with VS or “west flash” using Jlink, or the serial mcuboot with nRF Connect for Desktop.
Using jlink still works (the nRF9160-DK must be switch to 3V).
Using nRF Connect for Desktop (v3.1.2), Programmer (v3.0.4) seems to reject the feather with “Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.” Open /dev/ttyUSB0 works, so I’m not sure, if the Nordic Programmer just don’t support it any more.
If I use newtmgr with VS task (Step 3), then it reports “Binary not found. Build project before loading.”
Checking the file system, with
ls -l build/zephyr/app_*
-rw-rw-r– 1 achim achim 1382622 Jan 14 14:12 build/zephyr/app_moved_test_update.hex
-rw-rw-r– 1 achim achim 679676 Jan 14 14:12 build/zephyr/app_signed.hex
-rw-rw-r– 1 achim achim 679732 Jan 14 14:12 build/zephyr/app_test_update.hex
-rw-rw-r– 1 achim achim 246460 Jan 14 14:12 build/zephyr/app_to_sign.bin
-rw-rw-r– 1 achim achim 247124 Jan 14 14:12 build/zephyr/app_update.bin
so the file is there. The project was there before I installed the zephyr tools. Maybe I need to add the tools to the existing project?
If I enter newtmgr on the CLI (Ubuntu), it reports “cmd not found”.
The SDK setup describes, how to install the VS extensions. But it seems, that this doesn’t add that tool to the OS path.
So:
Do I need to “add the zephyr tools” somehow to the VS project?
Is it possible to install the newtmgr in the OS to be used directly by the OS CLI?