Problem with firmware getting erased by random!!!

Discussions related to MegaDrum Hardware

Problem with firmware getting erased by random!!!

Postby slayer666 » Wed Mar 12, 2008 8:45 pm

I have to reinstall the firmware every couple of reboots of the megadrum.
I Update the firmware with midiox and the megadrum reboots, all ok.
I unplug the usb and leave it for at minute to rest and then plug usb in and I get the firmware update menu from start.
It's like it gets erased as soon as the power is cut off.

Firmware or hardware error?

Edit: I noticed that It doesn't erase the firmware, it simply starts in Update mode sometimes.
Anyone else experience this?
slayer666
 
Posts: 178
Joined: Thu Oct 11, 2007 8:07 pm
Location: Sweden

Re: Problem with firmware getting erased by random!!!

Postby Synthex » Wed Mar 12, 2008 10:31 pm

slayer666 wrote:I have to reinstall the firmware every couple of reboots of the megadrum.
I Update the firmware with midiox and the megadrum reboots, all ok.
I unplug the usb and leave it for at minute to rest and then plug usb in and I get the firmware update menu from start.
It's like it gets erased as soon as the power is cut off.

Firmware or hardware error?

Edit: I noticed that It doesn't erase the firmware, it simply starts in Update mode sometimes.
Anyone else experience this?

It's a problem with buttons or it's a problem with the firmware.
Dmitri, is there a waiting time before check if a button is pressed after the boot ?
(I think about electrical parasites (noise) at boot)
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: Problem with firmware getting erased by random!!!

Postby slayer666 » Wed Mar 12, 2008 10:37 pm

Synthex wrote: It's a problem with buttons or it's a problem with the firmware.


I've measured my keyboard and the megadrumboard and I can't find anything that could short out.
In midiox there's constant footcontroller activity, and I have nothing attached. No piezo and no hihat pot.
slayer666
 
Posts: 178
Joined: Thu Oct 11, 2007 8:07 pm
Location: Sweden

Re: Problem with firmware getting erased by random!!!

Postby Synthex » Wed Mar 12, 2008 10:46 pm

slayer666 wrote:In midiox there's constant footcontroller activity, and I have nothing attached. No piezo and no hihat pot.

If you connect pin4 of 32inputs connector to GND, what's happen ?
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: Problem with firmware getting erased by random!!!

Postby slayer666 » Thu Mar 13, 2008 1:35 am

Synthex wrote:
slayer666 wrote:In midiox there's constant footcontroller activity, and I have nothing attached. No piezo and no hihat pot.

If you connect pin4 of 32inputs connector to GND, what's happen ?


It made no difference.
This seems only to occur after a firmware update directly after the megadrum rebooted itself. It keeps on scrolling forever..

Take a look at the screenshot.
You do not have the required permissions to view the files attached to this post.
slayer666
 
Posts: 178
Joined: Thu Oct 11, 2007 8:07 pm
Location: Sweden

Re: Problem with firmware getting erased by random!!!

Postby dmitri » Thu Mar 13, 2008 9:52 am

slayer666 wrote:I have to reinstall the firmware every couple of reboots of the megadrum.
I Update the firmware with midiox and the megadrum reboots, all ok.
I unplug the usb and leave it for at minute to rest and then plug usb in and I get the firmware update menu from start.
It's like it gets erased as soon as the power is cut off.

Firmware or hardware error?

Edit: I noticed that It doesn't erase the firmware, it simply starts in Update mode sometimes.
Anyone else experience this?


Try to pull pin 8 of Atmega to +5 over a 10k-100k resistor. Does it make a difference?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Problem with firmware getting erased by random!!!

Postby dmitri » Thu Mar 13, 2008 9:57 am

slayer666 wrote:
Synthex wrote:
slayer666 wrote:In midiox there's constant footcontroller activity, and I have nothing attached. No piezo and no hihat pot.

If you connect pin4 of 32inputs connector to GND, what's happen ?


It made no difference.
This seems only to occur after a firmware update directly after the megadrum rebooted itself. It keeps on scrolling forever..

Take a look at the screenshot.

Did you leave "Levels" as Auto for HiHat controller? If so, try setting them manually so that there are no MIDI activity when the pedal is fully pressed and when it is fully depressed.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Problem with firmware getting erased by random!!!

Postby slayer666 » Thu Mar 13, 2008 11:00 am

dmitri wrote:
slayer666 wrote:I have to reinstall the firmware every couple of reboots of the megadrum.
I Update the firmware with midiox and the megadrum reboots, all ok.
I unplug the usb and leave it for at minute to rest and then plug usb in and I get the firmware update menu from start.
It's like it gets erased as soon as the power is cut off.

Firmware or hardware error?

Edit: I noticed that It doesn't erase the firmware, it simply starts in Update mode sometimes.
Anyone else experience this?


Try to pull pin 8 of Atmega to +5 over a 10k-100k resistor. Does it make a difference?


I routed atmega pin8 through 47k to +5V and It didn't startup in update mode at all.

What's the next step?

Synthex asked if you have a keypress delay at startup?
slayer666
 
Posts: 178
Joined: Thu Oct 11, 2007 8:07 pm
Location: Sweden

Re: Problem with firmware getting erased by random!!!

Postby dmitri » Thu Mar 13, 2008 11:09 am

slayer666 wrote:
dmitri wrote:
slayer666 wrote:I have to reinstall the firmware every couple of reboots of the megadrum.
I Update the firmware with midiox and the megadrum reboots, all ok.
I unplug the usb and leave it for at minute to rest and then plug usb in and I get the firmware update menu from start.
It's like it gets erased as soon as the power is cut off.

Firmware or hardware error?

Edit: I noticed that It doesn't erase the firmware, it simply starts in Update mode sometimes.
Anyone else experience this?


Try to pull pin 8 of Atmega to +5 over a 10k-100k resistor. Does it make a difference?


I routed atmega pin8 through 47k to +5V and It didn't startup in update mode at all.

I did catch the meaning of the last sentence.

What's the next step?

Synthex asked if you have a keypress delay at startup?


There is no delay. I've posted the source code for the Bootloader and you're welcome to look at it. I can put the delay at the beginning but how are you going to write the new bootloader into Atmega?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Problem with firmware getting erased by random!!!

Postby Synthex » Thu Mar 13, 2008 11:13 am

dmitri wrote:Try to pull pin 8 of Atmega to +5 over a 10k-100k resistor. Does it make a difference?

What is the period of pressure on a button to be taken into account by the Atmega (for the bootloader and the firmware) ?
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Next

Return to MegaDrum Hardware

Who is online

Users browsing this forum: No registered users and 106 guests