If you use a different processor or other
pins, than you need to edit source file: defines_inc
(AVR_Studio_assembler). The quartz resonator is not necessary for
Atmega. We can use the Internal RC Oscillator. Because certain differences step out in instructions
assembler the conditional compilation was applied (TYPE = 1, TYPE =
2). TYPE =2 you should apply for the microprocessors of
the newer generation.
The example for Atmega16:
PonyProg (www.lancos.com) deserves among free
applications on the special attention, operator among others programmer
unit ISP. One can also use I2c Programmer v1.5 ATMega8515
(http://web.zackyfiles.com/secciones/programadores/soft.htm) and usual
programmer unit funprog. The program ICProg reads in files *.hex
mistakenly. One can write down files to the format *.bin e.g. by the
use of
PonyProg.
Bits configuration with quartz oscillator for ATmega16 (PonyProg2000)
Bits configuration using On-chip Oscillator 1MHz (no quartz)