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 APM 2.5+ on ArduRover 2.41 (Read 10442 times)
Bernard Drew
Newbies
*
Offline


Posts: 4
Joined: Jun 5th, 2013
APM 2.5+ on ArduRover 2.41
Jun 6th, 2013 at 6:51pm
Print Post  
Hope this is the right forum for my question.

I have successfully compiled the ArduRover 2.41 code using the Arduino 1.0.3 software.

After installing the Visual Micro plugin into Visual Studio Pro 2012.  I attempted to compile the ArduRover code.  The compile fails with 100 Intellisense errors.  Can anyone give me an idea on how to correct this?

Windows 7 Dell computer
Visual Studio Professional 2012
Arduino 1.0.3
APM 2.5+
ArduRover 2.41

Thanks in advance,
Bernard
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: APM 2.5+ on ArduRover 2.41
Reply #1 - Jun 6th, 2013 at 7:03pm
Print Post  
Hello Bernard,

The compiler and the intellisense are two entriely different systems.

The intellisense window will always show some errors because we use the C++ engine of Visual Studio. However we are constantly working to improve it.

I suggest you close the intellisense report window, hopefully most of the code does not show red underlines and you have intellisense when you type? If so then intellisense is working well enough (for now).

As for the compiler, please press F5 or build and post the error you get

Thanks
« Last Edit: Jun 6th, 2013 at 7:05pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Bernard Drew
Newbies
*
Offline


Posts: 4
Joined: Jun 5th, 2013
Re: APM 2.5+ on ArduRover 2.41
Reply #2 - Jun 6th, 2013 at 7:40pm
Print Post  
Thanks for the fast response.

Can I compile without being plugged into the APM?

Here are the non-Intellisense errors.

Error      101      avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer            

These are the results after F5.

Thanks,
Bernard
  
Back to top
 
IP Logged
 
Bernard Drew
Newbies
*
Offline


Posts: 4
Joined: Jun 5th, 2013
Re: APM 2.5+ on ArduRover 2.41
Reply #3 - Jun 6th, 2013 at 7:43pm
Print Post  
Here are resutls after hitting F6 in VS.

Compiling 'APMrover2' for 'Arduino Mega 2560 HAL (Apm 2)'
Binary sketch size: 161900 bytes (63% of a 258048 byte maximum) (29.96 secs)

Also I did not receive any non-Intellisense errors.  Does this mean success?

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


Posts: 12070
Location: United Kingdom
Joined: Apr 10th, 2010
Re: APM 2.5+ on ArduRover 2.41
Reply #4 - Jun 6th, 2013 at 8:35pm
Print Post  
Quote:
Compiling 'APMrover2' for 'Arduino Mega 2560 HAL (Apm 2)'
Binary sketch size: 161900 bytes (63% of a 258048 byte maximum) (29.96 secs)


Yes that is a successful compile

Quote:
Error      101      avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer            


No you will not be able to press F5 and upload without a board connected.

You also need to untick "Tools>Upload using programmer" otherwise when you do connect a board the upload will still fail. A lot of people tick this option thinking it is correct but it means that you have a special piece of hardware called a programmer. The standard upload will use USB and is not called a programmer.

I know it is confusing, it is Arduino speak not Visual Micro speak  Cheesy
« Last Edit: Jun 6th, 2013 at 8:35pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Bernard Drew
Newbies
*
Offline


Posts: 4
Joined: Jun 5th, 2013
Re: APM 2.5+ on ArduRover 2.41
Reply #5 - Jun 6th, 2013 at 9:11pm
Print Post  
Thanks for your help.  Will try uploading tomorrow.

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