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 ??
gui vs arduino version or buffer size mismatch
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: gui vs arduino version or buffer size mismatch
Working fine in my Laptop......
Re: gui vs arduino version or buffer size mismatch
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
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
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: gui vs arduino version or buffer size mismatch
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 !!!!
-
- Posts: 92
- Joined: Thu Dec 01, 2011 8:55 pm
- Location: Scotter, Lincolnshire, UK
Re: gui vs arduino version or buffer size mismatch
Are you using V1.0 of arduino ide? Checked your board and comm port settings and reflash.
- NikTheGreek
- Posts: 348
- Joined: Thu Dec 08, 2011 4:17 pm
- Location: Greece
- Contact:
Re: gui vs arduino version or buffer size mismatch
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
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/build
install 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.