First of all I am newbie in microcontrollers. I have a ATmega8L. I have written my code in C. Code consists 12 lines & programme is straight & simple. I have Run & Compiled my code with no warning & errors in AVR Studio 4.19 & create .hex file. Now to burn this code I used Ponyprogv206f. Ponyprogv207c somehow haven't run in my PC & off course my PC doesn't have any parallel port(DB-25) but has only serial port (DB-9). So I compelled to use serial port(DB-9). I make my ckt. as pictures shown . Actually both ckt. are same. I actually +5V DC( to be exact +4.97) separately & made ISP & dc power supply's are GND common.
After doing all these when I attempted to burn my ATmega8 I got error:24 :sad: Now I am wonder what I have done wrong:-o May be it is very difficult to find out what's my problem from such far end but still I am requesting you all to help me plz.
Oops I forget to tell I didn't change any fuses. All settings are still remained in default mode. I didn't use any external oscillator. Is it the reason to get error:24?So many confusion....
The default clock source of a meage0 is the internal RC so there is no need for a crystal.
I'm not sure about the error cause because I haven't used ponyprog or a serial programmer, just parallel models and USB.
Have you set the serial port correctly and the speed of the port from the PC hardware settings?
Also make sure that you make the ISP connection correctly
Did you check your programmer with some terminal program? You can output lines SCK, MOSI and RESET change by software and check by multimeter. MISO change to 5v and 0v and monitor change on software. Software with capability to check is: