thanks for the answer, i'm gonna try that tomorrow.I just did a quick test with bossac gui and tried to connect to the board, but it was not able to connect (tried on Os X, Windows 8, and Win XP running in a virtual Box on a mac).

you need to add the location of the bossac.exe (somewhere inside the arduino folder) to your path file

Every time I need to re-load a sketch in the Arduino Due using bossac as you mentioned, I have to erase-reset the board. Why?I don't know yet. That is not happening with Arduino IDE. I have checked this phenomenon with Windows 7 and Windows XP with same results.May be Arduino IDE shows in the verbose output, just part of the enumeration of the upload.

pracas

ok..I think to use bossac gui, you need to press the erase button before you choose to load your program but the batch file would be a better approach for loading from within atmel studio. I have no clue how to program the SAM3X8E in atmel studio otherwise i would try.. perhaps you can share a simple code..

Transistorfips

Hi, I found this engblaze project (probably everyone knows it) using the arduino standard programmer for the 8bit machines wit AVR-Studio5 and 6. Is there a chance to adapt the code for the 16U2 to the Due to run it with avrdude or bossa so it will work out of the IDE without a additional command line thing?

grumson

I am new to Atmel Studio and trying to get some code uploaded to an Arduino Due. I'm having no luck getting it to act like the Arduino IDE. My board shows up as COM5 normally and COM11 when in program mode. I appear to get a successful write in Atmel Studio but it always stays COM11 instead of going back to COM5. Which COM port should be used in this batch file?