You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the STM32F10xxx Flash programming manual [(PM0068, p22)](https://www.st.com/resource/en/programming_manual/pm0068-stm32f10xxx-xldensity-flash-programming-stmicroelectronics.pdf),
WRPRTERR and PGERR flags are cleared by writing 1. The original code
incorrectly attempted to clear these flags by writing 0, causing them
to remain set after an error occurred. This prevented further flash
operations until reset.
This commit corrects the flag clearing operation, allowing flash
operations to continue after recoverable errors.
0 commit comments