J-Link - Firmware

From SEGGER Knowledge Base
Jump to navigation Jump to search

The J-Link firmware is the software that runs in the J-Link itself. Every J-Link is shipped with a pre-installed firmware image.
J-Link's logic is part host software and part probe/ programmer firmware. Firmware updates may come with several improvements, bug fixes, support for new features or similar.

Identifying the firmware version

Probe firmware version shown in J-Link Configurator
Probe firmware version shown in J-Link Commander
Probe firmware version shown in J-Link log file

The firmware version of a J-Link that is connected to a PC can be checked using one of the following methods:

  • Using J-Link Configurator:
    1. Start J-Link Configurator
    2. Locate the table entry for the J-Link to check the firmware version of
    3. The Probe/ Programmer firmware column contains the version of the firmware that is running inside that probe/ programmer
  • Using J-Link Commander:
    1. Start J-Link Commander)
    2. Connect to the J-Link to check the firmware version of
    3. Check the console output for the firmware string
  • Using the J-Link log file:
    1. Make sure the J-Link log file is enabled
    2. Start any J-Link software (e.g. J-Link Commander)
    3. Connect to the J-Link to check the firmware version of
    4. Open the J-Link log file
    5. Somewhere at the beginning of the log file, a line starting with "Firmware: " will contain the firmware version


Versioning

The J-Link firmware version is a string that is formatted as follows:

<Firmware type> compiled <build timestamp>

e.g.:

J-Link PRO V5 compiled Jul  3 2024 17:00:40

Each version of the J-Link software is shipped with a firmware image for each model. These images are of the most recent version at the time of the software release and are referred to as host firmware.
The host firmware version may not change between releases of the J-Link software if there were no changes to the respective firmware build.
Example:
V7.98e of the J-Link software was released on 21st of August 2024. So it will contain the most recent firmware versions (as of the 21st of August 2024) for all models.
At the time of that release, the most recent firmware version for J-Link PRO V5 was built on 18th of July 2024 at 11:29 .

Note:
For more information on the software versioning (e.g. "V7.98e"), see J-Link software versioning.
Probe/ programmer and host firmware versions shown in J-Link Configurator

J-Link Configurator can be used to check the host firmware version (see Host firmware column) as well as the version of the firmware currently used by a probe/ programmer (see Probe/ Programmer firmware column).


Updating the firmware version

Firmware update dialog

By default, any J-Link software checks the firmware version of a J-Link upon connect.
The J-Link software then compares its host firmware version to the probe/ programmer firmware version.
If the firmware version of the J-Link is older than the host firmware, the software offers the user a firmware update.
It is recommended to always use the most recent firmware version.

Example:
V7.98e of the J-Link software was released on 21st of August 2024. It is shipped with a firmware image for J-Link PRO V5 built at 18th of July 2024 11:29 .
When connecting to a J-Link PRO V5 that runs a firmware image built on 3rd of July at 16:56, the J-Link software compares the firmware versions and detects the firmware of the J-Link as outdated. It will then offer a firmware update to the version of the host firmware (firmware build from 18th of July 2024 11:29).

Note:
  1. The firmware update dialog may not be shown on headless systems, in which case the firmware update is done without prompting the user, by default.
  2. Some J-Link Command Strings may change the behavior of the firmware update check. For more information, see:

Additionally, J-Link Configurator can be used to issue a firmware update to one or more probe(s) at once.

Downgrading the firmware version

Downgrading the firmware version of a J-Link should not be necessary, usually. In the rare case that a regression was introduced with a firmware update and a firmware downgrade is required, please contact the support.

A firmware downgrade can be applied using either J-Link Commander or J-Link Configurator. It's important to install and use the J-Link software from a version that was shipped with the desired host firmware version. Information on software release versions, their release date as well as changes to firmware images can be found in the release notes.

Caution:
Outdated firmware versions may not work properly and are not covered by support!
Downgrading a firmware version using J-Link Configurator
  • To downgrade the firmware of a J-Link using J-Link Configurator...
    1. Start J-Link Configurator of the desired software version
    2. Right-click on the J-Link to downgrade the firmware of
    3. Verify that the Probe/ Programmer firmware column indicates that the probe firmware version is newer than the host firmware, indicating that a firmware replacement will downgrade the version
    4. Click Replace firmware
    5. Wait for the firmware downgrade to finish
    6. The J-Link's firmware is downgraded.
  • To downgrade the firmware of a J-Link using J-Link Commander...
    1. Start J-Link Commander of the desired software version
    2. Connect to the J-Link to downgrade the firmware of
    3. Execute the InvalidateFW command string via the command: exec InvalidateFW
    4. Re-connect to the J-Link using the USB or IP commands, depending on the host interface in use
    5. The J-Link software will offer a firmware update. Accept this offer.
    6. Wait for the firmware downgrade to finish
    7. The J-Link's firmware is downgraded.