| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Upgrading ATmega8 to ATmega168

Page history last edited by PBworks 16 years, 3 months ago
  • 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

Comments (0)

You don't have permission to comment on this page.