Skip to main content
Steven Higginbotham
Visitor II
March 25, 2018
Question

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

  • March 25, 2018
  • 1 reply
  • 621 views
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
This topic has been closed for replies.

1 reply

Nesrine M_O
Associate
March 26, 2018
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-