Update the J-Link DLL

From SEGGER Wiki
Jump to: navigation, search

Update the J-Link DLL

Software which uses the J-Link DLL to include J-Link support (e.g. IDEs) usually come with their own version of the J-Link DLL. On the one hand, this gives users a good out-of-the-box experience because they do not have to install the J-Link software package manually. On the other hand, support for new devices will not be automatically available in such applications but the J-Link DLL needs to be updated manually.

Windows

The following steps are valid for Windows systems.

J-Link DLL Updater

  1. Close all J-Link related applications (such as IDEs with J-Link integration)
  2. Download the latest version of the J-Link software
  3. Run the installer
    At the end of the installation process, the J-Link DLL Updater will pop up
  4. Update the J-Link DLL used by your application using the J-Link DLL Updater

The generic way

Usually our DLL updater is good at locating any J-Link DLLs that are used by IDEs. If it cannot find the DLL of your IDE installation, a manual update may be required.

  1. Close all J-Link related applications (such as IDEs with J-Link integration)
  2. Download the latest version of the J-Link software
  3. Run the installer
  4. Locate JLink_x64.dll and/or JLinkARM.dll within the install directory of your IDE and replace them with the ones that were just installed

Linux

The following steps are valid for Linux systems.

The generic way

  1. Close all J-Link related applications (such as IDEs with J-Link integration)
  2. Download the latest version of the J-Link software
  3. Run the installer
  4. Now either copy all files from the J-Link installation folder starting with "libjlinkarm" to the IDE folder where the J-Link library was located before or create a sym link to the J-Link library (.so file) in the J-Link install folder.

For more information about how to do file operations or how to create sym links on your specific Linux distribution please consult the documentation of your Linux distribution.