USB

Discussions related to MegaDrum Hardware

Re: USB

Postby dmitri » Wed Oct 15, 2008 4:01 pm

In the bootloader did you choose 16MHz?
dmitri
Site Admin
 
Posts: 8718
Joined: Fri Aug 03, 2007 8:05 pm

Re: USB

Postby efbe » Wed Oct 15, 2008 4:42 pm

dmitri wrote:In the bootloader did you choose 16MHz?


I received the Atmega from sysex, so I presume with bootloader.

But which ??

EFBE
efbe
 
Posts: 31
Joined: Sun Aug 03, 2008 1:18 pm

Re: USB

Postby dmitri » Wed Oct 15, 2008 4:54 pm

Does the bootloader in your Atmega have an option to choose crystal frequency?
If it doesn't, then your bootloader is fixed at 20MHz and you either have to
a) (recommended) program it with a new bootloader which support crystal frequency selection using ISP cable and an LPT port on a PC
or
b) (not recommended) try to program it with a 16MHz firmware while using a 20MHz crystal and after successful programming change back to the 16MHz crystal
dmitri
Site Admin
 
Posts: 8718
Joined: Fri Aug 03, 2007 8:05 pm

Re: USB

Postby efbe » Wed Oct 15, 2008 5:16 pm

dmitri wrote:Does the bootloader in your Atmega have an option to choose crystal frequency?
If it doesn't, then your bootloader is fixed at 20MHz and you either have to
a) (recommended) program it with a new bootloader which support crystal frequency selection using ISP cable and an LPT port on a PC
or
b) (not recommended) try to program it with a 16MHz firmware while using a 20MHz crystal and after successful programming change back to the 16MHz crystal


I did something else, I replaced the cristal again with the 20 MHz and could now up-date the Firmware.
The USB issue still remains. At least I can use the MIDI in / out again, untill I find out the other things.

Thanks,
EFBE
efbe
 
Posts: 31
Joined: Sun Aug 03, 2008 1:18 pm

Re: USB

Postby dmitri » Wed Oct 15, 2008 6:13 pm

efbe wrote:
dmitri wrote:Does the bootloader in your Atmega have an option to choose crystal frequency?
If it doesn't, then your bootloader is fixed at 20MHz and you either have to
a) (recommended) program it with a new bootloader which support crystal frequency selection using ISP cable and an LPT port on a PC
or
b) (not recommended) try to program it with a 16MHz firmware while using a 20MHz crystal and after successful programming change back to the 16MHz crystal


I did something else, I replaced the cristal again with the 20 MHz and could now up-date the Firmware.
The USB issue still remains. At least I can use the MIDI in / out again, untill I find out the other things.

Your Atmega is overclocked. Until it is overclocked you will not "find out the other things" which will
fix any other issues. Your Atmega can even overheat, explode and start a chain reaction.
dmitri
Site Admin
 
Posts: 8718
Joined: Fri Aug 03, 2007 8:05 pm

Re: USB

Postby Synthex » Wed Oct 15, 2008 6:19 pm

dmitri wrote: Your Atmega can even overheat, explode and start a chain reaction.

;) ... Overclocked Atmega works well.
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: USB

Postby dmitri » Wed Oct 15, 2008 6:52 pm

It may, it may not work well. See my comments on the bootloader thread. I myself sometime experience issues with 'overclocked Atmega32/USB' combination, e.g. USB not being detected or MegaDrum restarts unexpectedly when doing two way sysex communication.
When I downclock to 16MHz I don't experience any such issues at all.
dmitri
Site Admin
 
Posts: 8718
Joined: Fri Aug 03, 2007 8:05 pm

Re: USB

Postby efbe » Wed Oct 15, 2008 7:01 pm

dmitri wrote:It may, it may not work well. See my comments on the bootloader thread. I myself sometime experience issues with 'overclocked Atmega32/USB' combination, e.g. USB not being detected or MegaDrum restarts unexpectedly when doing two way sysex communication.
When I downclock to 16MHz I don't experience any such issues at all.
\\

O.K.

Despite of all, at the moment everything works again, even USB.

I will keep You informed if the thing explodes and or create maybe a black hole.

Thanks anyway.

EFBE
efbe
 
Posts: 31
Joined: Sun Aug 03, 2008 1:18 pm

Re: USB

Postby CairnsFella » Thu Oct 16, 2008 2:40 am

Just want to say.. very very nice looking megadrum.

I was reluctant to post any pics of my build as I knew mine looks quite poor.. but yours makes me feel like throwing mine in the bin :oops: :cry:

... well.. not quite, as it does work at least... but very well done anyway.
CairnsFella
 
Posts: 26
Joined: Wed Jul 09, 2008 2:34 am

Re: USB

Postby gyro » Thu Oct 16, 2008 2:07 pm

It might be that your USB ports on the pc don't have enough power to feed your Megadrum. As you probably know, one USB port can deliver 500mA max. You can try with a powered hub to see if it works or you can change your megadrum to be powered from an external power supply and cut the power lines to your usb cable. Be warned : if you don't know how to do it that way, ask ! Otherwise you can ruin some of the more expensive parts. I received my pcb today, but as I'm a busy bee, it might take a while to assemble and test things (have to make my pads and cymbals also ...)

My 2 cents,
Gyro.
gyro
 
Posts: 21
Joined: Fri Oct 03, 2008 8:49 pm

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: No registered users and 195 guests