Updating MegaDrum firmware via bootloader with MIDI-OX

Discussions related to MegaDrum Hardware

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby Ken Forgettable » Thu Jun 25, 2009 7:39 pm

Should make things easier all round eh! 8-)
Ken Forgettable
 
Posts: 402
Joined: Tue Jan 06, 2009 5:04 pm

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby jman 31 » Wed Sep 30, 2009 2:52 pm

Is the newest version of MCT loading the firmwares now?
jman 31
 
Posts: 536
Joined: Thu Jul 10, 2008 10:51 pm
Location: USA

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby kurtus420 » Wed Sep 30, 2009 3:09 pm

I could not get my v4 bootloader to work with v1.82, kept getting an error message though I can't remember what that message said.
56 input Megadrum644, Tama Iron Cobra, Taye, Sonor, Roland, Yamaha, Gibraltar, Tascam.
kurtus420
 
Posts: 222
Joined: Tue May 26, 2009 12:51 am
Location: Nanaimo, Vancouver Island, Canada

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby Trommeltotti » Tue Oct 06, 2009 6:30 pm

Hey every Buddy, dear @dmitri

I tried today to update the newest firmware (20091004) with MCT. It does not work. So I tried this with Midi-OX with following Steps:




1. Power MegaDrum up while holding the key LEFT pressed. If you connect over USB and it is the first time you connect your MegaDrum to your PC, let Windows install drivers.
2. Start MIDI-OX (don't start it before connecting MegaDrum!). In MIDI-OX menu go to Options->Configure Buffers and set Output, NOT Input, Buffers Size to 60000.
3. If your MegaDrum is connected over USB, in MIDI-OX menu go to Options->MIDI Devices and in 'MIDI Outputs' select MegaDrum USB (it may be called USB Audio). If your MegaDrum is connected over a standard MIDI, in MIDI-OX menu go to Options->MIDI Devices and in 'MIDI Outputs' select MIDI port your MegaDrum is connected to for output.
4. In MegaDrum select correct frequency for your Atmega crystal by pressing the key UP. Each time you press UP it will cycle one step through 16MHz-20MHz-24MHz-12MHz. If you use a 16MHz crystal for Atmega, you don't need to press UP since 16MHz is a default start up frequency for the bootloader.
5. In MegaDrum press the key DOWN. It will display 'Send Sysex now'.
6. Skip this step if your MegaDrum has an old type of the bootloader, i.e. without protection from accidental firmware erasure. In MIDI-OX go to View->SysEx... In the SysEx window go to Command Window-> Load File... and load this file:
Attachment:
erase_firmware.syx [4 Bytes]
Downloaded 72 times
Still in the SysEx window go to Command Window->Send Sysex. After a couple of seconds MegaDrum should show 'ERASED'. If it doesn't, then you didn't select bootloader frequency matching your Atmega crystal or you have hardware problem in your MegaDrum board or your Windows installation is screwed up.
7. In MIDI-OX go to View->SysEx... In the SysEx window go to Command Window-> Load File... and load the MegaDrum firmware .syx file matching your MegaDrum hardware, e.g. for 32 inputs MegaDrum with Atmega32 at 16MHz it will be megadrum32_16_32_20090306.syx where first '32' is type of Atmega, '16' - crystal frequency, second '32' - number of inputs and '20090306' - firmware version. Still in the SysEx window go to Command Window->Send Sysex. It will start sending the new firmware to MegaDrum. The MIDI LED should be flashing around twice a second. After around 10-15 seconds the update should finish, MegaDrum should show 'Updated finished' and it will restart automatically in a couple of seconds. If it doesn't work, then you didn't select bootloader frequency matching your Atmega crystal or you have hardware problem in your MegaDrum board or your Windows installation is screwed up.





The Update megadrum644_20_56_20091004.sys (Atmega644 20MHZ 56 version) with Midi-OX was successful. But after update the display shows just one arrow on left upper row and on the right down row a minus sign on display! No more possible to use the display with the on board keyboard! Shit happens :( What did I wrong? Please help. (The MCT works and don't ask any more for the firmware (20091004) update!

Thanks very much

Trommeltotti
Trommeltotti
 
Posts: 68
Joined: Sat May 02, 2009 10:55 am

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby dmitri » Tue Oct 06, 2009 6:43 pm

Trommeltotti wrote:The Update megadrum644_20_56_20091004.sys (Atmega644 20MHZ 56 version) with Midi-OX was successful.
But after update the display shows just one arrow on left upper row and on the right down row a minus sign on display! No more possible to use the display with the on board keyboard! Shit happens :( What did I wrong? Please help. (The MCT works and don't ask any more for the firmware (20091004) update!

1. Are you sure you set set "Output, NOT Input, Buffers Size to 60000"?
2. Did you try to do the update again?
3. Does MIDI LED flash when you're sending megadrum644_20_56_20091004.syx file?
4. How long does the update take until you see 'Update finished' on the LCD?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby Trommeltotti » Tue Oct 06, 2009 7:03 pm

dmitri wrote:1. Are you sure you set set "Output, NOT Input, Buffers Size to 60000"?
2. Did you try to do the update again?
3. Does MIDI LED flash when you're sending megadrum644_20_56_20091004.syx file?
4. How long does the update take until you see 'Update finished' on the LCD?



@dmitri, thanks for that fast answer.

1. No I'm not sure! Because the "Output Buffer Size" value is just possible to set to "6000" not "60000" in the Midi-OX options dialog. Please check this! Do I right?
2. Yes I did: Maybe I try some more times for success. I'm right to use the "sys" file and not the "hex" file?
3. Yes. LED flash during update.
4. About 10 seconds. Then straitly comes this strangely display view. :cry:

Trommeltotti
Trommeltotti
 
Posts: 68
Joined: Sat May 02, 2009 10:55 am

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby Trommeltotti » Tue Oct 06, 2009 7:12 pm

[img][IMG]http://www15.picfront.org/picture/wO2kcOVQef/img/ScanImage001.png[/img][/img]

Just a fast picture with web cam. Bad quality but maybe helpfully.

Thanks
Trommeltotti
Trommeltotti
 
Posts: 68
Joined: Sat May 02, 2009 10:55 am

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby jman 31 » Tue Oct 06, 2009 7:14 pm

I was able to put in 60,000. You wont see the six anymore when you put it in though. You only see a space for four numbers, but you can put in more.
jman 31
 
Posts: 536
Joined: Thu Jul 10, 2008 10:51 pm
Location: USA

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby Trommeltotti » Tue Oct 06, 2009 7:19 pm

jman 31 wrote:I was able to put in 60,000. You wont see the six anymore when you put it in though. You only see a space for four numbers, but you can put in more.


Thanks I will try this! Maybe this not a real professional dialogue box value setting in Midi-OX. But no crying! I do not forget that this is still freeware! ;)

Thanks
Trommeltotti
Trommeltotti
 
Posts: 68
Joined: Sat May 02, 2009 10:55 am

Re: Updating MegaDrum firmware via bootloader with MIDI-OX

Postby Trommeltotti » Tue Oct 06, 2009 8:29 pm

jman 31 wrote:I was able to put in 60,000. You wont see the six anymore when you put it in though. You only see a space for four numbers, but you can put in more.


@jman 31, you was right! Thanks much. This condemned Midi-OX "Buffer Size" dialogue value box can realy confusing! If you make values above 9999 you can not see this settings in this small dialogue box! What a shit!

@dmitri, maybe you make a comment on your discription at point 2. to make shure that there comes no confusion to this. Perhaps like this: Attention please: You can not see the right settings in dialogue Box if you use more numbers than four.

Thanks
Trommeltotti
Trommeltotti
 
Posts: 68
Joined: Sat May 02, 2009 10:55 am

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 105 guests