2560 Serial weirdness under Windows
ok, i've been working on project while using 2560 mega , interfaces through 3rd party piece of software (that don't control), via serial. software cross platform , testing has been in linux , osx has been fine.
go test in windows though , software won't connect. after many, many hours of playing around, there seems issue initialisation of serial channel on arduino. software i'm interfacing in java , using rxtx serial, i'm seeing there 9 second delay between serial session software starts , arduino responding. have confirmed in multiple ways serial sniffer. once initial delay over, arduino responds fine.
as software i'm trying interface initialises it's connection sending command, waiting 1.5s response , shutting connection down , reinitialising, never connect arduino taking ~9 seconds after serial connection opened.
the other thing i've found that, if reset arduino right after serial connection made, fires , starts working straight away, no delay.
the closest thing i've been able find in post: http://forum.arduino.cc/index.php/topic,118635.0.html
it talks potentially being enumeration issue in rxtx , links post patched within arduino ide serial monitor, if indeed same thing, problem remains in original rxtx code.
that's far i've gotten. has else ever run , found reasonable solution? it's going cause major headaches me if can't run on windows (again, linux , osx fine)
go test in windows though , software won't connect. after many, many hours of playing around, there seems issue initialisation of serial channel on arduino. software i'm interfacing in java , using rxtx serial, i'm seeing there 9 second delay between serial session software starts , arduino responding. have confirmed in multiple ways serial sniffer. once initial delay over, arduino responds fine.
as software i'm trying interface initialises it's connection sending command, waiting 1.5s response , shutting connection down , reinitialising, never connect arduino taking ~9 seconds after serial connection opened.
the other thing i've found that, if reset arduino right after serial connection made, fires , starts working straight away, no delay.
the closest thing i've been able find in post: http://forum.arduino.cc/index.php/topic,118635.0.html
it talks potentially being enumeration issue in rxtx , links post patched within arduino ide serial monitor, if indeed same thing, problem remains in original rxtx code.
that's far i've gotten. has else ever run , found reasonable solution? it's going cause major headaches me if can't run on windows (again, linux , osx fine)
have tried changing serial monitor line ending else ?
Arduino Forum > Using Arduino > Project Guidance > 2560 Serial weirdness under Windows
arduino
Comments
Post a Comment