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?
- Reset the ATMEGA16U2 chip and program it with FLIP software? (I did this successfully but how about a blank new chip?)
- Program with arduino-usbdfu or arduino-usbserial? (one is bootloader and one is the actual program right?)
- Program with another Arduino Uno board using the ICSP pins?
- Program the ATSAM3X8E chip with a USB-to-serial cable?
- Program the ATSAM3X8E chip directly with USB port?
Many Thanks.