AnsweredAssumed Answered

Why do I get a programming sequence error during flash erase?

Question asked by deschambault.robert on Sep 9, 2015
Latest reply on Sep 9, 2015 by deschambault.robert
Hi,

I am trying to do a sector flash erase of an STM32F429 chip.  When I call HAL_FLASHx_Erase(&FLASH_EraseInitStruct, &sectornb) 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 

Outcomes