• Pull out the old IC with a IC extraction tool (Jameco # 16838) and insert ATmega168 processor
  • Connect Arduino board to STK500 via 6pin ISP cable. STK500 needs ~12V 500mA supply - polarity of supply doesn't matter. Power on STK500.
  • Set Fuses according to Arduino documentation via AVRdude (if someone has the mapping from hex fuse bytes to AVR Studio settings, please add here):

avrdude -p m168 -c stk500v2 -t -P com2

> write lfuse 0x00 0xff

> write hfuse 0x00 0xdd

> write efuse 0x00 0x00

> quit

  • Flash bootloader via AVR Studio 4: Tools->Program AVR->Autoconnect...

Device: ATmega168

Programming Mode: ISP

Flash Input hex file: %ARDUINO%\hardware\bootloaders\atmega168\ATmegaBOOT)168_ng.hex


Page Information

  • 7 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts