Now that we read the whole firmware into memory, we can erase in more efficient manners than the current dfuse erase code, for instance in one pass before writing any sectors.
However, maybe we want to go back to not reading the whole firmware since some (typically uboot) firmwares are huge...
Anonymous
We now erase all needed pages in one pass before writing, fixed in https://sourceforge.net/p/dfu-util/tickets/20/
We track the issue about reading the whole firmware into memory here in
https://sourceforge.net/p/dfu-util/tickets/8/