Hallo everybody, I'm trying to make mechanism which allow me to upload code via ethernetShild. I looked into SAM3X8E datasheet and read this Arduino Playground - HomePage
and I found that SAM3X8E support boot from flash0 and flash1 by setting/clear GPNVM bit
So in short, there is three boot start points - SAM-BA, Flash 0 and Flash 1, this can be controlled by tweaking the GPNVM bits in EEFC0.
I don't know what to writte to flash1 so to accomplish dual boot. I tryed to copy all files from flash0 to flash1, but it doesn't works with switching boot mode.
I'd recommend you to use SAM-BA. Upload each bootloader at the beginning of flash0 and flash1 respectively, then, you can switch between flash banks as if there were totally separated devices by playing with the GPNVM bits.