FLASH status register BSY1 vs. CFGBSY flag. Which one to watch for finished flash programming/erase operation?
During self flash programming (IAP - InApplicationProgramming) the STM32 reference manual states that a clear BSY1 flag indicates the end of erasing/programming cycle.Carefully examining the HAL library: it uses FLASH_WaitForLastOperation function th...