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] 2  Send TopicPrint
Locked Topic Can't upload anymore (SOLVED - USER ERROR) (Read 10996 times)
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Can't upload anymore (SOLVED - USER ERROR)
Jan 18th, 2016 at 7:56am
 
I tried to test a DCcEle DCcduino uno board and the rest of the evening went into the toilet. I switched back to my Mega board and I can compile but not upload. For most other boards, I can't even compile - the button is grayed out.

Which programmer should I be using?

Here is the output:

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega2560 -cstk500v1 -PCOM6 -b19200 60/Rover.hex:i"
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch
Error during upload using programmer
Upload failed

Upload failed
The uploader returned an error
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
         Using Port                    : COM6
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: ser_open(): can't open device "\\.\COM6": The system cannot find the file specified.
avrdude done.  Thank you.
« Last Edit: Jan 26th, 2016 at 2:17pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #1 - Jan 19th, 2016 at 1:44am
 
I really need some help with this problem. I am dead in the water - can't upload anything.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #2 - Jan 19th, 2016 at 3:20am
 
Sorry. Problem is standardisation of upload file name. It should be looking for file with .ino.hex extension not just hex

I will look to see if I can auto detect older definitions

Pls give url to your hardware core
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #3 - Jan 19th, 2016 at 4:12am
 
Please translate what you just said, "give url to your hardware core" <-- I have no idea what you are asking me to do, and I have no idea how to solve this problem. I tried deleting everything in the AppData....rover folder, but... same problem. 

And am I using the correct "Programmer"? If not, what should I be using?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #4 - Jan 19th, 2016 at 4:24am
 
Are you sure you are on latest visual micro?
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #5 - Jan 19th, 2016 at 6:00am
 
Yes. I just downloaded the most recent and tried again. Same results. I don't even see the compile or upload buttons. Build only shows "Run code analysis..." 

Programmer is "Arduino as ISP". Is this correct?

The COM port list does not show any Arduino ports.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #6 - Jan 19th, 2016 at 12:14pm
 
If you have no com ports that will be the issue unless you are saying that you have a programmer?

I will look at it tonight

Thanks
« Last Edit: Jan 19th, 2016 at 12:15pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #7 - Jan 19th, 2016 at 4:07pm
 
I have plenty of com ports, but in some cases, none that show "Arduino". There are two issues surfacing here:

1) Being able to compile and upload
2) Upload failure

The first issue seems to be related to the board I am using at the time. Genuine Arduino boards seem to work, but a SainSmart Arduino UNO does not result in being able to see an Arduino port and does not show the compile and upload buttons.

When I do use a genuine Arduino, I get this message:

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega328p -cstk500v1 -PCOM4 -b19200 le1\uno/TimerInterruptExample1.ino.hex:i"
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Error during upload using programmer
Upload failed

Upload failed
         Copyright (c) 2007-2009 Joerg Wunsch
The uploader returned an error
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
         Using Port                    : COM4
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: ser_open(): can't open device "\\.\COM4": The system cannot find the file specified.
avrdude done.  Thank you.

Both issues result in my being dead in the water. Both seemed to happen as a result of buying and trying the cheap DCcle DCcudino uno board.  Lips Sealed
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #8 - Jan 19th, 2016 at 4:30pm
 
Could you please post full compiler output.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #9 - Jan 19th, 2016 at 5:31pm
 
Bob, if you don't have a programmer then make sure you have not switched on "Visual Micro>Always upload using programmer" by mistake
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #10 - Jan 19th, 2016 at 7:49pm
 
Always upload using programmer is turned on. The entire output from the compile is attached.

  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #11 - Jan 19th, 2016 at 7:51pm
 
So you can confirm you use an arduino as isp to upload and not normal usb?
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #12 - Jan 19th, 2016 at 8:43pm
 
Yes, I confirm that.
  
Back to top
 
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #13 - Jan 21st, 2016 at 6:43pm
 
I am still encountering this problem and I am dead in the water until I can fix it. PLEASE HELP.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #14 - Jan 21st, 2016 at 10:01pm
 
Hi Bob,

Sorry I forgot to update this thread when 1601.11. sp4 was released on the 18th. 

You should be getting a little flag symbol at the top of the ide when new versions of visual micro are released?

If so then the Release Notes should always have a note of what is fixed.
« Last Edit: Jan 21st, 2016 at 10:09pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #15 - Jan 21st, 2016 at 10:23pm
 
I updated the code but still cannot upload to the board. It says:
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
         Using Port                    : COM6
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x77
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1a
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd1
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xff
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd0
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xcf
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf2
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x40
Error during upload using programmer
Upload failed

Upload failed
The uploader returned an error
avrdude done.  Thank you.
  
Back to top
 
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #16 - Jan 21st, 2016 at 10:24pm
 
The entire output from the compile is attached.
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #17 - Jan 21st, 2016 at 10:30pm
 
What are you clicking to upload? 

That's no where near the full output?

Use the Visual Micro toolbar or Debug>Start with/without debugging" to upload.

The error is certainly different and looks like a usb issue. Maybe the port is confused, reconnect the board.

But in any event the visual micro version is in "tools>extensions and updates" and the "Visual Micro>Verbose" option gives us useful stuff
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't upload anymore
Reply #18 - Jan 21st, 2016 at 10:43pm
 
The version is 1601.21.0. 

I agree that there is a port problem. I purchased a cheap board (DCcEle DCcduino.uno) and couldn't get it to work. Google pointed me to a driver that I installed. That didn't work either, so I uninstalled it. Today, I uninstalled Arduino entirely, deleted the C:/Program... folder and reinstalled the current version. Then I updated to the latest VM version as per your advice. 

All indicators point to a problem with the USB driver somehow. Can you point me to a link to replace/update it?

Thanks, Tim.
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't upload anymore
Reply #19 - Jan 21st, 2016 at 11:20pm
 
Open control panel devices. Right click uno or isp in ports list. Click remove and.click delete driver.

Then right click unknown port and update driver using drivers folder below arduino ide
« Last Edit: Jan 22nd, 2016 at 10:23pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint