STM32F722/23/32/33/30 HAL EFL driver

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

STM32F722/23/32/33/30 HAL EFL driver

Postby faisal » Sat Dec 18, 2021 3:08 am

I tested it with the MFS test suite. See the attached patch. Based off of latest from stable_20.3.x

*** ChibiOS/HAL MFS Test Suite
***
*** Compiled: Dec 17 2021 - 19:56:25
*** Platform: STM32F722 Very High Performance with DSP and FPU
*** Test Board: STMicroelectronics STM32 Nucleo144-F722ZE
***
*** Text size: 24468 bytes
*** RO data size: 4828 bytes
*** Data size: 0 bytes
*** BSS size: 9928 bytes

============================================================================
=== Test Sequence 1 (Functional tests)
----------------------------------------------------------------------------
--- Test Case 1.1 (Testing mfsStart() behavior)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Checking for non existing record)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Creating, updating and erasing a record)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.4 (Erasing the whole storage and re-initialization)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.5 (Testing storage size limit)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.6 (Testing garbage collection by writing)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.7 (Testing garbage collection by erasing)
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (Transaction Mode tests)
----------------------------------------------------------------------------
--- Test Case 2.1 (Committing a transaction)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.2 (Rolling back a transaction)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.3 (Transaction triggering an early garbage collect)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (API Invalid Cases tests)
----------------------------------------------------------------------------
--- Test Case 3.1 (Initialization error from APIs)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Erasing non existing record)
--- Result: SUCCESS
----------------------------------------------------------------------------

Final result: SUCCESS
Last edited by faisal on Sat Dec 18, 2021 4:32 am, edited 2 times in total.

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

STM32F722/23/32/33/30 HAL EFL driver

Postby faisal » Sat Dec 18, 2021 4:31 am

Updated with F730x support.
Attachments
f7_efl.patch.tar.gz
(16.48 KiB) Downloaded 165 times

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

STM32F7xx (all known versions) HAL EFL driver

Postby faisal » Sun Dec 19, 2021 6:17 am

Updated to support all known version of STM32F7xx . There, I guess that's done now :)

https://github.com/faisal-shah/ChibiOS. ... efl_20.3.x
Attachments
f7_efl.patch.tar.gz
(18.22 KiB) Downloaded 158 times

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: STM32F722/23/32/33/30 HAL EFL driver

Postby faisal » Sun Dec 19, 2021 6:58 pm

Patch to be applied on stable_20.3.x r15216
$ patch -p1 -i f7_efl-5deb082.patch

You can see commit history here: https://github.com/faisal-shah/ChibiOS. ... efl_20.3.x
Attachments
f7_efl-5deb082.patch.tar.gz
(27.36 KiB) Downloaded 158 times

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: STM32F722/23/32/33/30 HAL EFL driver

Postby faisal » Sat Jan 01, 2022 2:41 am

Patch to be applied on stable_20.3.x r15216
$ patch -p1 -i f7_efl-c55268ce2.patch

You can see commit history here: https://github.com/faisal-shah/ChibiOS. ... efl_20.3.x

I've also created a patch which shows the incremental diff between this latest commit, and the previous patch I posted above (in case you've already reviewed the previous one).
f7_efl-c55268ce2-5deb08218.patch

I successfully tested this with F722 nucleo, F746 disco, and F769 disco (in single and dual bank modes) - and they all pass the EFL-MFS testhal test suite.
Attachments
f7_efl-c55268ce2-5deb08218.patch.tar.gz
(13.68 KiB) Downloaded 165 times
f7_efl-c55268ce2.patch.tar.gz
(37.44 KiB) Downloaded 156 times

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: STM32F722/23/32/33/30 HAL EFL driver

Postby faisal » Tue May 16, 2023 7:38 pm

Any plans on including this driver? as part of ChibiOS?

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: STM32F722/23/32/33/30 HAL EFL driver

Postby Giovanni » Wed May 17, 2023 4:48 am

Hi,

Is it compatible with 21.x?

Giovanni

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: STM32F722/23/32/33/30 HAL EFL driver

Postby faisal » Wed May 17, 2023 5:09 am

Giovanni wrote:Hi,

Is it compatible with 21.x?

Giovanni


I haven't checked. Has anything changed from 20.x?

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: STM32F722/23/32/33/30 HAL EFL driver

Postby Giovanni » Sun May 28, 2023 8:42 am

Hi,

Patches don't apply, lots of details changed, the driver itself probably is fine.

Giovanni


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 6 guests