User FLASH_ERASE not working properly on STM32G071 MCU
I want to write some data into flash memory on STM32G071 MCU as a part of a project. For that, I am using the function 'HAL_FLASHEx_Erase' to erase the pages before writing. While debugging it's working fine. But when I downloaded the code to MCU and...