stm32 - is there a factory reset?
It was a terrible idea to let all of my prototypes run the same software because keil uvision 5 cant program any of the boards anymore. 


It wasn't, you've found a problem. A test where nothing fails is a poor test.

Try the ST Link Utility, and verify if the RESET pin is actually connected to the programmer.
Right now it says "No Target Connected", meaning the debug core inside the ARM Cortex M0 is not reachable.
Either because the lock bits of the manufacturer are set, or pin function was changed by your code.
Did you use the GPIO port configuration lock register?

There is no such thing as a factory reset if you cannot get into the chip.
If mass flash erase is not available over SWD/JTAG. Then maybe over a bootloader (uart/usb).
Otherwise you have to replace the chip since you might have accidentally activated read out protection level 2. (RDP level 2, see reference manual)

Also sometimes a lower clock on the SW interface can help if you have a poor board design.