No ST-LINK detected - only in CubeIDE
Hey guys,
I try to connect a NUCLEO-F429ZI board with STM32CubeIDE.
I have first installed the latest version of the IDE on an Windows 10 machine with the ST-LINK USB drivers that are required. When I know try to run or debug a simple example project the ST-LINK firmware verification opens instantly with the message:
No ST-LINK detected! Please connect ST-LINK and restart the debug session.
When I run the same project with exact the same settings on another Windows 10 machine, everything works fine and the onboard debugger conntects without any problem. So the hardware and jumper setup is correct. And I used the same USB cable.
I've already read the other tasks about this problem, so here comes what differs in my case:
With the ST-LINK Utility software I can connect the target device and flash binaries without any problem.
I have checked the Windows device manager, too: The ST-LINK debug probe instantly appears when I plug in the cable and runs with the dedicated ST driver as required.
I have also tried to reinstall the drivers manually but without any success.
Still the same result: The Board works well with the ST-LINK Utility software but it doesn't with the Cube IDE, nor after reinstallation. The firmware of the ST-LINK is up to date, the firmware-updater of both, the CubeIDE and the Utility Software can connect to the device and setting it into update mode.
I'm sure the issue is with the PC-system side or the IDE installation and nothing with the board's hardware but I'm running out of ideas.
The only thing that's different on the Windows machine where the IDE is not working ist that the Keil MDK is installed with its "own" USB driver instance. Could this cause my problem?
Or is it possible that there is any problem with the path the CubeIDE is serching for the driver? But why does the Utility connect to the device without any problem then?
I have installed all the components in the default directories.
I'm really glad for any suggestion on my issue.
Thanks in advance.
