Updating firmware

Discussions related to MegaDrum Hardware

Updating firmware

Postby Fulano » Sat Nov 15, 2008 10:53 am

I finished assembling my megadrum and it worked correctly, with Superior Drummer 2.0.
A few days later, I noticed that the up button didn't work. I replaced the push button. However, the megadrum's behaviour was unstable. Instead of the vu meter screen, it showed two lines. And if you hit a pad, the bar is shown from left to right. Something like this:

.........................
||||||||..............

I updated the firmware to the last one with the Yamaha cymbals support. It worked, but now my computer can't recognise the device. I have updated the firmware many times. The firmware is sometimes charged, but most of the time fails, and the screen shows nothing, just the back light.

I have seen in other threads to change the buffer values in Midiox up to 60000. I have done it. As well, we are supposed to turn megadrum on while holding the right button after updating new firmware. I tried, but mine does nothing.

Any solution?
Fulano
 
Posts: 17
Joined: Fri Sep 19, 2008 7:29 pm

Re: Updating firmware

Postby dmitri » Sat Nov 15, 2008 12:30 pm

Fulano wrote:I finished assembling my megadrum and it worked correctly, with Superior Drummer 2.0.
A few days later, I noticed that the up button didn't work. I replaced the push button. However, the megadrum's behaviour was unstable. Instead of the vu meter screen, it showed two lines. And if you hit a pad, the bar is shown from left to right. Something like this:

.........................
||||||||..............

You have 'Big VU Meter' set to Yes in the menu.

I updated the firmware to the last one with the Yamaha cymbals support. It worked, but now my computer can't recognise the device. I have updated the firmware many times. The firmware is sometimes charged, but most of the time fails, and the screen shows nothing, just the back light.

If it is not recognised how do you do the firmware update through a bootloader?

I have seen in other threads to change the buffer values in Midiox up to 60000. I have done it. As well, we are supposed to turn megadrum on while holding the right button after updating new firmware. I tried, but mine does nothing.

Any solution?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Updating firmware

Postby Fulano » Sat Nov 15, 2008 5:40 pm

If it is not recognised how do you do the firmware update through a bootloader?


When the firmware is successfully updated, my computer can't recognise the device. However, if I turn the megadrum pressing the left button, and shows the updating message, my computer seems to recognise it, because midi ox can send the file.

Now I have the firmware updated and working (I tried many times). However, if I simply turn the megadrum on, I can't use the menus, using the right button. But if I turn the megadrum of pressing the right button, it goes directly to the menus, showing kick, snare, and toms stuff. Crazy, isn't it?

Just in case I'm using the wrong firmware file. What do I have to take into account when choosing one?
Fulano
 
Posts: 17
Joined: Fri Sep 19, 2008 7:29 pm

Re: Updating firmware

Postby dmitri » Sat Nov 15, 2008 7:25 pm

What Atmega exactly do you have and what is your crystal frequency?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Updating firmware

Postby Fulano » Sun Nov 16, 2008 9:39 am

I have what Synthex sent me. An atmega 32 16pu and there are two crystals, 12 mhz and 20 mhz.

I read that if you turn the megadrum on pressing the up button you can choose the crystal frequency, but I can't. It boots normally.
Fulano
 
Posts: 17
Joined: Fri Sep 19, 2008 7:29 pm

Re: Updating firmware

Postby dmitri » Sun Nov 16, 2008 11:30 am

Your Atmega is overclocked. Read this viewtopic.php?f=3&t=333&hilit=overclocked
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Updating firmware

Postby Fulano » Wed Nov 19, 2008 4:53 pm

Ok so If I'm not wrong I have to:
- make an ICSP cable.
- Replace the crystal with a 16 mhz one.
- Send this bootloader:
Here is the bootloader for Atmega32 to test:
16MHz:
Attachment:
bootloader32_16.hex [3.5 KB]
Downloaded 8 times



- Update the firmware with the megadrum32_16_32_20081020 file.ç

Btw, is there any way of solving this problem without changing the crystal? It supposes a 40 km drive to buy one :mrgreen:

Can I update the bootloader via usb? or I really need the icsp cable? midi cable perhaps?
Fulano
 
Posts: 17
Joined: Fri Sep 19, 2008 7:29 pm

Re: Updating firmware

Postby dmitri » Wed Nov 19, 2008 5:03 pm

Isn't your bootloader already multi frequency capable? If not, use the latest bootloader from here: viewtopic.php?p=2982#p2982
bootloader can be updated only with the icsp cable.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Updating firmware

Postby Fulano » Wed Nov 19, 2008 5:15 pm

Isn't your bootloader already multi frequency capable?

I don't think so. I turn megadrum on pressing the up button, and it simply shows the copyright screen.
Fulano
 
Posts: 17
Joined: Fri Sep 19, 2008 7:29 pm

Re: Updating firmware

Postby dmitri » Wed Nov 19, 2008 6:03 pm

Fulano wrote:
Isn't your bootloader already multi frequency capable?

I don't think so. I turn megadrum on pressing the up button, and it simply shows the copyright screen.

UP? To enter bootloader you must hold the key LEFT pressed while powering up. Read the post from the link I provided above.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Next

Return to MegaDrum Hardware

Who is online

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