IS there any STM32F7 EEPROM Library?

ykciv
Sat May 05, 2018 10:13 am
Im using the STM32F7 board in arduino. Its working quite well. The EEPROM library have support for STM32F1 and f4 boards but doesnt have the support for STM32F7 library. Is there any working library for STM32F7 to store some variables.

Thanks in advance.


stevestrong
Sat May 05, 2018 11:39 am
I suppose that you are using the official STM core so I moved the topic here.

ykciv
Mon May 07, 2018 5:33 am
Im using STM32GENERIC core which was proposed by daniel. And there is no example for EEPROM.

fpiSTM
Mon May 07, 2018 7:25 am
STM core has it for all STM32 mcu series including F7:
https://github.com/stm32duino/Arduino_C … ies/EEPROM

https://github.com/stm32duino/Arduino_C … prom.c#L80


ykciv
Mon May 07, 2018 9:28 am
“Arduino_Core_STM32-master” is alternative to STM32GENERIC right??. If i select the STM32F746 board from generic the EEPROM function is showing error. Is my understanding about STM32GENERIC right or what?

fpiSTM
Mon May 07, 2018 12:07 pm
STM32GENERIC is an alternative to the STM core (Arduino_Core_STM32) they are both based on ST HAL and their goal is to be generic across all STM32 MCU series.
Probably STM32GENERIC do not support EEPROM for F7 but I think you could add it easily in this core.

ykciv
Mon May 07, 2018 12:21 pm
I tried to add the existing EEPROM library of STM32 core in STM32GENERIC. But its showing lots of linker errors. while exploring i found its not identical. The STM32 GENERIC have totally different EEPROM structure compared to STM32 core EEPROM library. And the existing library in STM32 GENERIC doesnt have support for STM32F7.

fpiSTM
Mon May 07, 2018 12:51 pm
STM core implementation of the EEPROM library depends on core driver api:
https://github.com/stm32duino/Arduino_C … 2_eeprom.h
https://github.com/stm32duino/Arduino_C … 2_eeprom.c
That’s why you have linker issues.
I didn’t checked the one from Daniel, what I know is that the one done in STM core follow the Arduino EEPROM API

ykciv
Tue May 08, 2018 5:39 am
Please help me in porting EEPROM for STM32f7 in STM32GENERIC. The variables and callback functions of both libraries are too different. while including the STM32F7 EEPROM in GENERIC i cant include the backup files.

fpiSTM
Tue May 08, 2018 8:06 am
Unfortunately, I will not have time to help you on this topic.
I already maintain the STM core and several libraries and having a lot of topics already started. :roll:
I try also to answer/support as far as I can on this forum to help Roger and stm32duino community.
I gave you some hints to investigate. Have you check if this fork implement it:
https://github.com/huaweiwx/STM32GENERIC
I know there are several dev done on top of daniel’s core

ykciv
Tue May 08, 2018 10:11 am
Thanks for the effort… :)

I had checked the above mentioned STM32GENERIC implementation. It has lots of developement but nothing much for STM32F7. And STM32F7 is there in flash library of STM32F4Block. I’ll try this one.


ykciv
Tue May 08, 2018 11:58 am
Thanks for the updated GENERIC tool.
But It throws lots of linker errors for STM32F7. however there is no problem in compiling STM32F407. Is the STM32F7 disco board too powerful and high performance. Not much support for STM32F7 :cry: .

Leave a Reply

Your email address will not be published. Required fields are marked *