Another debug launch and target program/erase failure......
OK, i have also a win 7 64 bits but it should work fine on 32 bits.
These error msg are the same for Debug or Target-erase, it is openocd error when connecting to the stlink.
Yes, i have the same, only “open failed” when no stlink connected.
And if Stlink utility is used and not closed (session not disconnected), SW4STM32 start debug will show the libusb error msg before “open failed” saying the usb (stlink) is already accessed by someone else.
Maybe try another usb port.
There have been in the past some issues on usb with a renesas usb driver to update on some pc.
I don’t know if they were working fine with stlink utility like you.
Check all usb port and drivers.
It’s like the libusb is not used on your case, maybe a path issue.
I don’t know if co-ide is using libusb, could it be the issue ?