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
Hot Topic (More than 8 Replies) Uploading Problem (Read 16714 times)
marc_s
Newbies
*
Offline


Posts: 5
Location: Canada
Joined: Jan 29th, 2012
Uploading Problem
Jan 29th, 2012 at 2:55pm
Print Post  
Hi
I have windows 7 64Bit
Visual Studio 2010 Ultimate
Visual.Micro.Visual.Studio.Arduino.10
Arduino 1.0 Software
Arduino Mega2560 Rve 3
I can work with Arduino IDE no problem its Upload and system work perfect.
but when i want to use the visual Micro
i receive this error

Compiling 'Blink2' for 'Arduino Mega 2560 or Mega ADK'
Binary sketch size: 1558 bytes (of a 258048 byte maximum) (1.693 secs)
Uploading to I/O board using 'arduinoisp'
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 "D:\arduino-1.0\hardware\tools\avr\etc\avrdude.conf"

Using Port : \\.\COM9
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.

i did change the bude rate and some other setting but no luck

Thanks for the help
Sad 


  
Back to top
 
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Uploading Problem
Reply #1 - Jan 29th, 2012 at 4:39pm
Print Post  
How are you uploading?

Did you know that pressing F5 compiles and uploads?

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading Problem
Reply #2 - Jan 29th, 2012 at 6:34pm
Print Post  
i did have to make some changes to support 2560 serial upload. I see you are using a programmer. I'll take a look over next day or so to see if programmer needs similar changes. 

the problem was that the 2560 fails to reset like other arduino boards so we have to force a reset prior to upload. 

please confirm your vm version via tools>options>visual micro>version. did you download it from codeplex recently?
« Last Edit: Jan 29th, 2012 at 6:35pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
marc_s
Newbies
*
Offline


Posts: 5
Location: Canada
Joined: Jan 29th, 2012
Re: Uploading Problem
Reply #3 - Jan 29th, 2012 at 6:42pm
Print Post  
The Version is 24
i did manual reset before uploading
i did use the F5 as well
that how start compiling and uploading
there is no problem on compiling but problem on uploading
what do you mean i am using programmer
my only hardware is Arduino MEGA 2560 R3

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading Problem
Reply #4 - Jan 29th, 2012 at 7:23pm
Print Post  
thanks for the info, your version is recent enough for 2560

If you don't know what a programmer is i am going to assume you are trying to do a serial upload. it's possible you have ticked the "Tools>Arduino>Upload Using Programer" by mistake? Please untick it.

If it isn't ticked then your arduino preferences have the programer override setting or the board you are selecting has been defined to use a programer. These are the only 3 ways to tell the system to use a programer and I can see by your error report that a programer attempt is being made.

For your information a programer is a little usb box that connects to the 6 pin ICSP port on arduino boards or by using another arduino board as shown here http://arduino.cc/en/Tutorial/ArduinoISP. It is an alternative to normal serial upload.

One thing still concerns me that you said you have set the correct bit rate etc. What do you mean by this? When a serial upload happens the baud rate (speed) is determined from the arduino boards configuration file as are all other settings other than the serial port. I guess you have selected the serial port using the menu or tool bar?

Thanks
« Last Edit: Jan 29th, 2012 at 7:34pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading Problem
Reply #5 - Jan 29th, 2012 at 7:29pm
Print Post  
oh, i see you have set com9 so ignore that question thanks Smiley
  
Back to top
WWW  
IP Logged
 
marc_s
Newbies
*
Offline


Posts: 5
Location: Canada
Joined: Jan 29th, 2012
Re: Uploading Problem
Reply #6 - Jan 29th, 2012 at 7:40pm
Print Post  
Thanks for the Help
Problem Solve 
it was the Upload Using Programer thicked 
Tongue
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading Problem
Reply #7 - Jan 29th, 2012 at 7:47pm
Print Post  
great Smiley
  
Back to top
WWW  
IP Logged
 
marc_s
Newbies
*
Offline


Posts: 5
Location: Canada
Joined: Jan 29th, 2012
Re: Uploading Problem
Reply #8 - Jan 29th, 2012 at 7:54pm
Print Post  
sorry again
i have one more question 
how can i get the cpp.hex file 
i know i can find in the temp folder when i am compiling with arduino IDE but is the any way with Visual Micro we can have that file on predefined  folder 
Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading Problem
Reply #9 - Jan 29th, 2012 at 8:33pm
Print Post  
yep it's going to move to below the sketch folder in the next version but at the moment typical win7 is in C:\Users\[your initials]\AppData\Local\VMicro\Arduino\Builds\[SketchName]

Hint: You can always see what vm is doing by switching on Tools>Options>Visual Micro>Compiler>Verbose. It shows all build locations.
« Last Edit: Jan 29th, 2012 at 9:44pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
marc_s
Newbies
*
Offline


Posts: 5
Location: Canada
Joined: Jan 29th, 2012
Re: Uploading Problem
Reply #10 - Jan 29th, 2012 at 9:25pm
Print Post  
Thanks a lot for everything
Cheesy
  
Back to top
 
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Uploading Problem
Reply #11 - Jan 30th, 2012 at 1:23am
Print Post  
Tim@Visual Micro wrote on Jan 29th, 2012 at 8:33pm:
yep it's going to move to below the sketch folder in the next version but at the moment typical win7 is in C:\Users\[your initials]\AppData\Local\VMicro\Arduino\Builds\[SketchName]

Hint: You can always see what vm is doing by switching on Tools>Options>Visual Micro>Compiler>Verbose. It shows all build locations.

Can we have an option NOT to have the compiled files in the sketch tree? Dropbox will sync all these files between my PCs. With their current location that's not a problem.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading Problem
Reply #12 - Jan 30th, 2012 at 8:39am
Print Post  
ok good point. i'll add a few options to cater for all
  
Back to top
WWW  
IP Logged
 
Chas
Newbies
*
Offline


Posts: 1
Location: Hills o East ky
Joined: Mar 18th, 2012
Re: Uploading Problem
Reply #13 - Mar 18th, 2012 at 7:46pm
Print Post  
sixeyes2 wrote on Jan 29th, 2012 at 4:39pm:
How are you uploading?

Did you know that pressing F5 compiles and uploads?

Iain




Howdee!

i am running win7 64 bit, VM sees my board and comm port.  Ive compiled successfully, but when i try ANY form of debug, i get error message that the debugger is looking for an "exe" of the project.

BTW, how do i upload a screenshot???

Chas[img]C:\Users\Chas\Documents\Visual micro Debug to upload error.jpg[img]
« Last Edit: Mar 18th, 2012 at 8:02pm by Chas »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading Problem
Reply #14 - Mar 19th, 2012 at 8:53am
Print Post  
hi chas. when you get the error pls activate the "sketch build" output window and copy/paste the error into this thread. 

please also confirm when you downloaded vm and which vs version
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint