Has anyone tried atprogram without chiperase? Supposedly it should erase the affected pages automatically ("SAM devices will always do this"), but it looks that it does not.
atprogram.exe help program ... -e --erase Erase only affected pages before programming. AVR UC3 and AVR XMEGA only. SAM devices will always do this.