Here is what worked for me: If the stlink is actually broken off, the nucleo should be powered by the stlink, the yellow wire going from the the upper pin of jp1 on the stlink to pin 16 the of the nucleo supplies the 3.3V (the other yellow wire going from nucleo pin 4 to swd/cn4 pin 1 is used by the stlink to measure the voltage). As with measuring the voltage: also make sure that R9 on the stlink exists, on mine it was empty, I had to solder a 4K7 resistor, before that voltage was read as 0V by the stlink and open OCD was issuing a warning message "target voltage may be too low for reliable debugging” The jumper on the nucleo JP5 should be removed as to deconnect from the output of the onboard regulator. If you are programming another nucleo where the stlink is *NOT* broken off, on this stlink the 0 ohm resistor on SB12 should be removed as to deconnect the reset line going from the *NOT* broken off stlink to the nucleo, otherwise the connected stlink, if not powered will hold the reset line. [![wiring drawn on a photo of nucleo board][1]][1] [1]: https://i.sstatic.net/EQHbB.jpg