Error: Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device, when plugging in my nrf52840 dk board.

Overnight I was running my nrf52 dk board with my stm32 board. I have a spi interface between the two boards that is working properly. When I went to switch out and switch back in the same board, the board does not get recognized anymore. It only shows up as j-link, and displays the error message:  Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device. Any thoughts to what may be causing this?

  • This is the log file I get when I try and run the command: nrfjprog --eraseall --log

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    [2023-Aug-25 11:20:14] [debug] --------------------------------------------------------------------------------
    [2023-Aug-25 11:20:14] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --eraseall --log
    [2023-Aug-25 11:20:14] [debug] nrfjprog version 10.23.0 external
    [2023-Aug-25 11:20:14] [debug] --------------------------------------------------------------------------------
    [2023-Aug-25 11:20:14] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2023-Aug-25 11:20:14] [ info] Library loaded, loading member functions.
    [2023-Aug-25 11:20:14] [ info] Member functions succesfully loaded.
    [2023-Aug-25 11:20:14] [debug] [ Client] - open
    [2023-Aug-25 11:20:14] [debug] [ Client] - start
    [2023-Aug-25 11:20:14] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence ba9162a8-b624-4b94-89de-ec5993ddbccb.
    [2023-Aug-25 11:20:14] [trace] [ Client] - Command open executed for 37 milliseconds with result 0
    [2023-Aug-25 11:20:14] [debug] [ Client] - config
    [2023-Aug-25 11:20:14] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2023-Aug-25 11:20:14] [debug] [ JLink] - Logger sink registered in JLink logger
    [2023-Aug-25 11:20:14] [debug] [ nRFXX] - open
    [2023-Aug-25 11:20:14] [debug] [ nRFXX] - just_check_family
    [2023-Aug-25 11:20:14] [debug] [SeggerBackend] - open_dll
    [2023-Aug-25 11:20:14] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi Andrew,

    Is the nRF52DK being recognized by your PC? Does it get recognized when you connect the DK alone after removing all the connections to it?

    Regards,

    Priyanka

  • Hey Priyanka,

    When I load device manager with no boards connected to my computer, I have com3 and com4 already taken. When I plug in this board with no wires connected, my computer recognizes it and places assigns it to com8 and com9. I have also attached screenshots of my board, and how programmer on nrf connect looks before and after I plug in my device in question.

    NRF Connect Before Plugged In:

    NRF Connect After Plugged In:

    Device Manager Before Plugged In:

    Device Manager After Plugged In:

    Picture of Board While Doing all this:

  • Hi,

    Could you try putting the device in bootloader mode? Does this show up in the Programmer?

    Regards,

    Priyanka

  • Hey,

    Unfortunately it does not look like I can put the device in bootloader mode. I was able to put my other nrf52840 dk board into bootloader mode, but it does not look like I can do it for the board in question.

1 2