Set ROP 1 from code without POR
Hello everyone,
we are developing a product using STM32F413.
We got a new requirement, that the chip needs to activate ROP level 1. We want to do this from firmware code, if possible.
I noticed that after flashing my firmware and running the code that activates the ROP, the mcu stops working until i perform a power on reset. The ROP is set to level 1 after the power on reset, as expected. The need for the power on reset seems to be caused by not having a power on reset between using the programmer and setting the ROP level. Problem is, that we have a huge super-cap on the board, buffering the power, so a power on reset is out of the picture for production.
I know that for STM32L0x3, there was a way around this by performing a wakeup from standby instead of a POR. I had no luck implementing the same for STM32F413. Is there any way to set the ROP from a just flashed firmware without doing a power on reset?
From RM0367 Rev8 chapter 3.4 (stm32l0x3 ref manual):

im in the situation described in the note, but on another chip. what can i do?
