I have ATmega168a on a breadboard. I am programming it via the Arduino IDE and a FT232RL USB adapter. When I select my board for 168 and upload, I get the following error:
stk500_getsync(): not in sync: resp=0x00
Normally this error means that either:
- My wiring is not correct
- I choose the wrong board
So to double check my wiring, I replace the 168 with a 328p. I am able to program the 328, so I think its the board selection.
I have tried
Ardiono Diecimila or Duemilanove w/ ATmega168 and I also have a custom board entry:
atmega168bb.name=ATmega168 breadboard (16 MHz internal clock) atmega168bb.upload.protocol=stk500 atmega168bb.upload.maximum_size=14336 atmega168bb.upload.speed=57600 atmega168bb.bootloader.low_fuses=0x62 atmega168bb.bootloader.high_fuses=0xDF atmega168bb.bootloader.extended_fuses=0xF9 atmega168bb.bootloader.path=arduino:atmega atmega168bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_16MHz.hex atmega168bb.bootloader.unlock_bits=0x3F atmega168bb.bootloader.lock_bits=0x0F atmega168bb.build.mcu=atmega168 atmega168bb.build.f_cpu=16000000L atmega168bb.build.core=arduino:arduino atmega168bb.build.variant=arduino:standard
Also, I am able to program the 168 via my AVR Programmer/Debugger. If you are wondering why I should just use the AVR Dragon, there reason is that I a sometimes don't want to remove the chip from the bread board while developing and programming.
Any suggestions I can try?