Page 1 of 1

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

Posted: Sat Dec 18, 2021 3:08 am
by faisal
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

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

Posted: Sat Dec 18, 2021 4:31 am
by faisal
Updated with F730x support.

STM32F7xx (all known versions) HAL EFL driver

Posted: Sun Dec 19, 2021 6:17 am
by faisal
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

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

Posted: Sun Dec 19, 2021 6:58 pm
by faisal
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

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

Posted: Sat Jan 01, 2022 2:41 am
by faisal
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.

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

Posted: Tue May 16, 2023 7:38 pm
by faisal
Any plans on including this driver? as part of ChibiOS?

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

Posted: Wed May 17, 2023 4:48 am
by Giovanni
Hi,

Is it compatible with 21.x?

Giovanni

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

Posted: Wed May 17, 2023 5:09 am
by faisal
Giovanni wrote:Hi,

Is it compatible with 21.x?

Giovanni


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

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

Posted: Sun May 28, 2023 8:42 am
by Giovanni
Hi,

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

Giovanni