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) calipso-Uploader Error with Arduino As ISP (Read 4344 times)
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
calipso-Uploader Error with Arduino As ISP
Nov 12th, 2021 at 1:39pm
Print Post  
my compiler set
« Last Edit: Nov 12th, 2021 at 2:06pm by Simon@Visual Micro »  

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


Posts: 2697
Joined: Feb 13th, 2019
Re: calipso-my compiler set
Reply #1 - Nov 12th, 2021 at 2:01pm
Print Post  
Please clearly state the issue you are having with Visual Micro.
  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
calipso - my build
Reply #2 - Nov 12th, 2021 at 2:04pm
Print Post  
hi 
My compilation in the attachment

All ok, but in the end_

"Error during upload using programmer
Upload timed out waiting for a response

The uploader process failed

Upload timed out waiting for a response

The uploader process failed
The uploader returned an error"

best regards
calipso
  

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


Posts: 2697
Joined: Feb 13th, 2019
Re: calipso-Uploader Error with Arduino As ISP
Reply #3 - Nov 12th, 2021 at 2:24pm
Print Post  
Does the below remove this error? (as it looks like the upload does succeed from the logs)

1) Add a Local board.txt to your solution (vMicro > Add Code > Add Local Board.txt)
2) Add the below text to the board.txt file:
Code
Select All
# Configure Upload timeout to 120s
upload.timeout=120000 


3) Save the file
4) Build and Upload the code again
  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #4 - Nov 12th, 2021 at 2:59pm
Print Post  
hi 
Done. Now it comes to the end, but exits the debug immediately. 
Attached the micro build and the micro debug trace
many thanks
  

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


Posts: 2697
Joined: Feb 13th, 2019
Re: calipso-Uploader Error with Arduino As ISP
Reply #5 - Nov 12th, 2021 at 3:35pm
Print Post  
Does the serial viewer open and stay connected on the debug port (COM6 from the logs)?

  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #6 - Nov 12th, 2021 at 3:48pm
Print Post  
ok Now no Stop debug but no upload  file.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: calipso-Uploader Error with Arduino As ISP
Reply #7 - Nov 12th, 2021 at 3:57pm
Print Post  
Sorry, I mean if you stop debugging, then select COM6 for the Serial Port, and open the Serial Monitor, does it connect to the port correctly?
  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #8 - Nov 12th, 2021 at 4:03pm
Print Post  
hi,
Sorry maybe I have expressed myself badly; I meant that now it doesn't stop anymore. She remains in debug, but does not load the program.
  
Back to top
 
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #9 - Nov 12th, 2021 at 4:25pm
Print Post  
Hi, attached the image of the debug launched but not performed
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: calipso-Uploader Error with Arduino As ISP
Reply #10 - Nov 12th, 2021 at 4:34pm
Print Post  
I cant see an attachment.

The Serial Port test was just to ensure it connects to COM6 correctly, and remains connected.

If you set the Serial port on the toolbar back to COM3 (for programming)
Then ensure the vMicro > Debugger > Override Local Port is set to COM6.
If you are not using baud rate 115200 on your Mega 2560 board, also configure the Override Local Speed option to match.

It should all work as expected for upload and Debug with these settings set.
  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #11 - Nov 18th, 2021 at 1:50pm
Print Post  
[18/11/2021 14:49:53 Informational] ------ Run test started ------
[18/11/2021 14:49:54 Warning] Il file C:\Users\Andrea\Documents\Arduino\RicaricaEv\Debug\RicaricaEv.exe non è stato trovato.
[18/11/2021 14:49:54 Warning] Nessuna delle origini specificate 'C:\Users\Andrea\Documents\Arduino\RicaricaEv\Debug\RicaricaEv.exe' è valida. Correggere gli errori/avvisi precedenti e riprovare. 
[18/11/2021 14:49:54 Informational] ========== Run test finished: 0 run (0:00:00,6164641) ==========

RicaricaEv.exe?????????????????????
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: calipso-Uploader Error with Arduino As ISP
Reply #12 - Nov 18th, 2021 at 2:20pm
Print Post  
This looks like it is not an Arduino project, and you are trying run or debug some tests.

Can you confirm you have the INO file in the project with the same name as the project?

Can you attach a screenshot of Visual Studio with the Solution Explorer open?
  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #13 - Nov 18th, 2021 at 3:20pm
Print Post  
Anche a me sembra strano il file.exe ma da dove arriva? grazie
Pardon
It seems strange to me too but where does it come from?
« Last Edit: Nov 18th, 2021 at 3:40pm by calipso »  

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


Posts: 2697
Joined: Feb 13th, 2019
Re: calipso-Uploader Error with Arduino As ISP
Reply #14 - Nov 18th, 2021 at 5:51pm
Print Post  
Can you zip the entire solution an email it to us for inspection.
  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #15 - Nov 19th, 2021 at 9:10am
Print Post  
HI , Attached hard copy of a another solution with same problem and zip 
« Last Edit: Nov 19th, 2021 at 9:45am by calipso »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #16 - Nov 19th, 2021 at 9:47am
Print Post  
HI,
WHAT IS THE EXACT CONFIGURATION? SEE ATTACHMENT.
  

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: calipso-Uploader Error with Arduino As ISP
Reply #17 - Nov 19th, 2021 at 2:33pm
Print Post  
I recommend reading the "First Steps" in our documentation on visualmicro.com

Some tips ...

1) Close the "Test Explorer". That is very advanced and not part of normal Arduino.

2) To build and upload use either of:
the Green arrow on the top tool bar 
or
press F5 
or 
click Debug>Start 
or 
click vMicro > Build and Upload.

DO NOT try to use the Test Explorer.

3)

For a simple upload you do not need to set a programmer. The COM port is all that is required.

If you are using a 2nd Arduino to upload as ISP then your programmer setting is correct. If NOT? then uncheck "Use Programmer". Simple COM upload is NOT a programmer.

4)

Do not change any project properties. An .exe does not make sense for Arduino. You do not need any of the project settings for your work.

Do NOT set "makefile" as the build type. 

Summary

Create a new solution and a new Arduino project. Look at the default settings. They do NOT need to be changed. 

Undo the changes you have made to your project properties 

or 

Delete the .cppproj file and use "File>Open>Arduino Project" to open the .ino again.




« Last Edit: Nov 19th, 2021 at 2:37pm by Tim@Visual Micro »  
Back to top
IP Logged
 
calipso
Junior Member
**
Offline


Posts: 14
Location: italy
Joined: Nov 10th, 2021
Re: calipso-Uploader Error with Arduino As ISP
Reply #18 - Nov 19th, 2021 at 2:50pm
Print Post  
Resolved; the bootloader was missing. At least for now.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint