I recently stumbled upon another option to program your Arduino boards I want to talk about. It is a plug-in for Visual Studio called Visual Micro. The downside about this great little utility is that it doesn’t work with the Express version of Visual Studio. But if you have a full blown copy of VS, 2008 or newer, then you are in luck!
It installs easily and adds a great compiling performance boost to the standard Arduino IDE. One of its’ best features is the software debugger which is included (30 day trial). The debugger is a nifty little gadget that keeps you from sprinkling those nasty println statements through out your code when you are trying to catch errors. Just click in the margin to set a break-point, then right click on it to define the variables you want to watch. TOO EASY!
You can read more about it here: www.VisualMicro.com
In the following video I discuss the install, give it a short test drive and then uninstall it.
Watch in HD!
Hi Dennis,
My name is Chris Fisher. I am stuck. I am sure you are busy and don’t have time to troubleshoot everyone’s errors, but I figured I would ask for some guidance anyway, since I can’t seem to resolve my problem. I have re-installed everything with Arduino IDE 1.5 beta, Studio 6.1 latest Visual Micro for Arduino and Omar’s ATE script setups. Still get the same problem, when invoking AVRDude or the Deploy tool.
Thanks for reading.
Chris
Deploy script
Executing local-deploy99.bat
———————————————————-
Deploying “P1BLINKAM2” – Build 5
The system cannot find the path specified.
CANNOT Find output file “”C:\Users\C\Documents\Atmel Studio\6.1\P1BLINKAM2\P1BLINKAM2\scripts\output.txt”” – Aborting script
“C:\Arduino\hardware\tools\avr\bin\avrdude.exe” -C”C:\Arduino\hardware\tools\avr\etc\avrdude.conf” -v -patmega32u4 -cavr109 -PCOM9 -Uflash:w:”C:\Users\C\Documents\Atmel Studio\6.1\P1BLINKAM2\P1BLINKAM2\Debug\P1BLINKAM2.hex”:i
avrdude.exe: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is “C:\Arduino\hardware\tools\avr\etc\avrdude.conf”
Using Port : COM9
Using Programmer : avr109
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– —- —– —– —- —— —— —- —— —– —– ———
eeprom 65 10 8 0 no 1024 8 0 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .
Found programmer: Id = “wÿ(“; type = Ó
Software Version = E.avrdude.exe: error: buffered memory access not supported. Maybe it isn’t
a butterfly/AVR109 but a AVR910 device?
Deployment Failed
ECHO is off.
Hi Chris,
I will help if I can.
If you have selected the correct board in the drop down box i.e, UNO, selected the correct COM port, then all you should have to do is click on the run (green arrow or F5) to program with Visual Micro.
Assuming you have done this there is a conflict elsewhere.
First things first; the Visual Micro plugin can coexist with Omar’s script, but I wouldn’t recommend it.
Second; I don’t know if the Arduino 1.5 beta is supported by Visual Micro fully yet.
Do you plan to program Arduino boards? If so you really don’t need to use Omar’s script.
Perhaps the best thing would to be (I know it sucks) uninstall everything, Visual Micro, Atmel Studio, Arduino IDE 1.5 beta.
Reinstall Atmel Studio, then the Arduino 1.4 IDE, then Visual Micro. Get everything working then if you need the 1.5 beta libraries go over the Visual Micro forum and see how other people have accomplished this.