I bought my first Atmega 16 yesterday and I want to transfer my first program from my PC to the controller. For this purpose I am using USBASP Programmer. The link for specific model I am using is https://robu.in/product/usbasp-a....
I have read the manual and the procedure to dump the code. However, I am read in many forums about the wrong fuse settings that newbies like me make which makes the controller unusable. Thus I want to confirm that my fuse settings are correct beforehand. After reading the datasheet, I got the fuse settings when external oscillator is connected as lfuse = 0xff and hfuse = 0xC9. Let me know if I am correct. Also let me know what are the fuse settings when Internal oscillator is used.
Finally, according to the youtube tube given in the programmers site we need to connect only MOSI, MISO, SCK, RESET, VCC and GND. However in atmega 16 datasheet it is given that AVCC and another GND at pin 31 should also be connected. So do I have to connect AVCC and GND to that of VCC and GND of the programmer?