I know some of you have already figured this out. I basically would like to press the upload button and then have the IDE use the USBtinyISP instead of the serial approach to upload a sketch.
I have already figured out how to do this with avrdude from the command line but this is a bit awkward. This is what I use on the command line:
I have looked at the various Arduino configuration files and there is a lot that sort of looks like this is possible. I am just not exactly sure how.
I found this: http://www.arduino.cc/en/Hacking/Programmer
It is almost what I need with the difference that this seems to assume an stk500 programmer on a virtual serial port. USBtiny uses direct usb communication and is known by avrdude as "usbtiny".
Maybe there is something in the Arduino dev version that could help me further.
Awesome, I just downloaded 0011. Unfortunately I am still not sure how to use the USBtinyISP to program my chip. I tried playing around with the preference file but no luck.
When you got a sec could you point me in the right direction.
It needs to be upload.using=usbintyisp (not usbtiny). The name is the prefix used for that programmer in the programmers.txt file, not necessarily the name of the device passed to avrdude. (For things like the AVRISP mkII, avrdude uses the generic string "usb".)
it was a case sensitive problem..
in the programmers file it says:
usbtinyisp.name=USBtinyISP
usbtinyisp.protocol=usbtiny
but in the preferences it should be: "usbtinyisp"...