Page 1 of 1
gui vs arduino version or buffer size mismatch
Posted: Tue Jun 05, 2012 6:43 pm
by NikTheGreek
Today i tried to use multiwii 2.0 version BUT....
in taking this error .....gui vs arduino version or buffer size mismatch..
when i'm opening the GUI...working for some second..and then....
Any help ??
Re: gui vs arduino version or buffer size mismatch
Posted: Tue Jun 05, 2012 7:17 pm
by NikTheGreek
Working fine in my Laptop......
Re: gui vs arduino version or buffer size mismatch
Posted: Tue Jun 05, 2012 10:17 pm
by kos
sounds like a RXTX jni / windows specific issue to me :
With your workstation , please do some testing with :
-
http://code.google.com/p/mwi-gc/downloads/list - C code , it will tell if this is only related to the serial reading
-
https://github.com/treymarc/mwi-swing - Java code , it will tell if this in a threading awt issue
the issue is : rxts is not preventing non java code to acces and read the serial port , if other read/pooling are performed during the gui execution : the gui will not receive all the sended serial data -> buffer mismatch
Re: gui vs arduino version or buffer size mismatch
Posted: Wed Jun 06, 2012 9:48 pm
by NikTheGreek
kos wrote:sounds like a RXTX jni / windows specific issue to me :
With your workstation , please do some testing with :
-
http://code.google.com/p/mwi-gc/downloads/list - C code , it will tell if this is only related to the serial reading
-
https://github.com/treymarc/mwi-swing - Java code , it will tell if this in a threading awt issue
the issue is : rxts is not preventing non java code to acces and read the serial port , if other read/pooling are performed during the gui execution : the gui will not receive all the sended serial data -> buffer mismatch
????!!!???!??!?!?!??!?!
oups.....i didnt get it..at all !!!!
Re: gui vs arduino version or buffer size mismatch
Posted: Wed Jun 06, 2012 11:21 pm
by refractions
Are you using V1.0 of arduino ide? Checked your board and comm port settings and reflash.
Re: gui vs arduino version or buffer size mismatch
Posted: Thu Jun 07, 2012 8:36 pm
by NikTheGreek
refractions wrote:Are you using V1.0 of arduino ide? Checked your board and comm port settings and reflash.
Yes.iam......
i v done this several times with no results.
BUT working perfectly in my LapTop.....
Re: gui vs arduino version or buffer size mismatch
Posted: Thu Jun 07, 2012 8:44 pm
by kos
NikTheGreek wrote:refractions wrote:Are you using V1.0 of arduino ide? Checked your board and comm port settings and reflash.
Yes.iam......
i v done this several times with no results.
BUT working perfectly in my LapTop.....
you may want to try at a lower refreh rate
try with
https://github.com/treymarc/mwi-swing/tree/master/buildinstall those files in the same folder than you multiwiconf and multiwiconf/lib
ps : you may have some others tools monitoring or accessing the serial port , turn off any bluetoths and serial manager.