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 upload error by AS7 (Read 7176 times)
lulu
Newbies
*
Offline


Posts: 7
Joined: Oct 28th, 2015
upload error by AS7
Oct 28th, 2015 at 5:42am
Print Post  
my board is ATmega2560,the sample can upload successfully,please help me solve the problem,there is no error when you only build it,but when I use F5 ,there is a error like picture.
« Last Edit: Oct 28th, 2015 at 5:45am by lulu »  

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


Posts: 12201
Location: United Kingdom
Joined: Apr 10th, 2010
Re: upload error by AS7
Reply #1 - Oct 28th, 2015 at 11:28am
Print Post  
If I recall the merlin software you are using redefines the HardwareSerial so the visual micro debugger can not compile or work.

This means that you have to use the SoftwareSerial debug option which is described here http://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-With-Different-Por...

The Visual micro debugger uses serial and needs an Arduino compatible core. I think the core you are using removes Serial capability from the code. If you send me a link to the board/source you are using I can see if there is an alternative but usually when this happens there isn't.

Thanks
« Last Edit: Oct 29th, 2015 at 12:36am by Tim@Visual Micro »  
Back to top
IP Logged
 
lulu
Newbies
*
Offline


Posts: 7
Joined: Oct 28th, 2015
Re: upload error by AS7
Reply #2 - Oct 29th, 2015 at 1:09am
Print Post  
thank you for your help,I upload the source in Attachment1 and Attachment2,you should compine the two file because the maximum attachment size is 250kb.
« Last Edit: Oct 29th, 2015 at 1:10am by lulu »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
lulu
Newbies
*
Offline


Posts: 7
Joined: Oct 28th, 2015
Re: upload error by AS7
Reply #3 - Nov 4th, 2015 at 10:56am
Print Post  
Hi,I update the visual micro and rebuild the project that I have upload several days ago.But there are some errors.I upload the errors in attachment 1.Can you help me to solve these errors? Thank you!
  

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


Posts: 12201
Location: United Kingdom
Joined: Apr 10th, 2010
Re: upload error by AS7
Reply #4 - Nov 4th, 2015 at 11:22am
Print Post  
Hello,

I think this will be the same problem that we have already discussed.

The merlin software does not include the standard Arduino Serial which the Visual Micro debugger uses by default.

Please switch the Configuration on the toolbar from "Debug" to "Release" and then the upload will work.
  
Back to top
IP Logged
 
lulu
Newbies
*
Offline


Posts: 7
Joined: Oct 28th, 2015
Re: upload error by AS7
Reply #5 - Nov 5th, 2015 at 12:34am
Print Post  
thank you.I know I can upload code in Release.But how can I debug with the code?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12201
Location: United Kingdom
Joined: Apr 10th, 2010
Re: upload error by AS7
Reply #6 - Nov 5th, 2015 at 9:31am
Print Post  
Hi,

I already answered that with the link I posted earlier in this thread that explains alternative methods when serial is not available

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint