2023-07-06 04:49 AM
Hello,
I try to adjust the AN4061 EEPROM emulation lib of ST for my STM32F05 controller (1 KB Flash page size) to provide 2 KB data bytes of EEPROM size to use. The reservation of the needed flash pages and the erase page is without problems. The reading and writing to the EEPROM works as intended.
As i noticed during writing, the runtime of the occasional "PageTransfer" routine, when it is called in a while, without erasing alone takes up to 500-700 ms (That means to find and copy the latest values of all 2000 Variables to the free flash pages), which blocks my whole application for this time and I can't execute any other functions or handle urgent services, while waiting for the PageTransfer to finish.
Is there a better way to handle this amount of Variables or another Emulation Library I could use for the STM32F05 controller to provide such amounts of KBs of EEPROM data space?
Thank you in advance for ideas with the emulation.
2023-07-09 10:35 PM
I would be thankful for some advices or other libraries:)