[SOLVED] Installing V7.82 tools fails on WSL2

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

  • [SOLVED] Installing V7.82 tools fails on WSL2

    I am trying to install the SEGGER V7.82 tools inside the WSL2 using .deb package and setup fails:

    Source Code

    1. xenlauz@DEAGM13474:~$ sudo dpkg -i JLink_Linux_V782_x86_64.deb
    2. (Reading database ... 75422 files and directories currently installed.)
    3. Preparing to unpack JLink_Linux_V782_x86_64.deb ...
    4. Removing /opt/SEGGER/JLink ...
    5. Unpacking jlink (7.820) over (7.820) ...
    6. Setting up jlink (7.820) ...
    7. Failed to send reload request: No such file or directory
    Do you maybe know why this could happen and how to fix this. After this J-Link binaries are installed in proper directories but can't see the J-Link.
  • Hi,

    No idea out of my head.
    What J-Link tries to do is getting the 99-jlink.rules in place and then issue a reload request to udevadm to reload the rules files.
    Looks like this does not work under WSL2 on your machine for some reason.

    The J-Link software is only tested on native Linux distributions. WSL2 is not explicitly tested:
    wiki.segger.com/J-Link_Tested_Linux_distributions

    We may give it a try here within the next few weeks but I cannot promise anything at this point.
    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.
  • We found the culprit:

    A weird behavior of WSL2 when requesting a reload via “udevadm”.
    Fortunately, there are workarounds mentioned on the Internet and a quick check showed that they work.
    Will take another 2 weeks or so though, until this will make it into a new version.
    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.