Writing to Internal Flash on STM32F767

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
Post Reply
JSStabl
Posts: 78
Joined: Tue Feb 25, 2020 4:06 pm
Has thanked: 3 times
Been thanked: 2 times

Writing to Internal Flash on STM32F767

Post by JSStabl »

I'm trying to use the internal flash on the F767 to write/read some configuration data. However I'm confused as how to accomplish that, i.e. which driver to use. I figured out that the MFS file system driver is useful for this but I'm not entirely sure if I need the EFL Driver and how to configure it properly. If I need that I would have to update from 19.x to 20.x I assume. Is there a guide on how to update between versions?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Writing to Internal Flash on STM32F767

Post by Giovanni »

Hi,

Currently there is no EFL driver for the F7 and you need it, MFS sits on top of an EFL driver in order to provide storage abstraction but it is EFL that performs flash operations.

There is an example under \testhal\STM32\multi\EFL-MFS, it supports only L4 so far but it could be easily extended to any device supporting an EFL driver.

Giovanni
JSStabl
Posts: 78
Joined: Tue Feb 25, 2020 4:06 pm
Has thanked: 3 times
Been thanked: 2 times

Re: Writing to Internal Flash on STM32F767

Post by JSStabl »

Is the port for the EFL Driver to different uC planned for future versions?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Writing to Internal Flash on STM32F767

Post by Giovanni »

Hi,

There are no immediate plans for it, all those EFL drivers were contributed by users. Probably it could be derived by the driver of another device, F4 or L4, the closer one in terms of flash organization.

Giovanni
Post Reply