Writing to Internal Flash on STM32F767

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
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

Postby JSStabl » Mon Aug 24, 2020 9:49 am

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Writing to Internal Flash on STM32F767

Postby Giovanni » Mon Aug 24, 2020 11:15 am

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

Postby JSStabl » Fri Sep 04, 2020 3:04 pm

Is the port for the EFL Driver to different uC planned for future versions?

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Writing to Internal Flash on STM32F767

Postby Giovanni » Fri Sep 04, 2020 3:55 pm

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


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 8 guests