ATMega 168 Arduino Bootloading problem

Hey guys,

I've been trying for days to flash the Arduino bootloader on my 556-ATMEGA168V10AU. The circuit design is almost identical to the Arduino Pro mini. I'm using the ArduinoISP through an Arduino Uno as my ISP. I keep getting the error

avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

I've been trying to find it on the forums, but I can't figure out how to troubleshoot this error. If anything, I'd like to use -F to "override this check" but I don't know how to use -F to override the check?!

Let me know if you guys have any suggestions! I'm sure I've wired everything correctly but I can't figure out this software side. Pulling out my hair here. I would really appreciate the help...

Thanks,
Daniel

d4n13ll33:
avrdude: Yikes! Invalid device signature.

The 168V doesn't have the same signature as the 168. If avrdude understands the 168V you can grab the "Arduino Diecimila or Duemilanove w/ ATmega168" entry from boards.txt and make a new entry in hardware/boards.txt that specifies:

diecimilav.name=Arduino Diecimila or Duemilanove w/ ATmega168V

diecimilav.upload.protocol=arduino
diecimilav.upload.maximum_size=14336
diecimilav.upload.speed=19200

diecimilav.bootloader.low_fuses=0xff
diecimilav.bootloader.high_fuses=0xdd
diecimilav.bootloader.extended_fuses=0x00
diecimilav.bootloader.path=atmega
diecimilav.bootloader.file=ATmegaBOOT_168_diecimila.hex
diecimilav.bootloader.unlock_bits=0x3F
diecimilav.bootloader.lock_bits=0x0F

diecimilav.build.mcu=atmega168v
diecimilav.build.f_cpu=16000000L
diecimilav.build.core=arduino
diecimilav.build.variant=standard

So I tried that but avrdude doesn't recognize it?

avrdude: AVR Part "atmega168v" not found.

What would my next option be?

Also, how would I use the -F to "override this check?"

Thanks for the response!
Daniel

The way to add the -F switch is to turn on verbose upload logging in preferences to get the avrdude commands the Arduino IDE is generating, then issue those commands in a command window adding the -F switch.