Page 1 of 1

I can't get any MIDI signal

PostPosted: Tue Jun 19, 2018 6:49 pm
by Bastbeat
Hi,

recently I build a Megadrum by myself (with an ATmega32 and PIC18f2550) with the schematics of the website.
I wanted to try it before buying the MCU with the protected bootloader. So I'm running the 20100516 version.
"All" works OK, I can see the LCD screen, the MIDI ports on my computer... but I can' t get any MIDI signal.
I already saw the FAQ related with this problem and I tested all capacitors, resistor, etc, etc.
I connected an Arduino to the TX, RX pins of the MCU and I can get some symbols when I hit the Pads.
Could please someone help me??

Re: I can't get any MIDI signal

PostPosted: Tue Jun 19, 2018 8:00 pm
by dmitri
Most likely reasons:
1. Incorrect crystal frequencies.
2. Incorrect fuses programmed into Atmega.

Re: I can't get any MIDI signal

PostPosted: Tue Jun 19, 2018 8:59 pm
by Bastbeat
I paid attention to the crystal frequencies and the .hex file and they are right.
What do you want to mean with the fuses? what should I do with that?

Re: I can't get any MIDI signal

PostPosted: Tue Jun 19, 2018 9:06 pm
by Bastbeat
How can I set the correct fuse bytes for Megadrum? I thought all should I do was flashing the ATmega with the .hex file

Re: I can't get any MIDI signal

PostPosted: Tue Jun 19, 2018 9:47 pm
by ignotus
Here you go:
fuses32.png


It's been a long time and I don't remember where you open this window in AVRdude or whatever you use, but how you set these is important.

Re: I can't get any MIDI signal

PostPosted: Wed Jun 20, 2018 9:59 am
by Bastbeat
That was the trick!! The fuse bits were not good set. Now everything works like a charm.
Thank you dimitri and ignotus, you make my day! :D