The process is really pretty simple once you have it all figured out.
- Step 1: Replace the standard Atmel chip on the Diecimila with your blank chip.
- Step 2: Switch the Diecimila from USB to EXT power.
- Step 3: Connect your adapter to the ICSP port on the Diecimila. (be sure to align Pin 1)
- Step 4: Set the fuse bits in PonyProg to the following and select "Write"

- Step 5: open your Atmega168 bootloader (.hex file) and "Write" it to the chip.
Assuming you do all the above correctly, you should then be able to plug your USB back into the Diecimila, fire up the Arduino IDE and upload your sketches.
**Note: if you run into an issue with PonyProg prompting you to "Abort,Retry,Ignore" you may be running into an issue with the bootloader competing with the Write operation. There is a simple fix - while pushing the reset button on the Diecimila several times, simultaneously hit "Retry" in PonyProg. After a couple tries PonyProg should be able to win the race condition and write to the chip...


