Skip to main content
Associate II
Mar 26, 2026 7:58 AM UTC
Question

CLion: GDB unkown error

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?

3 replies

MGogr.1
Senior
Mar 26, 2026 9:08 AM UTC

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

dvpAuthor
Associate II
Mar 26, 2026 10:45 AM UTC

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.