2017-08-31 08:01 PM
STM32 F207VET6 internal flash was locked, I erased the sector which I want to program before writing, and the erase action excuted successfully.