Erik Walthinsen <[email protected]> wrote: > I ran into this awhile ago and basically determined that in order to > fully support the Xmega (and future?) avrdude needs to re-arrange the -E > and erase commands so they can erase specific regions, presumably > defaulting to a sane list of "semi-volatile" regions specifically *not* > including the usersig.
I agree. I think there's a bug report open for it. It should be possible to explicitly erase the individual flash segments, and the default erase command (when issuing a -U flash:... option) should probably not even be a chip erase but an application section erase. I'm currently in the process of restructuring some of the Xmega handling (which is one the remaining things I'd like to have done before releasing AVRDUDE 6.0), and hope I'll find a nice solution to the Xmega erase problem as part of this. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-chat mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-chat
