Cannot program nrf52840dongle_nrf52840

I build code with the command

 west build -b nrf52840dongle_nrf52840

and it builds fine, but I get errors when trying to Open DFU Bootloader E3FE4EE06DC5 with Programmer v4.6.2.
The program I am building is nrf/samples/bluetooth/llpm and the nRF Connect SDK level is v2.5.0. Here is what I get from the Programmer:

00:30:33.499
Initialising the bundled nrfutil device
00:30:34.062
Using the bundled core version for nrfutil device: 8.0.0
00:30:34.130
Using nrfutil-device version: 2.12.3
00:30:34.130
Using nrf-device-lib version: 0.17.81
00:30:34.130
Using nrf-probe version: 0.40.1
00:30:34.131
Using JLink version: JLink_V8.18
00:30:34.199
Getting serial port options from the persistent store for E3FE4EE06DC5.pc-nrfconnect-programmer
00:30:34.201
Device connected with the serial number E3FE4EE06DC5
00:30:37.202
Selecting device with the serial number E3FE4EE06DC5
00:30:37.480
Error: Failed with exit code 1. Subprocess C:\Users\Burt\AppData\Roaming\nrfconnect\nrfutil-sandboxes\8.0.0\device\2.12.3\bin\nrfutil-device.exe failed with unexpected exit code Some(-1073741819)
00:30:37.480
Selected device with the serial number E3FE4EE06DC5
00:30:37.481
Using nrfutil-device to communicate with target via USB SDFU protocol
00:30:37.704
Error: Failed with exit code 1. Subprocess C:\Users\Burt\AppData\Roaming\nrfconnect\nrfutil-sandboxes\8.0.0\device\2.12.3\bin\nrfutil-device.exe failed with unexpected exit code Some(-1073741819)
Is this supposed to work? Thanks.
Burt Silverman
Parents Reply Children
  • Thank you, Vidar, the problem is solved with your solution. I went to the page you mentioned, and the first thing I saw was their Note about MS Visual Studio (not VS Code) and I then saw that there is a copy of Visual Studio on this Windows 11 laptop that had not been updated in a long time. So, step 1 was to update it. And that solved the issue. I guess I don't know why the installation/updating/uninstalling/reinstalling of nRF Connect for Desktop did not catch the missing Microsoft C++ Redistributable, but I won't worry about that, now.

    Burt

Related