That’s a really great tool! Awesome how you could make it so clean and compact with python. I have a few wishes:
- a list option that only decodes the files but does not write new files
- an option to set usb ID (defaulting to 0483:df11, which most DfuSe loaders already use, makes sense)
- add your name and copyright, and let me add it to the git tree
I have checked the verbose output and I can not see anything going wrong in terms of erase and write addresses. Can you read back the flash memory (using dfu-util -U) and see if it is corrupted somewhere?
BTW, maybe we should make a separate dfu-util thread. There are so many topics in this thread, about everything but building cross-compilers since we dropped that a long time ago