Maybe that issue is linked to the ST-Link firmware version.
So, try to upgrade the ST-Link firmware version, then disconnect and connect your board.
Make sure to use the latest release of STM32CubeProgrammer and STM32CubeIDE.
When your question is answered, please close this topic by choosing Select as Best.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Hi, I have installed stm32 cube programmer and when i use ST-LINK/V2 (I have update the st link ) doesn't work but i tried to use NUCLEO-F091RC -> ST-LINK/V2-1 for debug the stm32 and works perfectly. I can also debbug a program in cubeide.
Could it be that this version of st-link is not compatible with this MCU? i may need the ST-LINK/V2-ISOL.