Attiny85, USBAsp, IDE 0022 on Mac OS X

Hello Dear fellow hackers :)

I bought some Tiny85's for some small projects, and wanted to program them trough the Arduino IDE. I have looked at this forum, and other users have got it working with an USBasp programmer.

I can program them fine thru Ardunio-isp, but i want to program them with my USBAsp programmer.

The USBAsp works from CLI, so the connections and chip is OK. (i tried http://denhart.dk/category/electronics/) And it works.

I have installed the Tiny85 core from MIT.

My boards.txt have this definition that i made:

attiny85usbtinyisp.name=ATtiny85 (w/ usbasp ISP)
attiny85usbtinyisp.upload.using=usbasp
attiny85usbtinyisp.upload.maximum_size=8192
attiny85usbtinyisp.build.mcu=attiny85
attiny85usbtinyisp.build.f_cpu=1000000L
attiny85usbtinyisp.build.core=attiny45_85

And my programmers.txt this:

usbasp.name=usbasp
usbasp.communication=usb
usbasp.protocol=usbasp

So - it SHOULD work, but when i try compiling the blink example (changing pin 13 to 0, off course), i get this:

Binary sketch size: 658 bytes (of a 8192 byte maximum)
java.lang.NullPointerException
    at processing.app.debug.AvrdudeUploader.getProgrammerCommands(AvrdudeUploader.java:106)
    at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:68)
    at processing.app.Sketch.upload(Sketch.java:1603)
    at processing.app.Sketch.exportApplet(Sketch.java:1568)
    at processing.app.Sketch.exportApplet(Sketch.java:1524)
    at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
    at java.lang.Thread.run(Thread.java:680)

I am not very good at debugging Arduino IDE error message,so i guess someone here could chime in and help me out ? :roll_eyes:

Regards,

Per.

And my programmers.txt this:

Which one? The programmers.txt file in your Arduino directory or the one in your Sketch directory?