Tim@Visual Micro wrote on Feb 4
th, 2015 at 2:04pm:
Hi John,
Thanks for the post.
The package load failure is a VS2008 issues and is unconnected to Visual Micro. Also, I am not sure it is affecting Visual Micro because Visual Micro seems to be working (upload issue aside)
As for the upload issue it is the atmel toolchain avrdude.exe that is used for upload and it appears to be objecting. It might be related to the name you have used for your sketch. As a test, please try a different sketch with a name that does not begin with an underscore and does not include a dash.
Failing that please switch on "tools>visual micro>verbose messages", then try again and post the output
Thanks
Hi Tim,
I have tried as you asked but no luck. I have turned on the "Verbose Messages" and this is what I get.
Compiling 'BlinkWithoutDelay' for 'Arduino Uno'
Build folder: /VMicro/Arduino/Builds/BlinkWithoutDelay/uno
Summary: Header=1 Prototypes=3 Imports=0
Additional Defines:
Architecture Tools: D:\Program Files\Arduino\hardware\tools\avr\bin\
GCC: 4.3.2
Sketchbook: file:///C:/Documents%20and%20Settings/Nathan/My%20Documents/Arduino
Core Include Paths
Include Path 'D:\Program Files\Arduino\hardware\arduino\cores\arduino'
Include Path 'D:\Program Files\Arduino\hardware\arduino\variants\standard'
D:\Program Files\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -I"D:\Program Files\Arduino\hardware\arduino\cores\arduino" -I"D:\Program Files\Arduino\hardware\arduino\variants\standard" -o "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.cpp.o" "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.cpp"
BlinkWithoutDelay.ino:In function 'void loop()'
BlinkWithoutDelay.ino:54: warning: comparison between signed and unsigned integer expressions
D:\Program Files\Arduino\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=atmega328p -L"C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno" -o "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.elf" "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.cpp.o" "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\core.a" -lm
D:\Program Files\Arduino\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.elf" "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.eep"
D:\Program Files\Arduino\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.elf" "C:\Documents and Settings\Nathan\Local Settings\Application Data\VMicro\Arduino\Builds\BlinkWithoutDelay\uno\BlinkWithoutDelay.hex"
Binary sketch size: 4,642 bytes (used 14% of a 32,256 byte maximum) (0.20 secs)
Uploading to I/O board using 'COM5'
Uploader started for board Arduino Uno
Upload method will be: bootloader
Uploading via Bootloader
Flushing the serial port
Upload failed. Did you select the correct upload method for this board?
System.MissingMethodException: Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'.
at processing.app.debug.Uploader.executeUploadCommand(ICollection commandDownloader, String workingPath)
at processing.app.debug.AvrdudeUploader.avrdude(List`1 params_Renamed)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(String buildPath, String className, Boolean verbose)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(String buildPath, String className, Boolean verbose, Boolean ProgrammerUploadUsing, String mcuProgrammerOverrideName)
at processing.app.SketchEditor.Upload(Boolean verbose)
Hope this helps.