Flash writing issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-13 3:41 AM
Hi I'am using two different boards stm32f411 and stm32h723zg, so I am trying to write one byte data on flash which is 0xFF -> 0x70-> 0x10 -> 0x00 on same address in the sequence without erasing the flash, it’s working for stm32f411 but it doesn’t support for stm32h723zg. In order to write the above sequence on stm32h723zg I have to erase the entire sector.
- So basically (0xFF -> 0x70-> 0x10 -> 0x00) these are flags which I need to update on same address. How to solve this issue without erasing sector?
- also need know why it is working for stm32f411 and why it is not wrking for stm32h723
- Labels:
-
Flash
-
STM32F4 Series
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-13 3:50 AM
H7 programms flash in 256 bit units and use an ECC on these units. You can only flash some non-null value once after erase but you can also flash a none-null unit to all null . F4 allows even byte programming an can overwrite set bits to zeros in several steps.
