Also - if you plan on doing any kind of re-programming of the ATMega (bootloaded or otherwise) on a constant basis (perhaps to build your own standalone boards or something), you don't want to plug and unplug the ICs from the Arduino board. Instead, use a ZIF socket; in fact, there are shields available designed just for this purpose. If this is something you do often (say, for adding an Arduino HEX dump to pre-bootloaded ATMegas for small-scale production or something), you might just want to construct a dedicated Arduino and ZIF socket shield for this purpose.
I added a DB9 socket and MAX232 chip to my programming shield so I can program the chip through a standard RS-232 connector.
Quote from: majenko on Jul 13, 2012, 09:58 pmI added a DB9 socket and MAX232 chip to my programming shield so I can program the chip through a standard RS-232 connector.Pretty old school aint' it? Sounds pretty cool though
That's what I was planning on doing when I ran into this project. I even picked up an Arduino protoshield and a few ZIF's for the project. I then learned that you can't upload sketches to a bare 328 without removing the chip in the Arduino. I've been looking at a way of making a shield that will allow burning the bootloader and uploading a sketch without a bunch of fiddling.I should probably just get a dedicated programmer or cable.
DIP is so old school
I suggest dropping the boot loader also. Instead go for the ISP header and use a standard 2x3 matrix to allow you to burn the boot loader once followed by uploading programs directly. You still have to burn a boot loader once in order to set all the right fuses, allow the MCU to use an external oscillator, etc. but uploading via ISP is really easy now because arduino 1+ gives you the option right in the file menu. I only use that option since switching to the 1.01 IDE.