Skip to main content
Associate II
July 8, 2026
Question

STM32_Programmer_CLI: ST-LINK error when using JLINK

  • July 8, 2026
  • 2 replies
  • 39 views

After updating to STM32CubeProgrammer v2.22.0, I get the following error when connecting with JLINK:

Error: ST-LINK interface not available

My commands still work, but they just print this error message everytime. Is this a known issue, and are there any ways of suppressing this particular error?

Full trace of a simple command below:

STM32_Programmer_CLI -c port=JLINK sn=xxxxxxxx mode=HOTPLUG -score
-------------------------------------------------------------------
STM32CubeProgrammer v2.22.0
-------------------------------------------------------------------

Connecting to J-Link/Flasher Probe
Device=Cortex-M33
Device ID : 0x484
Voltage : 1.81V
Frequency : 4000 KHz
Error: ST-LINK interface not available
NVM size : 2 MBytes
Core is halted

 

Using:

  • STM32CubeProgrammer: v2.22.0
  • STM32H573II
  • SEGGER J-Link PLUS: SEGGER J-Link Commander V8.10c

2 replies

Aziz BRIGUI
ST Technical Moderator
August 20, 2026

Hi ​@colinmurphygc,

This has been fixed in v2.23. Could you check on your side and confirm please?

Aziz

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Karl Yamashita
Principal
August 20, 2026

Might be that you’re using an old Jlink software V8.10c? The current version is 9.70

I ran your same command minus the serial number and it works fine.

 

STM32_Programmer_CLI -c port=JLINK mode=HOTPLUG -score
-------------------------------------------------------------------
STM32CubeProgrammer v2.22.0
-------------------------------------------------------------------

Connecting to J-Link/Flasher Probe
Device=Cortex-M4
Device ID : 0x431
Voltage : 3.34V
Frequency : 4000 KHz
NVM size : 512 KBytes
Core is running

 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source