gui vs arduino version or buffer size mismatch

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

gui vs arduino version or buffer size mismatch

Post 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....

Image


Any help ?? :? :? :oops:

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: gui vs arduino version or buffer size mismatch

Post by NikTheGreek »

Working fine in my Laptop...... :shock:

User avatar
kos
Posts: 286
Joined: Thu Feb 16, 2012 4:51 am
Location: Fr

Re: gui vs arduino version or buffer size mismatch

Post 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

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: gui vs arduino version or buffer size mismatch

Post 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 !!!! :oops:

refractions
Posts: 92
Joined: Thu Dec 01, 2011 8:55 pm
Location: Scotter, Lincolnshire, UK

Re: gui vs arduino version or buffer size mismatch

Post by refractions »

Are you using V1.0 of arduino ide? Checked your board and comm port settings and reflash.

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: gui vs arduino version or buffer size mismatch

Post 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..... :)

User avatar
kos
Posts: 286
Joined: Thu Feb 16, 2012 4:51 am
Location: Fr

Re: gui vs arduino version or buffer size mismatch

Post 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/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.

Post Reply