2022-07-04 04:13 PM
Board : NUCLEO-L476RG
IDE : STM32CubeIDE 1.9.0
Driver : STM32Cube_FW_L4_V1.17.2
Hello,
Recently, I tested the firewall example using the NUCLEO-L476RG, and I have been experiencing strange behaviour since then.
After testing the firewall example, the board is resetting continuously even running a simple blinking example with no firewall function.
I checked the reset flag and found that RCC_FLAG_SFTRST is set. As far as I know, the firewall function should not work after MCU reset, which part should I check first?
For your information, it is not resetting during step debugging using STMCubeIDE.
Thanks.
2022-07-05 05:06 AM
I found the reason.
When I was testing, I did RDP regression several times.
today I found that some of the option bytes are different from the default values.
I modified them by writing default values in the STM32CubeProgrammer editor
and all works fine.