Hi
Looks like ad typo inos/hal/ports/STM32/STM32F4xx/hal_efl_lld.c:
static const flash_sector_descriptor_t efl_lld_sect1[STM32_FLASH1_SECTORS_TOTAL] = {
{ 0, 16134}, /* Sector 0. */
{ 1 * 16134, 16134}, /* Sector 1. */
...
While 16K = 16384.
Don't know how to attach patch.
EFL sectors are 16134 bytes instead of 16K on some STM32F4xx Topic is solved
- FXCoder
- Posts: 384
- Joined: Sun Jun 12, 2016 4:10 am
- Location: Sydney, Australia
- Has thanked: 180 times
- Been thanked: 130 times
Re: EFL sectors are 16134 bytes instead of 16K on some STM32F4xx
Hi DRon.
Thanks for picking that up.
Will fix in trunk ASAP.
BTW you will note only limited F4xx types are supported by that EFL ATM.
Just didn't have time to trawl through them all as I just needed F413.
If you want to do it go ahead, follow the pattern and then just attach the patch as a ZIP
--
Bob
Thanks for picking that up.
Will fix in trunk ASAP.
BTW you will note only limited F4xx types are supported by that EFL ATM.
Just didn't have time to trawl through them all as I just needed F413.
If you want to do it go ahead, follow the pattern and then just attach the patch as a ZIP
--
Bob
Last edited by FXCoder on Wed Apr 22, 2020 3:56 am, edited 2 times in total.
- russian
- Posts: 364
- Joined: Mon Oct 29, 2012 3:17 am
- Location: Jersey City, USA
- Has thanked: 16 times
- Been thanked: 14 times
Re: EFL sectors are 16134 bytes instead of 16K on some STM32F4xx
FXCoder wrote:Hi Don.
it's "DRon", it's a nickname for Andrey like Bob to Robert. Ask me how I know.
http://rusefi.com/ - electronic fuel injection
Who is online
Users browsing this forum: No registered users and 11 guests