Why I am getting FLASH->SR reset value is 0xC0
Hi
I am using STM32L476ZG MCU development board. I created a new project without adding any interrupts. I noticed that FLASH->SR = 0xC0 at reset and when I try to clear it, it comes back after the next command I execute.
I'll add screen shots to clarify what I am experiencing.
1- Just entered the code, no command executed yet
2- executed `FLASH->SR |= FLASH_FLAG_SR_ERRORS;`
3- executed `HAL_Init();`
4- executed `FLASH->SR |= FLASH_FLAG_SR_ERRORS;`
5- executed `SystemClock_Config();`
6- executed `FLASH->SR |= FLASH_FLAG_SR_ERRORS;`
7- executed `HAL_FLASH_Unlock();`
8- executed `FLASH->SR |= FLASH_FLAG_SR_ERRORS;`
9- executed `MX_GPIO_Init();`
You can see I failed to permanently clearing FLASH-SR
Thanks
-Namir
