Hi,
On startup my STM32F437 application checks whether JTAG RDP level 1 protection is enabled. If it is not enabled then it enables it, ending with a call to HAL_FLASH_OB_Launch(), which loads option bytes and resets MCU.
This all works fine, except...