Skip to main content
Associate II
March 26, 2026
Question

CLion: GDB unkown error

  • March 26, 2026
  • 1 reply
  • 158 views

I’m using a NUCLEO-H533RE and CLion as my development environment. Configuring and building my STM32 project works fine, but I haven’t been able to get debugging to work. I receive the following error:

  • Error in initializing ST-LINK device.
    Reason: Unknown. Please check power and cabling to target.

Using STM3CubeProgrammer I can connect with the board and did the full chip erase.

The attached images show the current settings.

Does anyone have any idea?

1 reply

MGogr.1
Senior
March 26, 2026

Can this be due "Debug in Low power enabled"? 

dvpAuthor
Associate II
March 26, 2026

It seems that Power Saving Mode is enabled by default and cannot be unchecked in CubeMX. Or maybe it is possible, but I can't seem to find the option.