Hi
I have been also trying to burn a bootloader onto an Atmaga 168 20PU on a breadboard from an Arduino Uno. I have set up the board as shown in DuaneB's post and also played with putting in a 120 ohm resistor and a 10 microfarad capacitor between 5v and reset. I also added this code to the end of the boards.txt file as suggested on the old forum
##############################################################
atmega168bb.name=ATmega168 on a breadboard (8 MHz internal clock)
atmega168bb.upload.protocol=stk500
atmega168bb.upload.maximum_size=14336
atmega168bb.upload.speed=57600
atmega168bb.bootloader.low_fuses=0xE2
atmega168bb.bootloader.high_fuses=0xD9
atmega168bb.bootloader.extended_fuses=0x07
atmega168bb.bootloader.path=arduino:atmega
atmega168bb.bootloader.file=ATmegaBOOT_168_pro_8MHz.hex
atmega168bb.bootloader.unlock_bits=0x3F
atmega168bb.bootloader.lock_bits=0x0F
atmega168bb.build.mcu=atmega168
atmega168bb.build.f_cpu=8000000L
atmega168bb.build.core=arduino:arduino
I load in the ARduino ISP from the examples menu then select Arduino Uno for the board and upload it . All Ok so far. I then hook up the reset override resistor between the reset pin and the 5v rail and set "Arduino as ISP" for the programmer and "ATmega168 on a breadboard (8 MHz internal clock)" for the board then do burn bootloader.
I get this message "avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check."
I have double checked the connections and am sure they are right. I saw somewhere something that says you can't do this burn to a breadboard process from an Arduino Uno. Is that correct or should the changes described above fix this?
I saw the references to Optiloader on Github and tried to do something with that but I'm not sure where to put the header file and the pde file. I tried compiling the pde file in sketch but this give me errors.
Is there a problem with the code I added to the boards.txt file? or can anyone sugegst how this process should work for an Arduino Uno and an atmega168 20PU on the breadboard. I haven't put my 16Mhz crystal and 18-22pf capacitors on the breadboard as the boards file addition post suggested they should not be used
I've been struggling all day so any help would be much appreciated.
David