Firmware Upgrade fails again and again

Discussions related to MegaDrum Hardware

Firmware Upgrade fails again and again

Postby Tormentor » Wed Jun 10, 2009 7:07 pm

Hello,

as i finished soldering my Megadrum, I thought it's time to upgrade to the latest firmware. As MCT under Vista always quits the Upgrade process with "Error sending sysex", I follwed the instructions with Midi-OX.

I configured Midi-Ox as mentioned (Output Buffer 60000..) and send the erase Firmware file. This runs well. On Megadrums Display, I can read "Erased".

So then I wanted to flash the latest Firmware for Atmega32 with 16mhz clock and 32 Inputs. When I load up the file and click on "send sysex", nothing happens. I waited approx. 5 minutes, but Megadrum neither displays "Update finished" nor it restarted itself. When I restart it by hand (replugged megadrum), the display stays blue.


Again, the "erase_firmware" always works as it should.

I tried it on 2 different machines. Did I killed my megadrum?

Thanks
Tormentor
 
Posts: 15
Joined: Mon Apr 20, 2009 12:41 am

Re: Firmware Upgrade fails again and again

Postby dmitri » Wed Jun 10, 2009 7:16 pm

Tormentor wrote:Hello,

as i finished soldering my Megadrum, I thought it's time to upgrade to the latest firmware. As MCT under Vista always quits the Upgrade process with "Error sending sysex", I follwed the instructions with Midi-OX.

I configured Midi-Ox as mentioned (Output Buffer 60000..) and send the erase Firmware file. This runs well. On Megadrums Display, I can read "Erased".

So then I wanted to flash the latest Firmware for Atmega32 with 16mhz clock and 32 Inputs. When I load up the file and click on "send sysex", nothing happens. I waited approx. 5 minutes, but Megadrum neither displays "Update finished" nor it restarted itself. When I restart it by hand (replugged megadrum), the display stays blue.


Again, the "erase_firmware" always works as it should.

I tried it on 2 different machines. Did I killed my megadrum?

Thanks

Does the MIDI LED start to flash when you click on "send sysex"?
If not, describe step by step the while procedure here with slightest details.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware Upgrade fails again and again

Postby Tormentor » Wed Jun 10, 2009 7:32 pm

No, the Led does not flash. It glows steady.

Ok here my steps.

I boot up Megadrum with left key pressed. I do not change the clock and leave it on 16mhz. Then I press down and get the message "Send sysex now" on the display.

I load up Midi-OX, select under Midi Devices "Megadrum USB". Under view select "sysex" --> load input file "megadrum32_16_32_20090609.syx" and then "send sysex".

Btw: For erasing the firmware, these steps always work.

This is, what I can see in Midi-OX
http://img3.imagebanana.com/view/k912le1t/megadrum.jpg

The display still shows "Send sysex now" and nothing happens.

Thanks for your help.
Tormentor
 
Posts: 15
Joined: Mon Apr 20, 2009 12:41 am

Re: Firmware Upgrade fails again and again

Postby dmitri » Wed Jun 10, 2009 7:39 pm

Tormentor wrote:I load up Midi-OX, select under Midi Devices "Megadrum USB". Under view select "sysex" --> load input file "megadrum32_16_32_20090609.syx" and then "send sysex".

You don't follow the procedure exactly as I described.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware Upgrade fails again and again

Postby Tormentor » Wed Jun 10, 2009 8:02 pm

I tried to figure out the differences between my and your steps but I didn't get it :shock:

Maybe I don't described it detailed enough.

In Midi-OX I select "view" and then "sysex". In the "sysex" window, I select "Command Window" and then "Load File" megadrum32_16_32_20090609.syx. Then again in Command Window, I select "Send sysex"

I've checked the buffer size before. It's set to 60000 as you mentioned.
Tormentor
 
Posts: 15
Joined: Mon Apr 20, 2009 12:41 am

Re: Firmware Upgrade fails again and again

Postby dmitri » Wed Jun 10, 2009 8:13 pm

You still don't follow the procedure right.

Tormentor wrote:Maybe I don't described it detailed enough.

Does it look like you've described it with more details now?
In Midi-OX I select "view" and then "sysex". In the "sysex" window, I select "Command Window" and then "Load File" megadrum32_16_32_20090609.syx. Then again in Command Window, I select "Send sysex"


I asked you to describe it step by step with slightest details. Where is step 1, 2 ... 7?
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware Upgrade fails again and again

Postby Ken Forgettable » Wed Jun 10, 2009 8:16 pm

Tormentor wrote:I tried to figure out the differences between my and your steps but I didn't get it :shock:
You can try sending the file in this attachement - it's just the erase.sys and megadrum32_16_32_20090609.syx concatenated into one file.
ldrcat.zip
You do not have the required permissions to view the files attached to this post.
Ken Forgettable
 
Posts: 402
Joined: Tue Jan 06, 2009 5:04 pm

Re: Firmware Upgrade fails again and again

Postby dmitri » Wed Jun 10, 2009 8:23 pm

Ken Forgettable wrote:
Tormentor wrote:I tried to figure out the differences between my and your steps but I didn't get it :shock:
You can try sending the file in this attachement - it's just the erase.sys and megadrum32_16_32_20090609.syx concatenated into one file.
ldrcat.zip

Are you sure the erase procedure will have enough time to complete before the PC will start sending firmware part of this sysex?
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware Upgrade fails again and again

Postby Tormentor » Wed Jun 10, 2009 9:03 pm

Ok, next try. :)

1. Plug in Megadrum by holding down left button.
2. I load Midi-OX and go to "Options" --> "Configure Buffers" and set "LowLevel Output Buffers" to 60000.
3. Under "Options" --> "Midi Devices" I select Megadrum USB as Midi Output
4. Pushed the down button to confirm 16mhz clock. The Display now shows "Send sysex now" and the LED glows steady.
5. In "Midi-Ox" --> "View" --> "Sysex". In "Sysex" window I select "Command window" and "Load file". I select erase_firmware.syx.
6. Then "Send sysex". The LED lights up. A few seconds later, the Display shows "ERASED". Now the LED is off.
7. I close the window and select again in the Midi-OX window "View" --> "sysex"
8. In sysex window, I go to "Command Window", then "Load file" --> megadrum32_16_32_20090609.syx
9. In "Command Window" I click on "Send sysex"

Then nothing happens. LED is not flashing, the Display still shows "ERASED".

So when I repeat these steps without erasing the firmware before, I can see that on Midi-OX
http://img3.imagebanana.com/view/3wbdc6kg/Unbenannt.jpg

I can wait up to 10 minutes, nothing changes. The Megadrum display still shows "Send sysex now"

I hope I've described it detailed enought.
@Ken Forgettable
Thanks, but the same effect.
Tormentor
 
Posts: 15
Joined: Mon Apr 20, 2009 12:41 am

Re: Firmware Upgrade fails again and again

Postby dmitri » Wed Jun 10, 2009 9:16 pm

Go to View->SysEx then Sysex->Configure. List all the settings you have there.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Next

Return to MegaDrum Hardware

Who is online

Users browsing this forum: No registered users and 56 guests