cancel
Showing results for 
Search instead for 
Did you mean: 

PGAERR error flag when erasing flash page 0x8B using HAL_FLASHEx_Erase.

Posted on March 25, 2018 at 10:05

I get a PGAERR error flag when erasing flash page 0x8B using HAL_FLASHEx_Erase.  I'm using an STM32L476 with 1MB of flash.  I don't know why this is happening because PGAERR seems to have nothing to do with erasing flash pages. 

#stm32l476
1 REPLY 1
Nesrine M_O
Lead II
Posted on March 26, 2018 at 15:54

Hi

stevenhatblue

,

  1. Did you try the example STM32Cube_FW_L4_V1.0\Projects\STM32L476G-EVAL\Examples\FLASH\FLASH_EraseProgram ?
  2. Could you please share with us an example of code with it we can reproduce this behavior on our side?

-Nesrine-