Page 1 of 1

I've build MegaDrum but it doesn't work.

PostPosted: Fri Apr 24, 2009 6:36 pm
by mojamusic
I have put the main board together. I attached my LCD then plugged the USB to my iMac... (Hey, it lit up!) Nothing displayed on it though...

Question:
Should megadrum show up as a device in my midi setup? Because so far I don't see it.

I haven't attached the jacks yet and to be honest, I am not expecting this to work for me. This is my first build and I am pretty bad at it. Let me say I WAS pretty bad when I started, now I have actually learned a lot!!! This project brought me great pleasure. I look forward to building a second THAT WORKS! :lol:

Re: I've build MegaDrum but it doesn't work.

PostPosted: Fri Apr 24, 2009 6:49 pm
by dmitri
mojamusic wrote:I have put the main board together. I attached my LCD then plugged the USB to my iMac... (Hey, it lit up!) Nothing displayed on it though...

I guess you should start with this: http://www.megadrum.info/forums/viewtopic.php?f=3&t=492

Re: I've build MegaDrum but it doesn't work.

PostPosted: Fri Apr 24, 2009 7:45 pm
by mojamusic
Thanks for the reply.

One other question regarding the schematic for Keybaord:

The schematic shows 4 pins for keyboard but Synthex's All-in-one board has 5 pin connection.

Can you explain this to me?

Re: I've build MegaDrum but it doesn't work.

PostPosted: Fri Apr 24, 2009 8:14 pm
by jman 31
I just took a look at the keyboard schematic that Synthex provides and it has 5 pins as far as I can tell. One will be ground.

Re: I've build MegaDrum but it doesn't work.

PostPosted: Fri Apr 24, 2009 8:16 pm
by dmitri
mojamusic wrote:Thanks for the reply.

One other question regarding the schematic for Keybaord:

The schematic shows 4 pins for keyboard but Synthex's All-in-one board has 5 pin connection.

Can you explain this to me?

If you use Synthex's kit, then you should use Synthex's board schematic as a reference.

Re: I've build MegaDrum but it doesn't work.

PostPosted: Sat May 22, 2010 7:42 pm
by grutom
I've built my MEGADRUM(dmitri version), but...
I can't see MENU of MEGADRUM. LCD shows only a white box in the first line.
BOOTLOADER is loaded in ATMEGA 644P20PU (bootloader644.hex), crystal 20MHz
Fuses is done.
PIC18F2550 is programmed in WINPIC (pic18f2550usb_12MHz.hex), but i got a messages:

Info: Loading definitions for "PIC18F2550" from C:\Program Files\WinPic\devices.ini .
Info: Support for some newer PIC18F devices added by Martin v.d. Werff 2005
Couldn't find "devices\PIC18F2550.dev", please borrow/copy from MPLAB !
PIC18F: family='21'=4550, WriteLatch=32 bytes, EraseLatch=64 bytes .
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.50 seconds, timer_freq=3.5795 MHz ... ok
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x001692
Verifying CODE, 0x000000..0x001692
Verifying 0x000000..0x001692
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Verify Error: 300004: read 008100, wanted 0081FF, mask 00FFFF ==> diff=0000FF
Verify Error: 300006: read 000085, wanted 00FF85, mask 00FFFF ==> diff=00FF00
ERROR: Programming FAILED !


However Windows recognized MEGADRUM! It semms ok.

MCT: I send megadrum644_20_32_20091122.hex, but MEGADRUM didn't restart itself.
I restarted manualy and I see only white box.

What should I check in this case?

Thank you for help.

Re: I've build MegaDrum but it doesn't work.

PostPosted: Sat May 22, 2010 9:02 pm
by Firelord
grutom wrote:Verify Error: 300004: read 008100, wanted 0081FF, mask 00FFFF ==> diff=0000FF
Verify Error: 300006: read 000085, wanted 00FF85, mask 00FFFF ==> diff=00FF00

This is normal.

grutom wrote:MCT: I send megadrum644_20_32_20091122.hex, but MEGADRUM didn't restart itself.
I restarted manualy and I see only white box.

Use MIDI-OX or MegaDrumUpdate to update the firmware. MCT has issues with the latest version of the bootloader.

Re: I've build MegaDrum but it doesn't work.

PostPosted: Sun May 23, 2010 2:15 pm
by grutom
I tried with MCT UPDATE FIRMWARE(check for updates-the latest firmware).
I also changed a crystal on 16MHz and it didn't help.
I don't have a sound card with MIDI IN/OUT, so I can't check UPDATE FIRMWARE via MIDI-OX.


PIC after conected USB:
5V is on pin 17(Tx),
0V is on pin 18(Rx),
3,15V is on pin 16(D- USB),
0V is on pin 15(D+ USB),

Is it correct?

Re: I've build MegaDrum but it doesn't work.

PostPosted: Sun May 23, 2010 2:24 pm
by dmitri
grutom wrote:I don't have a sound card with MIDI IN/OUT, so I can't check UPDATE FIRMWARE via MIDI-OX.

What do you mean?

Re: I've build MegaDrum but it doesn't work.

PostPosted: Mon May 24, 2010 11:39 am
by Firelord
dmitri wrote:
grutom wrote:I don't have a sound card with MIDI IN/OUT, so I can't check UPDATE FIRMWARE via MIDI-OX.

What do you mean?

I guess what he means is that he doesn't think updating via a USB MIDI data link is possible.

It is, however. Otherwise why would we need the PIC micro anyway?