submergency

So I've got a few AVRmega168 in DIP packaging to easily make my own circuits w/out having to solder surface mount things. Is there any way I can use the ICSP programmer interface to upload programs created using the Arduino enviroment?

submergency

I've build a serial ICSP programmer, and I can flash my ATmega168 chip with programs I've written and compiled using avr-gcc. The issue I'm running into is that it appears the provided bootloader code on the arduino bootload page appears to only be for the ATmega8, or can I just use a program like avrdude to flash the ATmega168 with the provided bootloader hex file? Or if I can't use the bootloader code on the ATmega168 can I then just write programs using the Arduino IDE and then upload the compiled .hex file without issues?

brainfart

User bigfun is selling Atmega168 with the arduino bootloader. So it is possible. Check this thread:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1159499314

Quote

can I then just write programs using the Arduino IDE and then upload the compiled .hex file without issues?

Yes, you can use Arduino sketches without the bootloader.

http://www.arduino.cc/playground/Learning/AtmegaStandalone

"If you have an external programmer you can burn sketches to the Arduino board without using the bootloader. This allows you to use the full program space (flash) of the chip on the Arduino board. It also avoid the bootloader delay when you power or reset your board."

http://www.arduino.cc/en/Hacking/Programmer

submergency

Thanks, this was just what I was looking for. From the look of things all I need to do is set the right fuse bits on the ATmega168 and then upload the right .hex bootloader file. Hopefully this all will work for me, I'll give it a try tonight when I get home.