Forum: System Workbench for STM32

AC6 OpenOCD not working with STM32CubeMX import

Hello,

Why do you use the ‘user defined’ config files ?
If you let the debugger choose the stlink.cfg file, it is better.
Openocd will just complains that it found a different usb id for the stlink (stlink V2 is different compares to a stlink v2-1) but that’s just a warning, it works then.
Openocd recognizes the STlink type and adapt itself.

Rgds,
Laurent