This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF Terminal looks for JLink.exe in C:\Program Files (x86), not C:\Program Files, which fails silently when 64 bit tools have been installed

This was driving me crazy. nRF Terminal extension in VS Code just silently fails. I was able to use the JLink Viewer app so I knew RTT was working correctly.

I then looked inside the source code for the extension, and as the title says, the extension is looking for JLink.exe in the wrong place* (*potentially the wrong place).

Note that while most users have program files [(x86)] on their c drive, even that isn't necessarily true. I believe also that the name of the folder can change based on localization.

At the very least the extension should display an error when it cannot launch JLink.exe, and allow for the user to manually locate it.

Parents
  • Hello again,

    You are right in that we are not being very flexible with this. It is specifically looking in:

    windows: 'C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe',
    mac: '/Applications/SEGGER/JLink/JLinkExe',
    linux: '/opt/SEGGER/JLink/JLinkExe',
    We agree that we should be more flexible, and we are considering our options. I'll get back to you on this.
    Thank you for the feedback!
    Regards,
    Elfving
Reply
  • Hello again,

    You are right in that we are not being very flexible with this. It is specifically looking in:

    windows: 'C:\\Program Files (x86)\\SEGGER\\JLink\\JLink.exe',
    mac: '/Applications/SEGGER/JLink/JLinkExe',
    linux: '/opt/SEGGER/JLink/JLinkExe',
    We agree that we should be more flexible, and we are considering our options. I'll get back to you on this.
    Thank you for the feedback!
    Regards,
    Elfving
Children
No Data
Related