2021-03-08 05:30 AM
Greetings,
I'm having trouble loading the EEPROM emulation package into STM32CubeIDE.
I have downloaded the .zip file from https://www.st.com/en/embedded-software/x-cube-eeprom.html and tried to import it in "Embedded Software Packages Manager" but I get a "Problem during load of selected File" as you can see in the picture.
I have tried downloading the file again in another internet browser and loading it but the same problem occurs.
Can someone tell me how to import this library or is there an alternative library for EEPROM emulation on STM32H745IIK6?
BR
Domagoj
2021-03-08 06:30 AM
I have the same problem, Cube Version: 1.6.0
2021-03-08 08:01 AM
Please do not confuse X-CUBE-EEPROM with X-CUBE-EEPRMA1.
Currently only X-CUBE-EEPRMA1 is compatible with STM32CubeIDE and can be imported using the package manager.
The EEPROM emulation package currently only supports STM32G0, STM32G4, STM32L4, STM32L5, STM32WB & STM32WL.
Regards
/Peter
2021-03-08 08:17 AM
TBH some serious introspection is needed before using EEPROM Emulation to continuously write/erase NOR flash arrays. It is both slow, and highly likely to result in product failure, ie end-user observes the product brick itself.
Understand how the underlying FLASH array works, and shift the saving of configuration and long-term data to fit THAT PARADIGM and not cram 8-bit MCU thinking on to a 480 MHz 2021 MCU
2021-03-08 10:37 AM
What about EEPROM_Emulation example in CubeIDE written for STM32H743ZI_Nucleo, can I just copy the necessary files like eeprom.c/eeprom.h into my project for STM32H745IIK6 and use the given methods? I don't need to write much, most of it at first application configuration and then it's mostly only read, so I don't expect any significant wear on the Flash memory.
2021-03-08 10:39 AM
Is there any EEPROM emulation package for STM32H7 series, or can I just reuse the necessary .c/.h files from EEPROM_Emulation example in CubeIDE written for STM32H743ZI_Nucleo?