Page 1 of 1

atmega version

PostPosted: Thu Sep 16, 2010 8:17 am
by sandy
What versions of ATmega are suitable? Will it work with ATmega32A http://www.atmel.com/dyn/resources/prod ... /8155S.pdf?

Re: atmega version

PostPosted: Thu Sep 16, 2010 9:26 am
by Firelord
sandy wrote:What versions of ATmega are suitable? Will it work with ATmega32A http://www.atmel.com/dyn/resources/prod ... /8155S.pdf?

Yes, it will.

Re: atmega version

PostPosted: Fri Sep 17, 2010 6:56 am
by sandy
Firelord wrote:
sandy wrote:What versions of ATmega are suitable? Will it work with ATmega32A http://www.atmel.com/dyn/resources/prod ... /8155S.pdf?

Yes, it will.


Have you actually tried? The specs are different from 324P, and 32A costs about a half of 324P.

Re: atmega version

PostPosted: Fri Sep 17, 2010 7:12 am
by Firelord
sandy wrote:
Firelord wrote:
sandy wrote:What versions of ATmega are suitable? Will it work with ATmega32A http://www.atmel.com/dyn/resources/prod ... /8155S.pdf?

Yes, it will.


Have you actually tried? The specs are different from 324P, and 32A costs about a half of 324P.

Why would I need to try? You need ATmega32, ATmega324(P) or ATmega644 for MegaDrum (either one will do), 32A is just an updated version of 32. There is no such difference between 32 and 32A that would break compatibility. 324P is an enhanced version, for example its speed grade is 20MHz as opposed to 16MHz in 32(A) so it's a different story.

Re: atmega version

PostPosted: Fri Sep 17, 2010 8:04 am
by sandy
Firelord wrote:Why would I need to try? You need ATmega32, ATmega324(P) or ATmega644 for MegaDrum (either one will do), 32A is just an updated version of 32. There is no such difference between 32 and 32A that would break compatibility. 324P is an enhanced version, for example its speed grade is 20MHz as opposed to 16MHz in 32(A) so it's a different story.


I programmed megadrum32_16_32_20100516 into 32A with 16Mhz crystal. It seems to start, shows bars after a while and appropriate channels spike when I connect a piezo to them and tap on it, but appears to be very slow, and does not send any midi data (no pic here, just midi). Seems like something is wrong with clock.

Re: atmega version

PostPosted: Fri Sep 17, 2010 10:31 am
by Firelord
What exactly does 'appears to be very slow' mean? Describe in more detail.

Re: atmega version

PostPosted: Fri Sep 17, 2010 11:00 am
by dmitri
1. Wrong fuses programmed.
2. Wrong crystal.

Re: atmega version

PostPosted: Sat Sep 18, 2010 7:29 pm
by sandy
dmitri wrote:1. Wrong fuses programmed.
2. Wrong crystal.


Yeah, wrong fuses. low 0xff and high 0x89 worked. I did not see any clear mentioning of this in the documentation.

Re: atmega version

PostPosted: Tue Oct 23, 2012 2:51 am
by silnangmarak
Yeah, wrong fuses. low 0xff and high 0x89 worked. I did not see any clear mentioning of this in the documentation.[/quote]

OK that means I have set ff in lowfuse and 89 in highfuse and write the firmware! I try it!