Search found 374 matches
- Sat Jan 01, 2022 2:41 am
- Forum: ChibiOS/HAL
- Topic: STM32F722/23/32/33/30 HAL EFL driver
- Replies: 8
- Views: 5047
Re: STM32F722/23/32/33/30 HAL EFL driver
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.svn/commits/feat/f7_efl_20.3.x I've also created a patch which shows the incremental diff between this latest commit, and the previous patch I pos...
- Thu Dec 30, 2021 4:57 am
- Forum: Small Change Requests
- Topic: hal_flash add flash_sector_t flashGetSector(BaseFlash *, flash_offset_t) Topic is solved
- Replies: 5
- Views: 4048
Re: hal_flash add flash_sector_t flashGetSector(BaseFlash *, flash_offset_t) Topic is solved
Got an F769 Disco board, and finally was able to get better test coverage with a device with non-uniform sector sizes. Of_course it uncovered some bugs :). Updates below: /** * @brief Get absolute address from offset * * @param[in] ip pointer to a @p BaseFlash or derived class * @param[in] offset of...
- Thu Dec 23, 2021 10:10 pm
- Forum: ChibiOS/HAL
- Topic: EFL driver: don't write FFs
- Replies: 1
- Views: 1205
EFL driver: don't write FFs
STM32 EFL drivers shouldn't to write to flash if the entire page the user wants to write contain 1s. On the STM32, if you write to a page - even if it is all 1s and did not change the state of flash, it generates a page write error on a subsequent write. On some devices, the flash memory will allow ...
- Mon Dec 20, 2021 11:01 pm
- Forum: ChibiOS/HAL
- Topic: hal_mfs compatible with page size > 8?
- Replies: 1
- Views: 1092
hal_mfs compatible with page size > 8?
Is hal_mfs compatible with page sizes > 8 bytes? Asking because I noticed H7 series has up to 32 byte page size.
- Sun Dec 19, 2021 6:58 pm
- Forum: ChibiOS/HAL
- Topic: STM32F722/23/32/33/30 HAL EFL driver
- Replies: 8
- Views: 5047
Re: STM32F722/23/32/33/30 HAL EFL driver
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
$ patch -p1 -i f7_efl-5deb082.patch
You can see commit history here: https://github.com/faisal-shah/ChibiOS. ... efl_20.3.x
- Sun Dec 19, 2021 6:17 am
- Forum: ChibiOS/HAL
- Topic: STM32F722/23/32/33/30 HAL EFL driver
- Replies: 8
- Views: 5047
STM32F7xx (all known versions) HAL EFL driver
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
https://github.com/faisal-shah/ChibiOS. ... efl_20.3.x
- Sat Dec 18, 2021 4:31 am
- Forum: ChibiOS/HAL
- Topic: STM32F722/23/32/33/30 HAL EFL driver
- Replies: 8
- Views: 5047
STM32F722/23/32/33/30 HAL EFL driver
Updated with F730x support.
- Sat Dec 18, 2021 3:08 am
- Forum: ChibiOS/HAL
- Topic: STM32F722/23/32/33/30 HAL EFL driver
- Replies: 8
- Views: 5047
STM32F722/23/32/33/30 HAL EFL driver
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 *** ***...
- Thu Dec 09, 2021 7:44 pm
- Forum: Small Change Requests
- Topic: hal_flash add flash_sector_t flashGetSector(BaseFlash *, flash_offset_t) Topic is solved
- Replies: 5
- Views: 4048
Re: hal_flash add flash_sector_t flashGetSector(BaseFlash *, flash_offset_t) Topic is solved
Now it is tested (fixed a few bugs) but only the descriptor->sectors == NULL path (uniform sector sizes). I also added some more helpful functions that are commonly needed when interacting with hal-flash. /** * @brief Get absolute address from offset * * @param[in] ip pointer to a @p BaseFlash or de...
- Thu Dec 09, 2021 5:21 am
- Forum: Small Change Requests
- Topic: hal_flash add flash_sector_t flashGetSector(BaseFlash *, flash_offset_t) Topic is solved
- Replies: 5
- Views: 4048
Re: hal_flash add flash_sector_t flashGetSector(BaseFlash *, flash_offset_t) Topic is solved
A small update: flash_sector_t flashGetOffsetSector(BaseFlash *devp, flash_offset_t offset) { flash_sector_t sector; const flash_descriptor_t *descriptor = flashGetDescriptor(devp); osalDbgAssert(offset > ((flash_offset_t)descriptor->address + descriptor->size), "invalid offset"); if (desc...