[SOLVED] Unable to load J-Link drivers in Windows 10

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Unable to load J-Link drivers in Windows 10

    Hi,
    this is my first time I write in this forum and I hope someone can help me with a big problem I'm facing in the last days. I have a Nordic nRF52 DK with an on-board J-Link debugger; I have installed Keil and nRF Tools (in which there is the SEGGER software pack 5.12f) but in device management (my PC has Windows 10 64bit) the J-Link has always a question mark becuase it cannot load the right drivers. I tried to install the Keil with the latest version of SEGGER software pack, but nothing has changed. I tried on another PC and all works perfectly (J-Link gets the right drivers without problems) so I'm wondering how find the problem on my PC; is it possible to get a log or something like this to learn where is the problem ? Or anyone have a problem like mine ?
    Regards
  • Hi,

    this is most likely not a general issue with J-Link.
    A lot of customers use Windows 10, and we also have a Windows 10 Test machine here, where it works flawlessly.

    Could you please give J-Link Commander a try?
    J-Link commander is part of the J-Link software package, which is available free of charge here . (Please use our installer for testing.)

    • Start J-Link Commander (jlink.exe)
    • Type "connect" in order to start a debug session
    • Type in the target device name if asked (Or type "?" for a target selection Dialog)
    • Choose the correct target interface (JTAG/SWD/etc..)
    • Use a valid speed (Default: 4000kHz, try 100-500 if default does not work)
    • [JTAG only]JTAG conf can be default(most of the times)
    • You should now be successfully connected.
    If anything fails, could you post a screenshot of the complete session?

    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Thanks Niklas for your help; I have disinstalled anything related to SEGGER or Keil, downloaded the SEGGER sw pack as you told me and when I connected the board to the PC this is what I see in device management:

    so I started J-Link Commander:

    but when I clik on NO this is what happens:

    As you can see I can't load the drivers on my J-Link. Could you tell me how solve the problem ?
    Regards

    The post was edited 1 time, last by DUrbano ().

  • Hi,

    Could you please check if there is an usb.inf in your %systemroot%\inf folder?
    Context:

    It seems that the usb.inf is missing in your %systemroot%\inf folder. The J-Link is a composite device containing multiple interfaces. In order to work with it on Windows, Windows loads a composite Device driver.
    The information for this driver are in the usb.inf. Once the composite device driver is installed all other interfaces of the J-Link will be installed automatically.

    In order to fix this:

    Please copy the usb.inf from the following location: %systemroot%\System32\DriverStore\FileRepository\usb.inf_*
    [eg. C:\Windows\System32\DriverStore\FileRepository\usb.inf_amd64_neutral_42d7284868af1f40]
    to %systemroot%\inf
    Disconnect the J-Link and re-connect it once again.
    After that Windows should recognize the J-Link as a USB composite device and will install all the drivers for the J-Link interfaces.

    Please note: This seems to be a generic problem of Windows. Neither SEGGER nor other companies which are using SEGGER J-Link technology are responsible for this error or causing this error. This error also occurs on Windows PCs where no J-Link has ever been connected to it nor its driver has been installed on it.


    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Dear Niklas,
    while waiting your answer I have disinstalled all and check for a previous version of SEGGEER sw pack; I found the 5.00 version (the last version is 5.12g) and installed it and all seems to work perfectly. So I want to thank you for your patiance and support.
    Regards
  • Hi,

    Good to hear that you are up and running!

    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.