Skip to main content
Mick P. F.
Associate III
January 3, 2022
Solved

STM32CubeIDE - I woke up and can't debug anymore (error code 126)

Hello,

I haven't used the STM32Cube for several months and brought it up to date a few days ago.

As always I started a new project for NUCLEO-H743ZI2 with "STM32 Project from an Existing STM32CubeMX Configuration File (.ioc)".

When trying to debug the code, I got the error message below.

According to Linux it is "ENOKEY". I've got a lot of keys, but none of them fits ... It's a small joke!

When I connect the board, the devices "/dev/stlinkv3 ...", "/dev/sda", "/dev/sg0" and "/dev/ttyACM0" are created. With the exception of "/dev/sg0" they belong to the group "plugdev". My user is a member of this group. So it cannot be due to a lack of permissions.

Can someone help me please?

Thanks in advance,

Michael

This topic has been closed for replies.
Mick P. F.
Mick P. F.Best answer
Associate III
January 5, 2022

Apparently I slept too long:

I created an incorrect debug configuration for the project and got this error as a result.

After config changes it works...

1 reply

Mick P. F.
Mick P. F.AuthorBest answer
Associate III
January 5, 2022

Apparently I slept too long:

I created an incorrect debug configuration for the project and got this error as a result.

After config changes it works...