I know this is an old thread but it's also the top search result for me so I thought I'd add my experiences in the hope that they help others.I got round the problem by setting the boot jumpers to boot in UART mode but then connecting through ST-Link...