Visual Studio and the VisualMicro Arduino Plug In

Would you like to help?
Share your walkthrough tutorial with others
Post Reply
Visual Micro
Posts: 4
Joined: Sun Sep 09, 2012 9:13 am

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by Visual Micro »

thekameleon wrote:@Tim,
the two things I was doing was editing code files and renaming a few code files. I will try to turn on the optimization and see if it works with the latest.
Okay if renaming files then the compiler cache probably wasn't clearing correctly. If you have renamed files then click "Build>Clean Solution" to clear the cache.

You can also switch on "Tools>Options>Visual Micro>Compiler>Show Build Folder". Switching this option on will give you a little extra detail when you compile. A CTRL+CLICK hyperlink will allow you to view the temporary folder that the compiler uses during an Arduino build. Deleting the TEMPORARY folder will also clear the cache but it can also be useful to have easy access to the build output and the compiled Arduino files.

Best of luck, do feel free to join the Visual Micro forum if you need any speedy help. We can't always promise to spot posts on other forums, not enough man power :)
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by thekameleon »

I wonder if anyone has actually tried the Visual Micro debugging experience with Reef Angel and Visual Studio
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by rimai »

I know one person that is using it all the time and I used it in the past too, very briefly.
Roberto.
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by thekameleon »

Even the line by line step through?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by rimai »

No, I tried the variable debugging only :(
Roberto.
Piper
Posts: 296
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by Piper »

cosmith71 wrote:I have it. I'm just too ignorant to get it to work. :oops:
Colin,

Any luck? I only have the Express versions of VS so I was thinking about trying Atmel Studio today. Just want to know if you made any progress.

[EDIT]
I also found this: http://playground.arduino.cc/Code/VisualStudio Going to give that a shot as well and see which one works better (or works at all) for me.
[/EDIT]

~Charlie
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by thekameleon »

I don't think it will work with VS Express
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by cosmith71 »

Piper wrote:
cosmith71 wrote:I have it. I'm just too ignorant to get it to work. :oops:
Colin,

Any luck? I only have the Express versions of VS so I was thinking about trying Atmel Studio today. Just want to know if you made any progress.

[EDIT]
I also found this: http://playground.arduino.cc/Code/VisualStudio Going to give that a shot as well and see which one works better (or works at all) for me.
[/EDIT]

~Charlie
Yes, after a re-install I got it to working. Apparently it doesn't compile the RA stuff correctly so it's only useful if you're tackling a larger project and don't mind using the Arduino software to compile. In the end I got the Arduino editor to work correctly (it was software that came with my video card causing problems) so I gave up on it. It would be way more than I would need at this point.

--Colin
jgwinner
Posts: 16
Joined: Fri Dec 27, 2013 8:22 pm

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by jgwinner »

PMFJI an older thread, but I've had it working with both the Express or "community" edition of 2013 along with the Visual Micro.

The editor is SO much better than the Arduino editor - intellisense, proper indenting, jump to references, I could go on and on. I'm learning a lot just by poking around the functions.

The only thing I'm unsure of right now is what programmer to use.

I get a choice of:

AVR ISP
AVRISP mkII
USBtinyISP
USBasp
Parallel Programmer
Adruino as ISP

Looking through the Reef Angel IDE, it looks like we use AVRDude. Would the other AVR's work? (wow, a lot to learn!)

== John ==
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Visual Studio and the VisualMicro Arduino Plug In

Post by rimai »

You can use any if them if you have them. They are all going to use avrdude, regardless of which one you use.
If you are using the boot loader that comes with RA and the USB programming cable, it gets uploaded through mkii emulation.
Roberto.
Post Reply