Been having problems getting a due to work. I used to use mine a year ago on IDE 1.6.8 and never had any problems setting it up apart from the usual beginner issues.
However I am having a lot of installation problems, listed below
on first upload, due seems to be uploading forever (latest IDE 1.8.something)
pressing upload again, I have an error with access port denied
Fixes I have tried
change port
check the board is correctly set
reinstall Arduino drivers
reinstall USB drivers
using IDE 1.6.6
using another laptop
using a different Due
trying atmega168 processor
trying different programmers
Problem was first found on my original Due's (had 1, busted it, bought another, forgot which was which so have tried both). Have bought another due and still having the same issues.
I have noticied that sometimes when I plug this new due in, it makes a high pitched noise... for people who think I may have broken it, I haven't sent any power back to itself, I have literally tried to make an led blink, so no direct/indirect 3.3/5v signals to any of the pins
I have uno's too but they work fine, using the same USB ports on the same laptops
I'm at a loss know as to the what the problem would be...
Please do this with the first upload that seems to hang:
File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
Sketch > Upload
After the process hangs up for good copy all the text from the black console window at the bottom of the Arduino IDE window. There will likely be more text than fits on the console window at the default size so you need to scroll up to see it all.
Paste the error messages in a reply here USING CODE TAGS (</> button on the toolbar).
The access port denied on the second upload is probably because the first upload process is still tying up the port.
This is what I got using the native port.
Had the same issue using the programming port.
Arduino: 1.8.3 (Windows 10), Board: "Arduino Duemilanove or Diecimila, ATmega328"
Sketch uses 928 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b57600 -D -Uflash:w:C:\Users\Myf\AppData\Local\Temp\arduino_build_818317/Blink.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x72
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x72
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Just checked the verbose output of the compilation, works fine no errors that I could see