Page 1 of 2

Everything ok and... nothing!!

PostPosted: Wed Feb 11, 2009 8:41 pm
by Masmager
I have a problem and i don`t know what to do. Everything seems to be fine, Megadrum logo appears but i need to wait a one minit to see a uv metter on lcd and he looks like in a photo.

Re: Everything ok and... nothing!!

PostPosted: Wed Feb 11, 2009 8:56 pm
by dmitri
Too little details about your build. Impossible to give any help.
See: viewtopic.php?f=3&t=352

Re: Everything ok and... nothing!!

PostPosted: Wed Feb 11, 2009 9:04 pm
by dmitri
My wild guesses:
1. Incorrect Atmega crystal.
2. It is Atmega644 and you've programmed/set fuses incorrectly.

Re: Everything ok and... nothing!!

PostPosted: Wed Feb 11, 2009 9:43 pm
by Synthex
Too little details !!

Re: Everything ok and... nothing!!

PostPosted: Wed Feb 11, 2009 10:10 pm
by Masmager
Megadrum is on atmega32, crystal 16MHz. I have a programator for atmega32 and i programe with it also i trying programe with bootloader but its not working.
My computer see a megadrum.

p.s. sorry for my english :|

Re: Everything ok and... nothing!!

PostPosted: Wed Feb 11, 2009 10:24 pm
by dmitri
Show a screenshot of how you programmed Atmega "fuses".

Re: Everything ok and... nothing!!

PostPosted: Thu Feb 12, 2009 5:58 pm
by Masmager
I`m programing in avr studio 4 using stk500 programer.

Re: Everything ok and... nothing!!

PostPosted: Thu Feb 12, 2009 6:38 pm
by dmitri
Fuses are incorrect. You programmed your Atmega to use 1Mhz internal RC oscillator rather than an external crystal.
See http://www.megadrum.info/content/programming-mcus for the correct fuses.

Re: Everything ok and... nothing!!

PostPosted: Fri Feb 13, 2009 2:41 pm
by Masmager
Oh... I see what i do wrong. Thanks.
I wonna programe a atmega32 without bootloader I know that i can`t meke upadete later, but i don`t know how to setup in avr studio 4 fuses. can yout tell me how?

The most important thing is how to set up a
BOOTSZ
BOTLEVEL
CKSEL

Re: Everything ok and... nothing!!

PostPosted: Fri Feb 13, 2009 4:22 pm
by dmitri
Leave all the fuse as they were by default and change CKSEL to "Ext. Crystal/Res, High Freq, Startup time 16K CK + 0ms"