Okay, I'm going to see if I can remember what I did, do it, then I'll document it here.
Update:
All this done under V.0022
Okay, here's what I did.
-
I got two 328Ps and burnt fresh Duemilanove BLs onto to both using an OMS AVR Prog-S ICSP programmer.
-
One I put into my Duemilanove, the other I put on a breadboard (with crystal) and verified both were working.
-
I loaded the Arduino ISP sketch onto the Duemilanove
-
I connected the Duemilanove to the breadboard like this:
- SCK to SCK
- MISO to MISO
- MOSI to MOSI
- Pin 10 to Reset (pin 1)
- 5V to VCC
- GND to GND
-
Selected board "Atmega328 on breadboard (8 MHz internal clock)"
-
Selected "Burn Bootloader --> W/ Arduino as ISP"
Result: I was presented with the classic Not in sync error. I re-checked my wiring, verified signals with a scope, tried again and still got the sync error.
I then took the Duemilanove off and using the OMS AVR Prog-S, went back and did steps 4, 5 and 6 (selecting the right programmer).
Result: Success!
I repeated step 1 again, and this time using a USBtinyISP repeated steps 4,5 and 6 (selecting the right programmer).
Result: Success!
With the final freshly burned 328P, I got an OMS Omega-328 (Duemilanove compatible) and using it went back and did steps 3, 4, 5 and 6.
Result: I was presented with the classic Not in sync error.
Conclusion: The Arduino ISP sketch cannot deal with the "Atmega328 on breadboard (8 MHz internal clock)" BL using a chip that has already had a BL on it.
I'm guessing you don't have access to an ICSP programmer otherwise you would not be trying to use your Duemilanove.
Honestly, I don't think it will work. Not the greatest news, but I don't know what else to try. Maybe a a totally fresh chip without a crystal, but if you don't have an ICSP I'm not sure how you can erase the chip and put it back to default configuration.
You might want to consider getting an ICSP programmer. They are truly a required tool for this sport and cheap too. We sell ours for under $10. I've seen many others even cheaper, although I cannot vouch for their avrdude compatibility, I can't see someone going to the trouble of designing one that was not avrdue compatible. Even still, there are dozens out there with a proven track record. I know it does not get you out of your current predicament, but an ICSP programmer will be a very good investment in your hobby.