Using Arduino IDE 1.6.3 with VM Release Candidate (1504.20 Sp3)
Trying to upload a sketch to Adafruit Trinket Pro 5V.. I downloaded the Adafruit board definitions from
https://learn.adafruit.com/adafruit-arduino-ide-setup/arduino-1-dot-6-x-ide installed them in /programfiles/arduino/hardware/adafruit
The Arduino IDE uploads perfectly using the USBtinyISP programmer:
uino5/bin/avr-ar rcs C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/core.a C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp\WMath.cpp.o
uino5/bin/avr-ar rcs C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/core.a C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp\WString.cpp.o
uino5/bin/avr-gcc -w -Os -Wl,--gc-sections -mmcu=atmega328p -o C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.elf C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp\Blink.cpp.o C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/core.a -LC:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp -lm
uino5/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.elf C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.eep
uino5/bin/avr-objcopy -O ihex -R .eeprom C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.elf C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.hex
Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 28,672 bytes.
Global variables use 9 bytes of dynamic memory.
uino5/bin/avrdude rduino5/etc/avrdude.conf -v -patmega328p -cusbtiny p.hex:i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is duino5/etc/avrdude.conf"
Using Port : usb
Using Programmer : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: bus-0:\\.\libusb0-0001--0x1781-0x0c9f
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
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 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 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 : USBtiny
Description : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported
avrdude: Using SCK period of 10 usec
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: Using SCK period of 10 usec
avrdude: reading input file "C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.hex"
avrdude: writing flash (1030 bytes):
Writing | ################################################## | 100% 0.19s
avrdude: 1030 bytes of flash written
avrdude: verifying flash memory against C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.hex:
avrdude: load data flash data from input file C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.hex:
avrdude: input file C:\Users\Main\AppData\Local\Temp\build3967390980591124196.tmp/Blink.cpp.hex contains 1030 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.08s
avrdude: verifying ...
avrdude: 1030 bytes of flash verified
avrdude done. Thank you.
When I do the same with VM I get
Binary sketch size: 1,030 bytes (used 4% of a 28,672 byte maximum) (6.96 secs)
Uploading to I/O board using 'usbtinyisp'
Uploader started for board Pro Trinket 5V/16MHz (USB)
Uploader will use programmer name: usbtinyisp
Upload failed. Did you select the correct upload method for this board?
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(String buildPath, String className, Boolean verbose, Boolean ProgrammerUploadUsing, String mcuProgrammerOverrideName)
at processing.app.SketchEditor.Upload(Boolean verbose)
I've tried everything and I can not get VM to recognize the programmer