omid_juve
Full Member level 1

i am using stk200/300 programmer for programming my atmega8 avr(my software is bascom 1.11.7.4)
in one of my program i used the internal 8M oscillator and i don`t have
any problem with it but in another program i need external 16M crystal to
work. so i defined the CKSEL t0 1111 and write the fusebit on the avr and then i placed
the 16M crystal on pin no. 9&10 of atmega8 but when i started to write my program on a chip
the programmer couldn`t identify my chip.
i used another atmega8 and before changing the internal oscillator to external crystal
i placed the 16M crystal on pin no. 9&10 of atmega8 and then i changed the oscillator
to external crystal and write the fusebits on it . this time also when i started to
write the program on my chip strangely my programmer couldn`t identify the chip another
time .
what do you think about this problem ?
please help me.
in one of my program i used the internal 8M oscillator and i don`t have
any problem with it but in another program i need external 16M crystal to
work. so i defined the CKSEL t0 1111 and write the fusebit on the avr and then i placed
the 16M crystal on pin no. 9&10 of atmega8 but when i started to write my program on a chip
the programmer couldn`t identify my chip.
i used another atmega8 and before changing the internal oscillator to external crystal
i placed the 16M crystal on pin no. 9&10 of atmega8 and then i changed the oscillator
to external crystal and write the fusebits on it . this time also when i started to
write the program on my chip strangely my programmer couldn`t identify the chip another
time .
what do you think about this problem ?
please help me.