2021-01-21 12:02 AM
Hi.
I am developing a project using the STM32F746G-DISCO board.
During development, there are cases where EEPROM needs to be used. Is the STM32F746G-DISCO usable like EEPROM by using internal flash?
I tried using the STM32F746G-DISCO default sample source in STM32CUBE-IDE, but it doesn't work.
STM32L1 to L4 have experience using internal flash as an EEPROM.
If possible, I would appreciate it if you could tell me a simple way.
2021-01-21 03:14 AM
Easiest way: Attach external EEPROM or use battery/goldcap backup and the backup registers. Or get you code right.
2021-01-21 05:24 PM
To add an external EEPROM, a user PCB made based on the STM32F746G-DISCO board is completed, so it cannot be added.
Is there a way to use a part of the internal flash as a data storage method for EEPROM?
Can I use the photo file downloaded from STM32Cube_FW_F7_V1.16.0?
I tried using both of the provided folder files, but it didn't work out, so I'd like to ask you again.
2021-01-25 05:32 PM
Can't I use the internal flash like an eeprom?
I can use it, but am I not able to?
2021-01-25 06:16 PM
The flash memory allows for read, erase, write, so I'd imagine that opens a lot of possibilities.
The sectors tend to be rather large, and it can stall the processor during erase and write. The EEPROM Emulation should work, I don't think it is a particularly good solution. Make the example work, understand its mechanics.
You can use the smaller sectors up front but you have to have your firmware image flow around the space you've carved out. Or split into a loader / application leaving a gap with the sectors you want to use.
Did you implement the QSPI memory on your F746G-DISCO clone? Or the shield connector? Expose any I2C pins?