Hello,
I can upload the same sketch in an arduino uno but it doesn't work with a DUE
The same C prog works with the arduino IDE
I have that in the consol windows:
Starting upload
using arduino loader
Starting reset using 1200bps touch process
Continuing to use COM15
Ending reset
Launching C:\Main\CHRONO\IDE\V3.1_win32.2016-08-03_16-31-05\sloeber\arduinoPlugin\tools\arduino\bossac\1.6.1-arduino/bossac.exe --port=COM15 -U false -e -w -b C:\Main\CHRONO\IDE\V3.1_win32.2016-08-03_16-31-05\sloeber\workspace\blink1/Release/blink1.bin -R
Output:
Atmel SMART device 0x285e0a60 found
Erase flash
done in 0.031 seconds
No such file or directory
1.6.1-arduino/bossac.exe finished
upload done
Best Regards