STM32G030 write in flash but in different page position each time
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-05 6:35 PM
Hi, erasing a complete page (2KB) to just write a few bytes is a waste of erase/write cycle. Is there a way to write data in differents part of the page each time? when there is no more space then a page erase should be fired and start over. Is there some implementation of it?
Thanks
Labels:
- Labels:
-
Flash
-
STM32G0 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-06 12:59 AM
Yes, this is called "EEPROM emulation". You may even find an application note on it and a complete software package - just search the ST website.
My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
