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) Problem with due upload (Read 8731 times)
JUANK
Newbies
*
Offline


Posts: 6
Location: Ecuador
Joined: Sep 21st, 2014
Problem with due upload
Sep 21st, 2014 at 3:02am
Print Post  
Hi I need some help, I am new working with visual studio, I installed Atmel studiio 6.2.1153 and visual studio 1407.10 and I try working with due board, aparently all works fine but when I build the project with aobvios mistake it doesn´t found it and it upload to the board and of course it dosn´t work, and if I correct the mistake and visual upload the due doesn´t work
Please help me and sorry for my english
  
Back to top
 
IP Logged
 
JUANK
Newbies
*
Offline


Posts: 6
Location: Ecuador
Joined: Sep 21st, 2014
Re: Problem with due upload
Reply #1 - Sep 23rd, 2014 at 1:39pm
Print Post  
Any body can help me? Cry
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with due upload
Reply #2 - Sep 23rd, 2014 at 2:31pm
Print Post  
Hi,

Sorry your first post was missed.

To clarify, the compile worked and upload okay so the mistake you made did not cause a compilation error?

Can you post a screen shot of your ide during upload attempt. Then we have to ask less questions about which port you have used on the Due to upload. It has two. 

From the screen shot we will also see what happens (messages) when the upload fails.

Thanks
  
Back to top
WWW  
IP Logged
 
JUANK
Newbies
*
Offline


Posts: 6
Location: Ecuador
Joined: Sep 21st, 2014
Re: Problem with due upload
Reply #3 - Sep 24th, 2014 at 4:25am
Print Post  
Thanks for your reply, yes my problem is the compiler doesn´t found the errors it always compile, it doesn´t send any error message
  

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


Posts: 6
Location: Ecuador
Joined: Sep 21st, 2014
Re: Problem with due upload
Reply #4 - Sep 24th, 2014 at 4:32am
Print Post  
And if try to upload it does and of course the program doesn´t work, and if correct the error (Wink it copiles good upload good but it doesn´t work, I use programing port on COM 6 I am sure that it i ok because I use yhe arduino ide the same port and it works perfect, and for probe in the arduino ide I selected the option Use external editor and in atnel studio write my program save it and go to arduino ide and only upload it get the changes did in atmel studio and the due works perfect
  

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: Problem with due upload
Reply #5 - Sep 24th, 2014 at 1:20pm
Print Post  
Hi,

Visual Micro is not responsible for determining what an error is. We use the atmel/arduino tool chain to compile. The tool chain is happy with your code.

Please compile with the arduino ide and report is the program is the same size after compile. 

Thanks
  
Back to top
WWW  
IP Logged
 
JUANK
Newbies
*
Offline


Posts: 6
Location: Ecuador
Joined: Sep 21st, 2014
Re: Problem with due upload
Reply #6 - Sep 24th, 2014 at 1:26pm
Print Post  
Hi,
Nop the size is different in atmel studio said 10484bytes and in adruino ide 31356 bytes,
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with due upload
Reply #7 - Sep 24th, 2014 at 2:14pm
Print Post  
Hmm, okay please zip and email your sketch to info[at]visualmicro.com thanks very much
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with due upload
Reply #8 - Sep 24th, 2014 at 6:02pm
Print Post  
Thanks for the files.

Please confirm which upload port you used on the Due and which Arduino Ide version

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with due upload
Reply #9 - Sep 24th, 2014 at 7:21pm
Print Post  
Thanks for the good info. I found the problem. Historically arduino has only supported simple program names and Visual Micro should be ensuring that to be the case but is not. I need to look into why the warning is not appearing when the project is opened.

I changed the sketch name from SUMOduev2.2 to SUMOduev22 and it then compiles correctly.

In Visual Studio the problem is more obvious because the library #includes are highlighted with red squiggles but in atmel studio the only indication of the problem is when you right click and #include and click "Goto Implemenation" which fails.

To rename your sketch you should close it and then rename both the folder and the .ino file to be the same. You can then deleted the files that atmel studio has created in the sketch folder and re-open the sketch.

It should work a lot better then.

I will try to get a service release with a fix over the next week.

Can you please confirm which port on the Due you are using to upload? 

Thanks
  
Back to top
WWW  
IP Logged
 
JUANK
Newbies
*
Offline


Posts: 6
Location: Ecuador
Joined: Sep 21st, 2014
Re: Problem with due upload
Reply #10 - Sep 25th, 2014 at 12:05am
Print Post  
Thank you very much it works pefect now, I use the programming port for arduino DUE

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