I just committed a huge patchset to the repository.
All internal memory images are now tagged, to keep track of which data
has actually been read from a file. When writing to a device, only
bytes (or pages, for paged memories) that have contents from an input
file will ever be written to the device, and when verifying, only
bytes that have been read from a file will be checked.
This in particular speeds up write and verify operations for memory
regions that don't start at 0 (like bootloader images), or for
non-contiguous input file (application and bootloader, or application
and a constants table in one file).
Many changes in internal APIs have been required to implement this.
Most notable, all paged read ("load") and write operations are now
requested by the programmer backend one page at a time, rather than
for an entire memory region. (More cleanup inside each programmer's
implementation could be done based on that later on.)
I tested all this as much as I could, but please everybody, test your
favorite programmer, too. Known to be untested so far are:
. AVR109/butterfly
. JTAG ICE mkI
. JTAG ICE in debugWIRE mode
. AVR Doper
. USBtinyISP
. Wiring adapter
. serial bitbang adapters (though parallel ones have been tested,
both ISP and TPI)
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev