avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] Mega-commit to support memory area tagging


From: Joerg Wunsch
Subject: [avrdude-dev] Mega-commit to support memory area tagging
Date: Wed, 14 Sep 2011 23:57:43 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]