This is puzzling.
Having upload problems with a formerly reliable set-up for months, using BBB & RBBB atmega168 arduino-clones, several of each.
I'm uploading via COM3 FTDI with latest drivers. Windows 7.
Sketch upload via Arduino-0018 works ONCE via the FTDI, then produces
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
on each additonal try.
The only 'new' changes to my setup: Having downloaded WinAVR and AVRstudio, I thought perhaps it was multiple copies of avrdude. I've since removed all but the one in Arduino-0018. Also removed and reinstalled Arduino-0018. Removed and reinstalled all com ports. Tried reinstalling bootloaders on the Arduinos. Tried an upload via COM1 using a P4 serial upload form moderndevices, THAT works reliably with multiple uploads. Tried COM1 ports both higher and lower than COM3 Removed all other programs that could conceivably deal with the COM ports. Checked task manager to see what else was running. Tried fresh drivers directly from FTDI even though Win7 said I had the latest. Rebooted between each of the above steps.
My gut tells me for some reason the FTDI is not 'releasing' COM3, since it will work once each time the COM port is reinstalled.
Any suggestions on what else I can try? Uploading via the FTDI is more convenient than the P4 serial cable.