Description
I'm using Windows 7 and after a bit of frustration and hardware testing, I've realized that I don't have multiple broken devices, IDE 1.6.8 just does not work for me, while all previous versions do. I've tried both the standalone and installed versions. 1.6.7 and earlier work fine.
I tested on a Nanov3.0, multiple Pro Minis w/FTDI cable, Duemilanove, and Mega2560 and Due clone.
I couldn't find an issue to match, but It seems this issue may be similar or related to #4700
Results of testing on multiple devices:
Due Clone:
I can upload to the Due using the native USB port, but not the programming port.
Using library Servo at version 1.1.1 in folder: ...\Arduino\libraries\Servo
Sketch uses 23,640 bytes (4%) of program storage space. Maximum is 524,288 bytes.
Forcing reset using 1200bps open/close on port COM12
Then it goes on to:
Verify 25908 bytes of flash
[ ] 0% (0/102 pages)writeWord(addr=0x20001028,value=0x20002000)
writeWord(addr=0x2000102c,value=0x80000)
readWord(addr=0x400e0a08)=0x1
...
...
[======================= ] 78% (80/102 pages)writeWord(addr=0x20001028,value=0x20002000)
writeWord(addr=0x2000102c,value=0x85000)
readWord(addr=0x400e0a08)=0x1
readWord(addr=0x400e0c08)=0x1
writeWord(addr=0x20001024,value=0x20001001)
go(addr=0x20001020)
read(addr=0x20002000,size=0x100)
writeWord(addr=0x20001028,value=0x20002000)
writeWord(addr=0x2000102c,value=0x85100)
readWord(addr=0x400e0a08)=0x1
readWord(addr=0x400e0c08)=0x1
writeWord(addr=0x20001024,value=0x20001001)
go(addr=0x20001020)
read(addr=0x20002000,size=0x100)
writeWord(addr=0x20001028,value=0x20002000)
writeWord(addr=0x2000102c,value=0x85200)
readWord(addr=0x400e0a08)=0x1
readWord(addr=0x400e0c08)=0x1
writeWord(addr=0x20001024,value=0x20001001)
go(addr=0x20001020)
read(addr=0x20002000,size=0x100)
writeWord(addr=0x20001028,value=0x20002000)
writeWord(addr=0x2000102c,value=0x85300)
readWord(addr=0x400e0a08)=0x1
readWord(addr=0x400e0c08)=0x1
writeWord(addr=0x20001024,value=0x20001001)
go(addr=0x20001020)
read(addr=0x20002000,size=0x100)
SAM-BA operation failed
Arduino Mega 2560:
On the Mega, problems only arise with fairly large sketches, but it is consistent. The blink example seems to work fine.
avrdude: reading on-chip flash data:
Reading | #############avrdude: stk500v2_recv(): checksum error
##################################### | 100% 3.19s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1912
0xea != 0x28
avrdude: verification error; content mismatch
avrdude done. Thank you.
Arduino Nano v3.0 , Duemilanove & Pro Minis
Basically they just sit there and resets until I open the Serial Monitor. The resetting starts as soon as I open the IDE v1.6.8, and interferes with uploads quite often, since it starts again as soon as the upload button is clicked. Besides the following, I was also getting an error, something about opening programmer with the pro minis, but can't replicate now.
Arduino Pro Mini w/FTDI cable:
Using Port : COM13
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: ser_open(): can't open device "\\.\COM13": Access is denied.
avrdude done. Thank you.
It seems like something in the IDE is constantly trying to access or reinitialize the serial ports. I've tried reinstalling the IDE, FTDI drivers, rebooting, etc etc. and as soon as I closed the IDE, my Arduinos all stopped resetting. Opening V1.6.7 = no problems. I can provide more info if required.