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 Unable to send code to both the Arduino Uno and Mega 2560 (Read 3852 times)
rrvt
Newbies
*
Offline


Posts: 3
Joined: Dec 16th, 2015
Unable to send code to both the Arduino Uno and Mega 2560
Dec 24th, 2015 at 4:13am
Print Post  
I have both MVS 2010, 2012 and 2013 on my PC.  For a time I had MVS 2015 on my system.  I wrote a program for the Uno and downloaded it to the chip many times using the Arduino IDE.

I thought it would be nice to be able to run a debugger on the code.  So I downloaded the Community versions of the MVS and loaded Visual Micro into it.  It compiles the code and produces exactly the same number of bytes as the Arduino IDE.  But it will not download the code into the Uno.  Today I received a Mega 2560 board and again compiled and loaded it into the Mega using the Arduino IDE.  Again, the Visual Micro extension of MVS will not.  The exact errors are that it will not sync with the board:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03

I am using the same settings in Visual Micro as I use in the Arduino IDE.  Any hints about what is incorrect?
« Last Edit: Dec 24th, 2015 at 4:21am by rrvt »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to send code to both the Arduino Uno and Mega 2560
Reply #1 - Dec 24th, 2015 at 1:25pm
Print Post  
Hi,

This is because you have switched on "Upload using programmer".

Normal COM upload is not a programmer so please switch it off again.

Thanks
  
Back to top
IP Logged
 
rrvt
Newbies
*
Offline


Posts: 3
Joined: Dec 16th, 2015
Re: Unable to send code to both the Arduino Uno and Mega 2560
Reply #2 - Dec 25th, 2015 at 2:05am
Print Post  
While I could not find COM mentioned, the hint allowed me to find and toggle several configuration items and one or more of them worked.

Thanks,

Bob
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to send code to both the Arduino Uno and Mega 2560
Reply #3 - Dec 25th, 2015 at 4:39am
Print Post  
You mean the visual micro,upload using programmer menu item ?

Smiley
  
Back to top
IP Logged
 
rrvt
Newbies
*
Offline


Posts: 3
Joined: Dec 16th, 2015
Re: Unable to send code to both the Arduino Uno and Mega 2560
Reply #4 - Dec 25th, 2015 at 8:58am
Print Post  
Yes.  But I use the toolbar triangle in a circle button (compile and load).

I was able to try various things in the debugger today.

It all seems to be working.   Smiley
« Last Edit: Dec 25th, 2015 at 8:59am by rrvt »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint