hi, hello everybody. I'm a complete newbie to arduino's but i used few of the AVR micros using WINAVR as the compiler.i used a simple serial port programmer designed by lanconelli. Even before starting journey with the AVR's i heard about arduino and became a fan right from then.Now i want to make an arduino for my self so that i can enjoy the power of arduino. I have an atmega8l micro and using ponyprog i burnt the bootloader given in arduino-1.0.3 i.e ATmegaBOOT-prod-firmware-2009-11-07.hex file. i connected the circuit on a breadboard and tried to upload the example sketch.the led on PB5 pin was blinking but the arduino could not upload the sketch. Am i doing anything wrong in the programming of bootloader. Since i dont have an arduino i first wrote the lockbits to 0x3f and then burnt the bootloader to the micro.later i wrote the lockbits to 0x0f. i even programmed the lowfusebytes and highfuse bytes as mentioned for the Arduino NG or older w/ ATmega8. i'm using a max232 to communicate with the micro.when i just turn on the supply and click on upload button i get the error as Binary sketch size: 890 bytes (of a 7,168 byte maximum) avrdude: stk500_getsync(): not in sync: resp=0x00 please help me where i was wrong. should i build a parallel port programmer for burning the bootloader.thanks in advance.
If you are new to Arduino, you could better buy an Arduino Uno. Once you know everything about Arduino, you could try to make one yourself.
Perhaps this is usefull:
The Arduino IDE (the software you can download, version 1.0.3 at the moment), takes care of the fuses if you write the bootloader.
If you make something compatible with ATmega 8 NG, you should use an ATmega8 at 16MHz.
How can you run a ATmega8L at 16MHz ? It is a 8MHz chip.
hari1991: i burnt the bootloader given in arduino-1.0.3 i.e ATmegaBOOT-prod-firmware-2009-11-07.hex file. i connected the circuit on a breadboard and tried to upload the example sketch.the led on PB5 pin was blinking but the arduino could not upload the sketch.
How did you burn the bootloader? Sounds like you have a programmer already. What are the fuse bytes?
thank you very much. I just overlooked at the combined datasheet of atmeg8 and 8l.yes sir u were right.thanks once again. i'll surely retry by changing the clock.yes,sir i made a serial port programmer and set the fuse bytes as shown for Atmega8 bootloader in the arduino folder.