ATMega168 and arduino USB board

Silly question, can I program the ATMEGA168 chip with the Arduino USB board? I was able to get the ATMEGA8 chip to work just fine, but when I try to swap it for a 168 the Arduino007 software says “Programmer not responding.” Any suggestions?

Yup,

I am facing the same problem. It seems like 168 is for Arduino Stamp chip. I have posted this question in Arduino site. Hope someone would clarify it.

Rgds,

Bryan

http://www.arduino.cc/cgi-bin/yabb2/YaB … 1170659302

I replied over at arduino too.

http://wolfpaulus.com/journal/embedded/arduino2.html

I was never able to burn the 168 bootloader with the parrallel programmer I built, but I still think it might be possible

This works for me. I have several Arduino boards and have replaced all the “8’s” with “168’s” using the following technique. You will need a hex loader of some type (I use the AVR ISP MkII w/ USB) First, carefully remove and save the old “8” and replace it with the new “168”. Next switch the Arduino IDE to “168” as the target and deliberately try to compile and upload a program (any program) to a bogus device (e.g. a USB port with nothing there). This creates the .hex file with the “program” in the “applet” folder of the Arduino user area for the program you just compiled.

The compiler creates the complete SRAM image, not just the program, so you have the bootloader in the hex file, see. Now start up the AVR Studio or whatever and upload the hex file to your Arduino via the ISP connection. Now (back in the Arduino IDE on USB) your chip will respond to the Arduino pause-for-bootloader at start of upload and you can put any program that will fit on it. You will have to move the Arduino around to do this or, as I did, from Mac to PC and back again, but once it’s done, it’s done.