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) Uploader hangs up (Read 8546 times)
Tim Butler
Newbies
*
Offline


Posts: 4
Joined: Oct 14th, 2014
Uploader hangs up
Oct 19th, 2014 at 11:00am
Print Post  
Hello,

  First off, got to say I love the software - it's really made a huge difference to my programming speed with the Arduino. However, I'm having a problem uploading a project at the moment. The problem seems to be with the verification of the code after the upload, and the uploader times out waiting for a response from an Arduino MEGA2560. I've tried this on more than one Arduino board and on more than one computer, same problem with both. I'm running Windows 7 professional 64 bit and Visual Studio Ultimate with the paid version of Visual Micro on both computers. Other projects work fine, it's just this one I'm having trouble with (it's getting to be quite a large project with separate class files). I've included a zipped copy of the verbose output and a screenshot showing the version of my Arduino driver. Any help or suggestions as to what to try next would be greatly appreciated, please let me know if you need any more info.

   Thanks a lot!

       Tim
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader hangs up
Reply #1 - Oct 19th, 2014 at 11:16am
Print Post  
Hi,

Thanks very much for the clear report.

Because it relates to a single project I doubt it wouldn't normally think it is usb related

However the usb driver you show doesn't look right. I think you should uninstall the usb for the 2560 using deice manager and install the drivers from below the arduino ide/drivers folder.

The driver should show a manufacturer of Arduino LLC

Let me know how it goes, thanks

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader hangs up
Reply #2 - Oct 19th, 2014 at 11:19am
Print Post  
Another note of interest is this article on the arduino forum http://forum.arduino.cc/index.php?topic=163152.0

If you use the arduino ide to upload does it have the same problem?

Sorry can't recall which arduino ide version you are using?
  
Back to top
IP Logged
 
Tim Butler
Newbies
*
Offline


Posts: 4
Joined: Oct 14th, 2014
Re: Uploader hangs up
Reply #3 - Oct 19th, 2014 at 11:39am
Print Post  
Hello Tim,

   Thanks for the quick response - I'm using Arduino 1.5.4. I've just reinstalled the driver for the Arduino, the driver detail still says usbser.sys is provided by Microsoft but I think that's actually correct. I've attached another pic of the driver "general" tab, let me know if I can let you have any info from the driver details dropdown. 

    I've tried the Arduino IDE and that will upload the project without any trouble, which is a bit of a relief (to me, anyway Smiley

    Cheers,

        Tim
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader hangs up
Reply #4 - Oct 19th, 2014 at 11:45am
Print Post  
Hi Tim,

Ok I see what you mean about the usb driver.

That's good the arduino uploads it means the issue is within vm's control and can be fixed. However it might not be a full test as the arduino ide can leave the processes running in memory and not wait for them to full terminate. Where as Visual Micro does wait.

1)
Please try a test. In the arduino ide upload and then immediately upload again as soon as it finishes. Does this also work?

2)
Out of interest are you working with or without the verbose option enabled in Visual Micro?

3)
How easy for you to email your sketch and any custom libraries? I could do with a big project to test with.

Thanks
  
Back to top
IP Logged
 
Tim Butler
Newbies
*
Offline


Posts: 4
Joined: Oct 14th, 2014
Re: Uploader hangs up
Reply #5 - Oct 19th, 2014 at 12:26pm
Print Post  
Hello Tim,

   I just uploaded the project three times from the Arduino IDE, all seemed to be fine.

   I switched to verbose after having the problem but I'm back in quiet mode now.

   I'll email the project to you, no worries.

    Thanks again for your time!


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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader hangs up
Reply #6 - Oct 19th, 2014 at 1:36pm
Print Post  
Hi Tim,

Shutter.zip contains an empty project but metallifier is a project

I need the following libraries to match these includes thanks

#include <Timer.h>
#include <Event.h>
#include <Streaming.h>
#include <LiquidCrystal_SR3W.h>
#include <LiquidCrystal_SR2W.h>
#include <LiquidCrystal_SR.h>
#include <LiquidCrystal_I2C.h>
#include <LiquidCrystal.h>
#include <LCD.h>
#include <I2CIO.h>
#include <FastIO.h>
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader hangs up
Reply #7 - Oct 19th, 2014 at 4:33pm
Print Post  
Thanks for the libs. It compiles and uploads fine for me.

I did notice a different between the verbose output of the arduino 1.5.4 tool chain and 1.5.7 tool chains.

Can you see if you see any difference with the current arduino 1.5.x release from arduino.cc

Thanks
  
Back to top
IP Logged
 
Tim Butler
Newbies
*
Offline


Posts: 4
Joined: Oct 14th, 2014
Re: Uploader hangs up
Reply #8 - Oct 19th, 2014 at 6:04pm
Print Post  
Hello Tim,

   Success! I've uninstalled Arduino IDE 1.5.4, replaced it with 1.5.8 and now the upload works without hanging. Thanks so much for all of your help, especially since it's the weekend.

    Cheers,

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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader hangs up
Reply #9 - Oct 19th, 2014 at 6:06pm
Print Post  
Great. I will let anyone else with the issue know that thanks.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint