cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F446RE - PGSERR & PGPERR raised

Pierre-Yves BERGER
Associate
Posted on April 18, 2018 at 09:59

Hi, 

I'm working on a project and the code works very well (stable, no crash...). But recently I decided to add EEPROM emulation and therefore started to add some code and test. 

I realized the emulation wasn't working well because PGPERR & PGSERR were raised. I remove the EEPROM emulation code completely and saw that those flags are still raised - while I don't really do any flash programming in my code.

I added the FLASH IRQ (ERRIE flag), I get onto the handler but have a struggle trying to find back the root cause - can anyone help on what steps to take to get to the root cause of the issue from the exception handler ?

Regards,

PyB

1 REPLY 1
AvaTar
Lead
Posted on April 18, 2018 at 11:08

Those errors should supposedly be gone after a power cycle, but I have no experience with IAP on the F446.

I would try a mass-erase, and re-check.