Question
Why do I get a programming sequence error during flash erase?
Posted on September 09, 2015 at 16:49
Hi,
I am trying to do a sector flash erase of an STM32F429 chip. When I call HAL_FLASHx_Erase(&FLASH_EraseInitStruct, §ornb) I get to a call to a function called FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE) and it returns an error: HAL_FLASH_ERROR_PGS or 0x02. What is a programming sequence error and how might I fix it?Thanks,Bob