2019-04-25 01:38 AM
Our application needs 32KByte of storage. Since the STM32F105RC has 256 Kbyte of flash, we want to make use of this instead of external EEPROM. The EEPROM emulation driver uses to two pages, each of 2kbyte and switches between them. However, I need 32 KByte of storage, not just 2Kbyte. Can the emulation driver be extended to support this requirement? If so, how do I go about doing this?
2019-04-25 01:55 AM
First try to understand how EEPROM emulation works and what your EEPROM write pattern is. Remenber that you can only change bits in a word to '0'. Anytime you need a change of a bit from '0' to '1', you need to erase a new page and copy the changed content to the erased page. There is alos some 100 k limit for erase cycles. A bad write pattern will hit that limit soon. There is also some learning curve, so consider an external (I2C) EEPROM first.