Cannot connect to nRF52840 Dongle

Hi

I having a problem programming my nRF52840 Dongle from the Programmer v3.0.6 in nRF Connect for Desktop v4.0.0 (on Windows 10 @ AMD Ryzen 7). I put the dongle in dfu mode by pressing the reset button on the dongle and it starts pulsing the led red and the programmer is also able to find it (The device I can select is called Open DFU Bootloader / D1871BF59F6B). Selecting and open this device in the programmer it just tells it is an UNKNOWN_FAMILY and zebra stripes are shown. Turning on the verbose logging gives this output:

2023-02-19T18:03:19.358Z INFO [nrfdl][info](19:03:19.359) Loaded plugin C:\Users\Kim\AppData\Local\Programs\nrfconnect\resources\app.asar.unpacked\node_modules\@nordicsemiconductor\nrf-device-lib-js\Release\nrfdl-sdfu-plugin.nrfdl, starting to resolve symbols
2023-02-19T18:03:19.358Z DEBUG [nrfdl][debug](19:03:19.359) [sdfu] Trying to open COM port: \\?\USB#VID_1915&PID_521F&MI_00#7&3A620DFD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}
2023-02-19T18:03:19.574Z ERROR [nrfdl][error](19:03:19.574) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&3A620DFD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 1. Exception=open: Access is denied.. Retrying...
2023-02-19T18:03:19.884Z ERROR [nrfdl][error](19:03:19.884) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&3A620DFD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 2. Exception=open: Access is denied.. Retrying...
2023-02-19T18:03:20.105Z DEBUG Client Id: 7876168b-42c0-46e1-bc90-9a9c5205873c
2023-02-19T18:03:20.214Z ERROR [nrfdl][error](19:03:20.196) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&3A620DFD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 3. Exception=open: Access is denied.. Retrying...
2023-02-19T18:03:20.496Z ERROR [nrfdl][error](19:03:20.497) [sdfu] Error setting up serial port \\?\USB#VID_1915&PID_521F&MI_00#7&3A620DFD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}, open: Access is denied.
2023-02-19T18:03:20.496Z ERROR [nrfdl][error](19:03:20.497) [sdfu] Error closing serial port cancel: The file handle supplied is not valid.
2023-02-19T18:03:20.496Z DEBUG [nrfdl][debug](19:03:20.497) ~async_task id: 110249217441
2023-02-19T18:03:20.496Z INFO [nrfdl][info](19:03:20.497) close plugin dll at path: C:\Users\Kim\AppData\Local\Programs\nrfconnect\resources\app.asar.unpacked\node_modules\@nordicsemiconductor\nrf-device-lib-js\Release\nrfdl-sdfu-plugin.nrfdl
2023-02-19T18:03:20.497Z ERROR Error when fetching device versions: async task failure for id: 110249217441 msg: [sdfu] serialport could not be opened (Origin: "Error when running operation: fw-read-info")
2023-02-19T18:03:21.627Z DEBUG Google Analytics for category pc-nrfconnect-programmer has initialized

What can I do to solve this apparently access issue?

Br

Kim

  • Hi again

    Just want to update this ticket, since it could be helpful for others. The issue, which in the first place seemed to be related to my AMD Ryzen build, was actually related to the NZXT CAM software controlling the water cooling system in the PC build. Whenever I insert the nRF52840 Dongle and it gets enumerated to a COM port, the NZXT CAM software immediately takes control over this port, prohibiting all other software including the nRF Connect for Desktop apps to open this port. By closing the NZXT CAM software everything is working as expected.

    BR,

    Kim

  • I have a similar issue, for probably a different reason. The programmer throws an error in the logs:

    Error: Failed with exit code 1. Failed to device info one or more devices: * D90A84475058: [sdfu] No deviceInfo available for the device, code: Argument. Message: Operation device-info failed, [sdfu] No deviceInfo available for the device.

    Note: I have version 4.2.0 with jLink 7.8.8j. I am running on OSX 13.6.3. The device is seen, and with the BLE Desktop stand alone app, it can connect and scan devices. I don't think any other app is connected at the usb port at the same time as the programmer (that I know of). I did reboot the Mac just before using the programmer.

  • Hello! Are you able to resolve this issue?

    I have same error. With Ubuntu 20.04 its working but with 22.04 I get this error. Both pc processors are ryzen with the 22.04 the newer one.

    I can connect on the nrf52 connectivity dongle with programmer mode but it shows this error. With the bluetooth Low energy menu, its not listing. My nrf52dk connects to all, so the problem relies on this nrf52 dongle.

    Error: Failed with exit code 1. Failed to device info one or more devices: * D492967035D5: [sdfu] No deviceInfo available for the device, code: Argument. Message: Operation device-info failed, [sdfu] No deviceInfo available for the device.

Related