Add offset to file names used for dump in dfuse-pack.py
Multiplatform USB DFU host utility
Brought to you by:
tormod
It would be really helpful if the binary files created by dfuse-pack.py had the offset address in the filename.
For example:
# out = '%s.target%d.image%d.bin' % (file,t,e)
address = eprefix["address"]
out = "%s.target%d.image%d.0x%08x.bin" % (file, t, e, address)
Owen
Anonymous
Thanks, this seems to be useful. It would allow repacking an unpacked file without other information carried over than the file names themselves, right?
Yes, either to repack it, or to write it to a chip at the correct address. The filename carries the needed information.