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.
I think it might be the problem due to capacitors, choose the accurate value of capacitor. See whether your chip is atmega8 or atmega8l and have capacity to drive to that much frequency