cancel
Showing results for 
Search instead for 
Did you mean: 

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

Mick P. F.
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
Mick P. F.
Senior

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...

View solution in original post

1 REPLY 1
Mick P. F.
Senior

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...