cancel
Showing results for 
Search instead for 
Did you mean: 

FLASH PGPERR PGSERR

paulsmitton9157
Associate II
Posted on November 20, 2015 at 13:29

Hello

I need some help to understand my problem.

I'm using eeprom emulation V3.1.0 MCD from Application Team and that works fine.

When I reboot I get the PGPERR and PGSERR bits set after a while.

I placed breakpoints on all functions that program or erase the flash, so I'm sure they are not reached.

What else can set these bits ?

P.S. I'm working on STM32F407.

Regards

#flash
3 REPLIES 3
paulsmitton9157
Associate II
Posted on November 24, 2015 at 15:26

Hello

I found my problem : Some pointer tried to write at address 0 on my STM32F4.

It setted PGPERR and PGSERR bits but did not raised a HardFault ...

Regards

rchris
Associate II
Posted on November 25, 2015 at 10:28

Hi,

you mention V3.1.0 for the EEPROM emulation. Is this a new version? I can't find this on the ST website. I still work with 1.0.0 from 2011, for which I needed to integrate the old SPL Flash driver into my Cube HAL based project.

Regards, Ralph

Amel NASRI
ST Employee
Posted on November 25, 2015 at 14:20

Hi christopher.ralph,

AN3969 with associated firmware (version 1.0.0) has to be used for STM32F40x/41x devices (

http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/LN1734/PF257902

).

The version 3.1.0 is the one to be used for STM32101/103 devices (

http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/LN1734/PF257846

).

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.