Error when fetching device versions: readFwInfo error

Hi I've just started developing with the nrf52840 and Ive been following the official documentation on how to use the programmer shipped with nRF Connect.

Unfortunately when I select the device in the respective menu I get the following error and I'm not able to do anythin on the soc.

Error when fetching device versions: readFwInfo error

I'm currently using Linux with nrf connect 3.80 and jlink 6.88a (I've tried with nRF Connect 3.9 but I had the exact same issue).

Has anyone managed to solve this problem?

Parents
  • Sorry, this case has gone on for so long I was sure I had referred to Verbose logging already. You can enable this by going to about, flick the Verbose logging button on, then Restart with Verbose logging. 

    That way we should get more information on what's going on when you choose your device. The nrfjprog and JLink versions look to be correct.

    Best regards,

    Simon

  • I have just plugged in the the same NRF52840 dongle as with my previous posts, with which I was getting the below error message. Interestingly enough, this time the very same dongle showed up as "nRF52 Connectivity" as opposed to earlier "Open DFU Bootloader". Then I went to enabling verbose logging, and suddenly I could successfully connect to the device and the device memory layout was displayed. Since I didnt do anything to the device, I suspect my development machine which is massively used for programming different devices must have caused the problem. Although the problem is solved, below I am attaching the verbose log, maybe that is of any value to you:

    15:55:49.784
    Target device closed
    15:59:29.269
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    15:59:29.348
    [nrfdl][info](15:59:29.270) Loaded plugin C:\Users\peter\AppData\Local\Programs\nrfconnect\resources\app.asar.unpacked\node_modules\@nordicsemiconductor\nrf-device-lib-js\Release\nrfdl-sdfu-plugin.nrfdl, starting to resolve symbols
    15:59:30.304
    [nrfdl][error](15:59:30.301) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 1. Exception=open: Access is denied.. Retrying...
    15:59:30.474
    [nrfdl][error](15:59:30.474) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 1. Exception=open: Access is denied.. Retrying...
    15:59:30.579
    [nrfdl][info](15:59:30.564) [sdfu] Successfully opened \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}. Baud rate: 115200. Flow control: none. Parity: none
    15:59:30.613
    [nrfdl][error](15:59:30.614) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 2. Exception=open: Access is denied.. Retrying...
    15:59:30.632
    [nrfdl][info](15:59:30.633) [sdfu] serial port \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} closed.
    15:59:30.632
    [nrfdl][info](15:59:30.633) close plugin dll at path: C:\Users\peter\AppData\Local\Programs\nrfconnect\resources\app.asar.unpacked\node_modules\@nordicsemiconductor\nrf-device-lib-js\Release\nrfdl-sdfu-plugin.nrfdl
    15:59:30.641
    Update files regions according to Application core
    15:59:30.641
    Parse memory regions for file
    15:59:30.928
    [nrfdl][error](15:59:30.925) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 3. Exception=open: Access is denied.. Retrying...
    15:59:31.076
    [nrfdl][info](15:59:31.077) [sdfu] Successfully opened \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}. Baud rate: 115200. Flow control: none. Parity: none
    15:59:31.091
    [nrfdl][info](15:59:31.085) [sdfu] serial port \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} closed.
    15:59:31.443
    [nrfdl][info](15:59:31.443) [sdfu] Successfully opened \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}. Baud rate: 115200. Flow control: none. Parity: none
    15:59:31.449
    [nrfdl][info](15:59:31.449) [sdfu] serial port \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} closed.
    Thank you for your kind help solving this issue!
    Regards
    Peter
Reply
  • I have just plugged in the the same NRF52840 dongle as with my previous posts, with which I was getting the below error message. Interestingly enough, this time the very same dongle showed up as "nRF52 Connectivity" as opposed to earlier "Open DFU Bootloader". Then I went to enabling verbose logging, and suddenly I could successfully connect to the device and the device memory layout was displayed. Since I didnt do anything to the device, I suspect my development machine which is massively used for programming different devices must have caused the problem. Although the problem is solved, below I am attaching the verbose log, maybe that is of any value to you:

    15:55:49.784
    Target device closed
    15:59:29.269
    Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via USB SDFU protocol
    15:59:29.348
    [nrfdl][info](15:59:29.270) Loaded plugin C:\Users\peter\AppData\Local\Programs\nrfconnect\resources\app.asar.unpacked\node_modules\@nordicsemiconductor\nrf-device-lib-js\Release\nrfdl-sdfu-plugin.nrfdl, starting to resolve symbols
    15:59:30.304
    [nrfdl][error](15:59:30.301) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 1. Exception=open: Access is denied.. Retrying...
    15:59:30.474
    [nrfdl][error](15:59:30.474) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 1. Exception=open: Access is denied.. Retrying...
    15:59:30.579
    [nrfdl][info](15:59:30.564) [sdfu] Successfully opened \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}. Baud rate: 115200. Flow control: none. Parity: none
    15:59:30.613
    [nrfdl][error](15:59:30.614) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 2. Exception=open: Access is denied.. Retrying...
    15:59:30.632
    [nrfdl][info](15:59:30.633) [sdfu] serial port \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} closed.
    15:59:30.632
    [nrfdl][info](15:59:30.633) close plugin dll at path: C:\Users\peter\AppData\Local\Programs\nrfconnect\resources\app.asar.unpacked\node_modules\@nordicsemiconductor\nrf-device-lib-js\Release\nrfdl-sdfu-plugin.nrfdl
    15:59:30.641
    Update files regions according to Application core
    15:59:30.641
    Parse memory regions for file
    15:59:30.928
    [nrfdl][error](15:59:30.925) [sdfu] Error when trying to open port=\\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} at try 3. Exception=open: Access is denied.. Retrying...
    15:59:31.076
    [nrfdl][info](15:59:31.077) [sdfu] Successfully opened \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}. Baud rate: 115200. Flow control: none. Parity: none
    15:59:31.091
    [nrfdl][info](15:59:31.085) [sdfu] serial port \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} closed.
    15:59:31.443
    [nrfdl][info](15:59:31.443) [sdfu] Successfully opened \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}. Baud rate: 115200. Flow control: none. Parity: none
    15:59:31.449
    [nrfdl][info](15:59:31.449) [sdfu] serial port \\?\USB#VID_1915&PID_521F&MI_00#7&136D5ABD&1&0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73} closed.
    Thank you for your kind help solving this issue!
    Regards
    Peter
Children
No Data
Related