Page 1 of 1

It can be something else (buffer overflow)

PostPosted: Mon Nov 26, 2007 10:15 am
by estregan
I get this error with the latest firmware whenever I click on "Get settings" in Megadrum controller.

What does that mean? Also, I can't seem to get my megadrum to communicate properly thru USB. Is the AVR-CDC really unreliable? Do I need to convert to PIC18F2550?

Re: buffer overflow

PostPosted: Mon Nov 26, 2007 10:33 am
by dmitri
I haven't used MegaDrum with AVR-CDC lately so I'll have to test it tonight again. AVR-CDC is really a brutal hack for USB. I'll probably remove this USB board from the description. If you can do it I'd recommend you to switch to Synthex's true USB MIDI board.

Re: buffer overflow

PostPosted: Mon Nov 26, 2007 7:20 pm
by dmitri
I just tested it with FT232 USB Board, Synthex's USB board and AVR-CDC board and I must say AVR-CDC is having problems. In my case
MegaDrum Controller doesn't experience any buffer overflow but whenever I apply settings to MegaDrum with AVR-CDC USB board it causes MegaDrum to reset(you won't notice it without an LCD) which means AVR-CDC corrupts data when it is transmitted in bulks (like with Sysex messages). I'll try to play with it to see if anything can be done about it.

Re: AVR-CDC USB board is depricated (buffer overflow)

PostPosted: Mon Nov 26, 2007 11:51 pm
by estregan
Ouch! :( That sounds bad! I've already ordered my PIC18F2550 but since it not here yet I'll just wait if there are any developments. :|

Re: It can be something else (buffer overflow)

PostPosted: Tue Nov 27, 2007 10:18 am
by dmitri
I might have misjudged AVR-CDC. This thread is locked. See follow up here.