Forum: System Workbench for STM32

Another debug launch and target program/erase failure......

Hello,

Did you update the software: menu Help => Check for update

The nucleo F401re has a Stlink V2-1, not V2.
So, use the default script that is inside the software (nucleo_f401re.cfg).

The error you get is “open failed” at the begining so i suspect a libusb issue.

Either you have another session not terminated, either the driver is not installed correctly ? admin rights ?
Or you didn’t close the STlink connection on another software ?

Rgds,
Laurent