2024-04-25 11:45 PM
Hello, I am using STM32C011F4U6 MCU.
As I mentioned, I wonder if it is possible to do Erase in units smaller than Page.
The specification does not describe such a function, but is this function possible?
Solved! Go to Solution.
2024-04-26 12:21 AM
Flash erasure in STM32 is only possible in multiples of pages, it cannot performed in smaller chunks of memory. The RM0490 also describes this in detail, e.g. in section 3.3.6.
Hope that answers your question?
Regards
/Peter
2024-04-26 12:21 AM
Flash erasure in STM32 is only possible in multiples of pages, it cannot performed in smaller chunks of memory. The RM0490 also describes this in detail, e.g. in section 3.3.6.
Hope that answers your question?
Regards
/Peter
2024-04-26 02:02 AM
You can however "invalidate" already programmed chunks of 64 bits by writing 64-bits of all zero.
2024-04-26 02:32 AM
@Uwe Bonnes wrote:You can however "invalidate" already programmed chunks of 64 bits by writing 64-bits of all zero.
+1
@KenLee for more on this, see:
(probably also worth reading the rest of that thread)