Visual Studio and the VisualMicro Arduino Plug In

Would you like to help?
Share your walkthrough tutorial with others

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Sun Sep 09, 2012 2:27 am
For those interested in an alternative to the Arduino IDE, there is now the option of building and debugging your project using Visual Studio 10 and a Arduino plugin from Visual Micro.The following link has the steps to register for a free legit copy of Visual Studio 10 and the details for downoading and installing the plugin.

http://www.visualmicro.com/

Additional info
http://arduino.cc/forum/index.php/topic,91434.0.html

Video on the debugging process
http://www.visualmicro.com/tutorials/ArduinoDebugger_Tutorial_Level1.html


In order to enable debugging you must sign up as a Beta Tester, there is likely going to be a cost for the plugin after the beta stage I would assume. Hope it is reasonable.

As you can see here is the simple Arduino Blink example being debugged, it compiled fully and uploaded to my UNO using Visual Studio and the plugin.

Blink.JPG
Blink.JPG (171.45 KiB) Viewed 3978 times


As well the Reef Angel ExampleCode 1 sketch easily compiled. Unfortunately I don't USB to TTL cable so could not confirm that it would upload correctly to the ReefANgel. I can not see why it would not. I can upload the *.hex using my AVR dragon and ISP and it is fine, but can not debug with the Dragon setup.

RACapture.JPG
RACapture.JPG (215.72 KiB) Viewed 3978 times


I think this setup will be very useful for those power users.
-=Bryan=-
User avatar
Posts: 2732
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sun Sep 09, 2012 8:50 am
That's cool. pretty interesting.

Posts: 12201
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Sep 09, 2012 9:16 am
Awesome.
Thanks for sharing.
I registered. Let's see if I can still get a beta tester license to try out.
Roberto.

Posts: 4
Joined: Sun Sep 09, 2012 9:13 am
PostPosted: Sun Sep 09, 2012 9:22 am
Thanks for making this post. To answer a few questions:-

1) Yep the upload just uses avrdude.exe in the same way that the Arduino Ide uses it, so upload will be fine.
2) Debug will be very cheap :)
3) I see lots of libraries in your project source. You might find the "Project>Show all arduino files" option useful. It toggles the library sources in/out of the project. With the library sources in your project they will appear in the standard vs tools such as the "Class Explorer". This is also useful for power users that develop the libraries. Allows them to more easily be edited at the same time as the sketch project is edited.
4) Yep beta is still open for the debugger testing because we haven't had time to package and price it:) Good posters and reviewers will get a free license for life. Hint hint :)

Best of luck

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Sun Sep 09, 2012 2:30 pm
Thanks for jumping in Visual Micro, good info on the libraries, was wondering how to see the source (.cpp) files in a project

Roberto, I signed up yesterday and got in. From VM's post beta is still open.
-=Bryan=-

Posts: 12201
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Sep 09, 2012 2:45 pm
I got the email from them, but I can't find the menu referenced in the instructions :(
Tools>Options>Visual Micro
I'm using the new VS2012 and it seems it is not supported.
So, I have to download the older VS2010 version
Roberto.

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Sun Sep 09, 2012 3:39 pm
Hmm, thought it was but perhaps it's just 2008 and 2010 that's supported. Are you trying to install the plugins etc and change settings or trying to show "All Arduino files"
-=Bryan=-

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Sun Sep 09, 2012 3:45 pm
Roberto:

Saw your post on the VM forum, was going to ask, but you beat me to the punch :D


Saw this on the main page, but it may be outdated.

"Arduino for Visual Studio 2008 and 2010 is a free Arduino development alternative that provides 100% compatibility with the Arduino programming IDE. Arduino for Visual Studio is currently tracking at nearly 20,000 downloads per year."
-=Bryan=-

Posts: 12201
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Sep 09, 2012 7:10 pm
The webspark only allowed me to download the VS2012 version :(
Roberto.

Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.
PostPosted: Sun Sep 09, 2012 11:18 pm
Hmm, thats strange, I had no issues downloading. There is a couple versions of VS2010 available, only the Professional version is available for download not Premium. I see Visual Micro has uploaded a new update for VS2012 so you should be good to go with VS2012. If it works let me know and I will install 2012 as well.
-=Bryan=-
Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest