"avrdude: stk500v2" timeout communication error

Basic / Standard Reef Angel hardware
Post Reply
rschneider77
Posts: 54
Joined: Mon Oct 24, 2011 10:16 am
Location: Gainesville, Florida

"avrdude: stk500v2" timeout communication error

Post by rschneider77 »

Hello ramai and fellow reef enthusiasts. I ran into an upload issue the other night and needed some help figuring it out. I have a RA+, 1 relay expansion I just purchased and 1 WiFi expansion. I can upload my previous code fine. But when I try to upload the new code for the relay expansion i get this error:

Code: Select all

avrdude: Version 6.0, compiled on Apr  6 2012 at 19:29:19
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files\Reef Angel Controller\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM6
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done.  Thank you.
I have read quite a few articles on the forum about this, http://forum.reefangel.com/viewtopic.ph ... 0v2#p36978 this is the same exact issue I'm having.

After attempting to upload the code, I can always upload my recent code that doesn't include the relay. I have tested the USB/TTL cable data connection with some cable testing devices I have and the cable is fine. I also have made sure that the correct COM Port is selected. And the RA+ receives test code fine. I will try the suggestions mentioned in the other posts when I return home. But I wanted to post this ahead of time in case any new info has arisen since I get back home. Thanks in advance and I'll let you know what the results are when I get home.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: "avrdude: stk500v2" timeout communication error

Post by rimai »

It should work the same independent of which code.
Roberto.
Post Reply