Programming ATMEGA644 with an AVRISP MKII Programmer

Hey guys,

I'm quite new to programming, but have built my own PCB with an ATMEGA644 chip. I have connections to the 6 pin programming header and purchased an AVRISP MKII programmer from Atmel. My question is...how can I program the chip with the Arduino software? When I try to program it, I get an error. I've got code that successfully compiles for the ATMEGA644 chip. I've done a bit of searching on the internetz and found that it may be a problem with the USB driver. I have uninstalled the JUNGO driver that the programmer is looking for, but don't know which driver to use in its place. I've read that I should use the libusb driver that comes with the Arduino software, but I can't find it. When I try to install the driver and have the 'window new hardware' install look in the arduino drivers folder, it won't install any of them. I'm using windows XP SP3.

Does anyone have any experience with this and is willing to offer any help?

Thanks,

Joe Fo Sho

I am looking for the same help - get a message about USB when I try to "upload using programmer" to a '1284 using the MKii programmer.
I have IDE 1.0 and Win Vista.

Might have to just use AVR Studio software and program the .hex file that arduino creates..

I have done that to get bootloaders in. What I really want to do is be able to load sketches via FTDI Basic & serial port.
Thinking I might have mismatch in files between bootloader & boards.txt maybe, different upload speeds in use.

I have the Arduino ATmega2560 board and have been experiencing the same issues with the AVRISP mkII. None of the solutions that I have come across thus far have worked with the Arduino 1.0 IDE. I find this disappointing since one of the programmer options is the mkII. I have, however, successfully used the mkII with AVR Studio 5.0, 5.1 and 6.0 to upload all kinds of programs.

I was able to solve my issue:
downloaded bootloader into '1284 by breaking out (using an adapter cable) the VCC pin on the AVR ISP MKii and connecting it to 3.3V, so it programmed at the same voltage the chip was at.
Then I was able to upload sketches by bypassing the 3.3V regulator and powering the '1284 from 5V, that seemed to let it talk to the FTDI Basic for sketch downloads.
I haven't tried playing with the solder jumper pad on the FTDI Basic to see if downloading sketches, with the pad set for 3.3V, works.