STM32 f401re power issue?
Never mind I found the answer. Naturally 5 minutes after posting this. I hadn't set up the reference voltage. Being used to AVR I was not aware that I needed this before programming it.