Cant upload - timeouts

when i try to upload to my board i get the following output..

Binary sketch size: 18,194 bytes (of a 258,048 byte maximum)
C:\arduino-1.0.6-windows\arduino-1.0.6\hardware/tools/avr/bin/avrdude -CC:\arduino-1.0.6-windows\arduino-1.0.6\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cwiring -P\.\COM5 -b115200 -D -Uflash:w:C:\Users\Phil\AppData\Local\Temp\build3434270391284311045.tmp\acm_scales6.cpp.hex:i

avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\arduino-1.0.6-windows\arduino-1.0.6\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM5
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: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]

and the time outs continue to the end and the board isnt updated.

i was playing with a bluetooth slave shield v2.1 pairing it with the pc prior to uploading, its sitting on a usb host v2 shield, with no gpio conflicts afaik. USB host uses d9-d13 +spi and the b/tooth uses d9 d1 d2..

i had the Btooth paired and was recieving the serial writes in a putty session from the sketch loaded on the board which wasnt accessing the usb host shield. Im now trying to load a usb host shield sketch.. and am failing..

please advise, i have restarted the ide and pc as well as numeress borad resets hard and soft..

its a mega 2560 board (sainsmart clone) correctly selected from the board type menu and on the usb cable com port not the b/tooth.

TIA

when i try to upload to my board i get the following output..

Binary sketch size: 18,194 bytes (of a 258,048 byte maximum)
C:\arduino-1.0.6-windows\arduino-1.0.6\hardware/tools/avr/bin/avrdude -CC:\arduino-1.0.6-windows\arduino-1.0.6\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cwiring -P\.\COM5 -b115200 -D -Uflash:w:C:\Users\Phil\AppData\Local\Temp\build3434270391284311045.tmp\acm_scales6.cpp.hex:i

avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\arduino-1.0.6-windows\arduino-1.0.6\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM5
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: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]

and the time outs continue to the end and the board isnt updated.

i was playing with a bluetooth slave shield v2.1 pairing it with the pc prior to uploading, its sitting on a usb host v2 shield, with no gpio conflicts afaik. USB host uses d9-d13 +spi and the b/tooth uses d0 d1 d2..

i had the Btooth paired and was recieving the serial writes in a putty session from the sketch loaded on the board which wasnt accessing the usb host shield. Im now trying to load a usb host shield sketch.. and am failing..

please advise, i have restarted the ide and pc as well as numeress borad resets hard and soft..

its a mega 2560 board (sainsmart clone) correctly selected from the board type menu and on the usb cable com port not the b/tooth.

TIA

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Threads merged.

  • Moderator

the double post occurred as i used the quick edit link to edit a typo.. not by intention.

the loopback test succeeded..

And after performing the loopback test i managed to load my sketch???

So Problem solved.. :wink: