It can be something else (buffer overflow)

Discussions related to MegaDrum Hardware

It can be something else (buffer overflow)

Postby estregan » Mon Nov 26, 2007 10:15 am

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?
estregan
 
Posts: 116
Joined: Tue Aug 28, 2007 6:24 am

Re: buffer overflow

Postby dmitri » Mon Nov 26, 2007 10:33 am

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.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: buffer overflow

Postby dmitri » Mon Nov 26, 2007 7:20 pm

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.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

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

Postby estregan » Mon Nov 26, 2007 11:51 pm

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. :|
estregan
 
Posts: 116
Joined: Tue Aug 28, 2007 6:24 am

Re: It can be something else (buffer overflow)

Postby dmitri » Tue Nov 27, 2007 10:18 am

I might have misjudged AVR-CDC. This thread is locked. See follow up here.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 114 guests