Skip to main content
Associate
March 12, 2026
Question

CubeIde 2.1.0 Error with J-link

  • March 12, 2026
  • 2 replies
  • 180 views

Hello,
I have been using CubeIDE for some time to flash the STM32H755ZIT6 microcontroller with the J-Link Base. After the latest update, I started getting this error: 

Error in final launch sequence:

Failed to execute MI command:
target remote localhost:2331

Error message from debugger back end:
Truncated register 16 in remote 'g' packet
Failed to execute MI command:
target remote localhost:2331

Error message from debugger back end:
Truncated register 16 in remote 'g' packet
Truncated register 16 in remote 'g' packet

I have already updated J-Link to the latest version

Is there any method to resolve this issue?
Thank you.

2 replies

Associate
March 12, 2026

I went back to version 2.0.0 and everything works correctly with this version. For now I will stay on this version, but I would like to find a solution so that I can use the updated version.

Andrew Neil
Super User
March 12, 2026

There's been a number of threads recently relating to J-Link problems in Cube-IDE v2.1.0

ST-Link seems unaffected ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
March 12, 2026

No, the ST-Link does not have any issues. However, I still need to use the J-Link.