-
Notifications
You must be signed in to change notification settings - Fork 1k
STM32F7 EEPROM write Consuming too much time. #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Here is my code for reference.
|
The EEPROM write problem is still not fixed. It takes 39 secs to store the 40 bytes of data. Till that time i cant process anything. |
EEPROM emulation is mainly to store data that do not required to be write several times. |
Hi @Vicky-S By defaut, the For F746NG, there is 8 sectors. The last sector is in fact 256kB. Anyway, I've never get 39s like you. The buffered implementation will be merge. Ex:
Moreover address is uint16_t so only 65Kb are addressable. |
Hi fredric, Thanks for the response. In my example i want to store 32bit values but the Please check my post I said it takes around 39 secs for 40 bytes of data, 40 bytes of data will take 40 Im waiting to test and use the buffered implementation. |
Hi Vicky, |
FYI #338 will allow to redefine the FLASH sector to use. |
Fix stm32duino#248 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
Fix stm32duino#248 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
I have tested the EEPROM, There is no problem in storing a value in EEPROM. But "EEPROM.Write" function takes more time to store the value. It takes more than 2 secs to write a byte of data in EEPROM. And processor hangs a bit while doing so.
EEPROM writes only one byte at a time but my variables are mostly 32bit long, So i have used the simple program to store the data. It works but its taking lot of time.
I have tested to store a single byte of data too. It also taking more time and processor is hanging a bit after calling the EEPROM write function. I can see that in Serial monitor of arduino, After EEPROM write function it prints one char at a time for few secs.
The text was updated successfully, but these errors were encountered: