EDIT: Sorry, this is a Seeeduino ADK. I was unaware there was a difference between the Arduino and Seeeduino boards!
I've been struggling with this for the last few days. I've read loads of information and tried a lot of possible solutions (see "Tried") and finally discovered that I can upload to the ADK only if I pulse the reset button at precisely the correct time otherwise I see something like the following:
(with AVRISP - but AVR ISP mkII is similar)
avrdude: Version 5.11, compiled on Sep 2 2011 at 18:52:52
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg WunschSystem wide configuration file is "/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/ben/.avrduderc"
User configuration file does not exist or is not a regular file, skippingUsing Port : /dev/tty.usbserial-A60081h0
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: wiring_open(): releasing DTR/RTS
avrdude: wiring_open(): asserting DTR/RTS
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmeravrdude done. Thank you.
Both the successful flashing (by pulsing reset just as the Arduino IDE is about to upload) and the output above were obtained on a Macbook running OS X with FTDI Virtual COM drivers obtained from VCP Drivers - FTDI
On Windows the USB Serial Converter driver installs fine, however the Arduino ADK drivers (those bundled with 1.04, 1.0, 022 and 023) do not work. I receive:
The device cannot start (Code 10).
Installing the FTDI port (NOTE: Not USB!) driver instead of the ADK driver, which you're not meant to do, does not give the above error. However, of course the Arduino IDE is not able to upload to the device.
NOTE: I'm testing with the Blink example program, as such there are no occurrences of "!!!".
Tried
Desktop PC running Windows 7 64-bit:
- Install Arduino ADK drivers from 1.04, 1.0, 022 and 023, the port always gives Code 10.
- Tried Arduino IDEs 1.04, 1.0, 022, 023.
- Verified choice of board and port in IDE.
- Tried AVRISP and AVR ISP mkII.
- Tried rebooting the computer.
- Unplugging and replugging USB whilst running.
- Uninstalling and reinstalling drivers numerous times.
- Ran inf2cat developer tool to determine if there is anything wrong with the ADK .INF files - there is not.
- Various USB cables, ports and a external USB hub.
Desktop PC running Windows XP Mode (virtual machine) on Windows 7 64-bit host:
- All of the above.
Desktop PC running Windows 7 64-bit virtual machine in VirtualBox on Windows 7 64-bit host:
- All of the above.
Desktop PC booted up in Linux Mint:
- All of the above, minus the Windows driver stuff.
Macbook running OS X 10.7.5:
- Tried Arduino IDEs 1.04, 1.0, 022, 023.
- Unplugging and replugging USB whilst running.
- Tried AVRISP and AVR ISP mkII.
- Verified choice of board and port in IDE.
- Tried rebooting the computer.
- Installed FTDI Virtual COM drivers (exact link above).
- Various USB cables and ports.
The only way I can successfully upload is by getting the correct reset button timing on the device, otherwise TX only flashes once every so often and I receive the output above. Looking at USB traces in OS X it appears the board just stops responding.
NOTE: It's been about a year since I last used my board, but it used to work all the time, without any sort of upload problems. When I turned on my board for the first time recently it had my old program running fine. I've just been unable to upload reliably since I plugged it into my PC (which is a different PC than the one I used last year).
It definitely seems as though the board itself is to blame. Does anybody know how I can fix my board, or how I can further diagnose the issue?