Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic avrdude: stk500_getsync(): not in sync: resp=0x00 (Read 6781 times)
sam14
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2014
avrdude: stk500_getsync(): not in sync: resp=0x00
Aug 11th, 2014 at 3:07am
Print Post  
I just joined forum and searched for the above error. I see plenty folks have reported the problem here, and many more on Google as well. But, there is no solution to date. Looks like there is an issue between Visual Micro and Atmel Studio. Has anyone been able to resolve the problem please? Following is the final part of the file I get with my run of Blink program. It runs fine when I use the Arduino IDE directly. But, never with VM running through Atmel Studio 6.1 or 6.2. I tried all Baud rates if that was the problem, but to no avail.
Thank you.
__________________________________________
Binary sketch size: 1,084 bytes (used 3% of a 32,256 byte maximum) (0.90 secs)
Uploading to I/O board using 'Arduino as ISP'
Uploader started for board Arduino Uno
Uploader sometimes uses programmer name: arduinoisp
Uploader will attempt to use programmer name: arduinoisp
C:\Program Files\Arduino\hardware\tools\avr\bin\avrdude -C"C:\Program Files\Arduino\hardware/tools/avr/etc/avrdude.conf" -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM3 -b19200 Blink_alarm.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:\Program Files\Arduino\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM3
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Reply #1 - Aug 11th, 2014 at 9:22am
Print Post  
Hi,

I assume the google reports you mention relate to the Arduino Ide?

The error normally means the wrong upload method or board is selected so can be very generic. I know of only a couple of users that have encountered this error for real and this would normally indicate a dodgy board or cables. 

The baud rate has no effect if you are using an Arduino ISP programmer to upload. Please confirm if you are expecting a standard usb/serial upload or if you are using a programmer. If not using a programmer I will tell you what you have clicked by mistake otherwise we can run some tests.


Thanks
« Last Edit: Aug 11th, 2014 at 10:11am by Tim@Visual Micro »  
Back to top
IP Logged
 
sam14
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2014
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Reply #2 - Aug 11th, 2014 at 9:55pm
Print Post  
Thanks Tim. I am using an Arduino Uno board (model R3) through a standard USB upload. I am not using a programmer. If there are tweaks that need to be done for this route, I would appreciate pointers towards my mistakes / changes that I need to make for this route to work.
Thank you.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: avrdude: stk500_getsync(): not in sync: resp=0x00
Reply #3 - Aug 12th, 2014 at 8:19am
Print Post  
Hi Sam,

No probs.

What happened is that you ticked the "Tools>Visual Micro>Upload Using Programmer" by mistake. The Arduino as ISP programmer allows one Arduino board to program another which is not what you have connected or are trying to do. 

The standard settings are for normal "Arduino IDE Style" Usb upload, un-tick "Upload using programmer" and all should work correctly.

The avrdude error you reported is correct because you did not have an Arduino programmed to be an ISP attached to the usb cable.

Thanks for the useful detail in your initial report.
« Last Edit: Aug 12th, 2014 at 8:20am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint