Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F4 EEPROM emulation #370

Merged

Conversation

Paciente8159
Copy link
Owner

  • implemented STM32F4 EEPROM emulation using the last 128K Flash bank available
  • EEPROM emulation uses rotational page writting, inverted logic and bit change detection to reduce flash ware
  • implements inverted logic for STM32F1 flash
  • core eeprom changes allowing empty data to reduce EEPROM write ware
  • EEPROM erasing with option ENABLE_EXTRA_SYSTEM_CMDS enabled is also only enforced after $SS

-STM32F4 EEPROM emulation in flash implemented in one of the available 128Kb sectors
-modified load crc evaluation to allow read empty memory
-modified eeprom erase with additional system commands to only take effect after $SS command
-added FLASH inverted login to STM32F1 (read/write)
-fixed APB clock prescaller
@Paciente8159 Paciente8159 added tested: OK tested: OK and ready to integrate HAL: STM32F4x HAL: STM32F4x new feature: HAL new feature: HAL boards, mcus, etc labels Apr 24, 2023
@Paciente8159 Paciente8159 merged commit 5f2b864 into 365-better-stm32-variants-support Apr 24, 2023
@Paciente8159 Paciente8159 deleted the stm32f4-eeprom-emulation branch April 24, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HAL: STM32F4x HAL: STM32F4x new feature: HAL new feature: HAL boards, mcus, etc tested: OK tested: OK and ready to integrate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant