Project with EEPROM emulator stuck when handling an interrupt
Hi all,
I'm need to remember a motorspeed on a custom board with an stm32g431KBT microcontroller.
So I downloaded this package https://www.st.com/en/embedded-software/x-cube-eeprom.html and manage to compile the project.
I carefully started with just the `EE_Init(EE_CONDITIONAL_ERASE)` function, but my microcontroller get stuck after an interrupt trigger of my rotary switch.
Also reset of the microcontroller doesn't seems to run my code anymore. Only with a reprogram I get my program back.
I think something is wrong with my memory mapping.
The ST example has an extra CCMSRAM section, but I don't think this can be my issue here:
The EEPROM emulation in my project has starting address 0x08010000U
This is the memory map of my project:
I'm a bit surprised by the 71% here, it's a small simpel code project.
Do I have to configure the EEPROM emulator as starting address after 0x08020000?
Or is CCMSRAM section really necessary?
As soon as I comment out EE_Init() my project is working fine.
It looks as if my code with EEPROM emulation doesn't know how to exit interrupts and also corrupts my code.
