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 ?