I'm trying to use flash memory on a STM32L452RE to store some user data. i can get the X-CUBE-EEPROM_V2.0.0 to work with a 4+ device, but not the L452RE
Specifically, as soon as it tries to read flash (this first line from the EE_Init ==> addressvalue = (*(__IO EE_ELEMENT_TYPE*)(pageaddress + varidx)); it hard faults on the next instruction. i suspect it has something to do with dual mode vs single mode flash banks and the possible width difference, but i've been playing with it for a day and can't find the magic switch.
i have taken the Project application from included files and made all the changes using the IAR tools (CPU, s file, icf file etc. along with preprocessor vars.) i'm working with two Nucleo boards. my target one is MB1319B.
thanks,
