Adrian Waiblinger, if it shows that there is bad state in firmware, then it seems that memory is corrupted, so the only way to flash it is to use ST-LINK
Just use instruction above. If something will going wrong during flashing with ST-LINK, then use menu Target => Erase chip. It will clean all memory, so you will be able to flash it like new one with menu Target => Program and verify.