Whole-flash-erase instead of block-by-block erase before programming? #1238
-
We're using st-flash as part of our in-factory toolchain for programming the microcontrollers in our product. Right now, the slowest part of the process, by far, is the block-by-block erase process just before flashing. A whole-device erase with It feels like what I want would be an option to force whole-device erase. rather than block-by-block erase during Is this something that ought to exist but just hasn't happened yet, is there a better way to do what I want, or is what I want just wrong for some reason that I'm not quite seeing? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
@obra Let me review this in correlation to the current implementation in the code base. |
Beta Was this translation helpful? Give feedback.
-
@obra Actually, I don't see any general technical reason why this shouldn't be possible. |
Beta Was this translation helpful? Give feedback.
-
@Ant-ON How do you think about this? |
Beta Was this translation helpful? Give feedback.
-
@Nightwalker-87 Typically, flashing tools provide the option to full flash memory erase or only used memory pages |
Beta Was this translation helpful? Give feedback.
-
Feature added in #1397. |
Beta Was this translation helpful? Give feedback.
Feature added in #1397.