Programming with ISP Programmer not possible

Hi, I’ve done the things mentioned in:

But wenn I try to upload something to my board using the programmer, i get an Java error:

at Source)
at Source)
at Source)
at Source)
at Source)
at$ Source)

To the boards.txt I’ve added this line:

To programmers.txt I’ve added/edited this:

I don’t see anything wrong here acourding to the manual above…burning the bootloader with the programmer works just fine…

Instead of: sanguino.upload.using=stk500v2

Try: sanguino.upload.using=avrispmkii

Or: sanguino.upload.using=arduino:avrispmkii

ok, this worked I only needed to change the interface type to seriell :-D since my programmer is st500v2 compatibel but not USB

Great :-D

I too am having problems with AVR programmer.

java.lang.NullPointerException at Source) at Source) at Source) at Source) at Source) at$ Source) at

programmers.txt avrispmkii.communication=serial avrispmkii.protocol=stk500v2

preferences.txt upload.using=avrispmkii

Programmer = JTAGICE MKII ( brand new - just out of box)

Using COM 3 port

Have ATmega 328 selected as board (which matches chip on board)

Any thoughts about what I am doing wrong?

Thanks in advance for any help.

If you change this...


..back to...


...does the error message change? Go away?

Yes, it does work. However, in this case, I am assuming it uses the USB port and boot loader. I have designed my own board and have the raw Atmel part on it. I am planning to use it for a real commercial product. Therefore, I need to figure out how to make it work without the bootloader. I would rather use the Arduino method instead of re-creating functionality within Atmel AVR environment.

I have no idea what effect preferences.txt / upload.using has. And, given what you've described, I suspect it doesn't work the way you're expecting. I suggest you create an entry in boards.txt for your commercial product and, if necessary, add an entry to programmers.txt for your JTAGICE MKII.

Have you tried using AVRDUDE from the command-line with your JTAGICE MKII?