Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32F107xx/FLASH/SR#0x0
Status register
Busy
Programming error
Write protection error
End of operation
https://github.com/cmsis-svd/cmsis-svd-data