Not able to burn bootloader

This is the message I get when I try to burn the bootloader to a 168 chip using the parallel programmer. I'm using ver.13 Arduino.

Any help much appreaciated.

Wrong microcontroller found.

Did you select the right board from the tools >board menu. (YES I DID)

avrdude: AVR device not responding avrdude: initialization failed, rc=-1 avrdude: Yikes! Invalid device signature. avrdude: Expected signature for ATMEGA168 is 1E 94 06 avrdude: AVR device not responding ***failed; avrdude: verification error, first mismatch at byte 0x0000 0x00 != 0x07 avrdude: verification error; content mismatch

get another ISP programmer or try the FTDI Bit Bang hack. parallel port programmers tend to have timing issues.

The initial fuse settings of the Atmega may not match the settings of the
programmer. The setting that I usually end up changing is the bitclock (which
is the avrdude -B switch).

In my Makefile changing the -B to 100 (100 uS) the first time the chip is
programmed and then back to 1 (1uS) works.

(* jcl *)