Aaand that's not working. According to gdb I'm in the bootloader region. So somehow BOOT0 is showing high? The flash has valid data in it.