atmega version

Discussions related to MegaDrum Hardware

atmega version

Postby sandy » Thu Sep 16, 2010 8:17 am

What versions of ATmega are suitable? Will it work with ATmega32A http://www.atmel.com/dyn/resources/prod ... /8155S.pdf?
sandy
 
Posts: 4
Joined: Thu Jul 29, 2010 4:55 pm

Re: atmega version

Postby Firelord » Thu Sep 16, 2010 9:26 am

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.
Firelord
 
Posts: 666
Joined: Wed Jun 10, 2009 7:50 pm
Location: Estonia

Re: atmega version

Postby sandy » Fri Sep 17, 2010 6:56 am

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.
sandy
 
Posts: 4
Joined: Thu Jul 29, 2010 4:55 pm

Re: atmega version

Postby Firelord » Fri Sep 17, 2010 7:12 am

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.
Firelord
 
Posts: 666
Joined: Wed Jun 10, 2009 7:50 pm
Location: Estonia

Re: atmega version

Postby sandy » Fri Sep 17, 2010 8:04 am

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.
sandy
 
Posts: 4
Joined: Thu Jul 29, 2010 4:55 pm

Re: atmega version

Postby Firelord » Fri Sep 17, 2010 10:31 am

What exactly does 'appears to be very slow' mean? Describe in more detail.
Firelord
 
Posts: 666
Joined: Wed Jun 10, 2009 7:50 pm
Location: Estonia

Re: atmega version

Postby dmitri » Fri Sep 17, 2010 11:00 am

1. Wrong fuses programmed.
2. Wrong crystal.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: atmega version

Postby sandy » Sat Sep 18, 2010 7:29 pm

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.
sandy
 
Posts: 4
Joined: Thu Jul 29, 2010 4:55 pm

Re: atmega version

Postby silnangmarak » Tue Oct 23, 2012 2:51 am

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!
silnangmarak
 
Posts: 57
Joined: Wed Jan 06, 2010 9:25 am


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Google [Bot] and 95 guests