Arduino Due Clone

I am building a project with the Arduino Due. I am planning to use ATSAM3X8E on my design and making another separate programmer board with ATMEGA16U2 .

I found the information on arduino tutorial or hacking or forum are very confusing. There are so many different methods! Could someone help to enlighten me which of the following approach is easiest or most feasible?

  1. Reset the ATMEGA16U2 chip and program it with FLIP software? (I did this successfully but how about a blank new chip?)
  2. Program with arduino-usbdfu or arduino-usbserial? (one is bootloader and one is the actual program right?)
  3. Program with another Arduino Uno board using the ICSP pins?
  4. Program the ATSAM3X8E chip with a USB-to-serial cable?
  5. Program the ATSAM3X8E chip directly with USB port?

Many Thanks.

It better use AVR pocket programmer . i have never designed on due . But it wil working fine over uno, duemilanove, promini.

How about the other methods? Are they feasible or not?

I'm not an expert on the Due but AFAIK

  1. don't know
  2. don't know
  3. no
  4. yes, there is a built-in boot loader that will boot from the UART, if you can connect to that I think this will work. This is in fact what the 16U2 dose now on the Due. You will need to "press" the erase pin/button with a FET or some such.
  5. yes, by connecting the USB cable to the Native USB port, there is a USB bootloader built in to the chip.

Rob