When setting read protection to level 1 and rebooting the controller, the bootloader is not abled to erase flash. I get the Bit FLASH_FLAG_WRPERR set. According to the reference manual, erasing and writing to flash should be possible if no swd/jtag is connected and the controller is booting from flash. Both is the case. What am i doing wrong?