trying to burn bootloader to atmega328

I am trying to burn the bootloader to an atmega328-pu using an uno as an isp. I wired it up according to the ArduinoISP sketch and it worked just fine for a 328P-PU. Then I pulled the 328P out of the breadboard and replaced it with a 328 (no 'P') to repeat the procedure. This is the error message i get :

avrdude: Expected signature for ATMEGA328P is 1E 95 0F
Double check chip, or use -F to override this check.

Two different chips- one worked perfectly, the other not so much. also, after uploading the ISP sketch, I switched TOOLS>BOARD to Arduino Duelimanove w/atmega328 before trying too burn the bootloader. any other board setting produces an "out of sync" error, so i assume this must be the right board setting. After looking through some of the other threads on bootloading, I tried Nick Gammon's Atmega_Board_Detector sketch and this was the output for the 328:

Atmega chip detector.
Entered programming mode OK.
Signature = 1E 95 14
Unrecogized signature.
LFuse = 62
HFuse = D9
EFuse = FF
Lock byte = FF
Clock calibration = 90

First 256 bytes of program memory:

0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

I feel like I am missing something important. Anybody know what I am doing wrong?

Hi

Does this thread help?

I think it looks like the issue you're describing.

Cheers ! Geoff

You can temporarily change the signature for your chip in avrdude.conf file (to 1E 95 14).

hmm that helped a little. avrdude.conf file looks like this now: signature = 0x1e 0x95 0x14;
the arduino starts to program, then after a few seconds the LEDs stop blinking and I get this error:

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync

Do I need to alter this "resp=0x64" somewhere too?