halfbridge1974 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

arduino Mega on 64-bit ubuntu 9.04 dies when starting to monitor serial port #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect to Arduino Mega
2. download program that writes to Serial
3. In IDE click "monitor serial port"

What is the expected output? What do you see instead?
IDE crashes with not error dialogs.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
Arduino Mega & Arduino-0015
Ubuntu 9.04 64-bit

Please provide any additional information below.
Compiling and downloading to Arduini Mega work fine. only crashes when I
try to monitor the serial port.

using another application to monitor serial port works fine.

Original issue reported on code.google.com by andyaspe...@gmail.com on 17 Apr 2009 at 7:09

Attachments:

GoogleCodeExporter commented 9 years ago
This is almost certainly a result of not using the correct Java RxTx library.  

Java on Linux depends upon an external library (librxtx) for its implementation 
of
the serial API.  Arduino on Linux ships with a copy of librxtx that's compiled
32-bit; if you're using 64-bit Ubuntu, then you need to install the Ubuntu 
instance
of this library and then either (a) copy the appropriate library to the Arduino
directory, or (b) change the Arduino start up script to reference the Ubuntu 
version
directly.

See the Ubuntu-specific Linux install notes
(http://www.arduino.cc/playground/Linux/Ubuntu) for more details.

Original comment by craig.tr...@gmail.com on 17 Apr 2009 at 10:44

GoogleCodeExporter commented 9 years ago
Downloading to the Arduino work fine, so I assumed that the serial library is 
working.

is the RXTX library used for writing to the arduino as well as monitoring it?

Original comment by andyaspe...@gmail.com on 18 Apr 2009 at 7:54

GoogleCodeExporter commented 9 years ago
I actually meant to put this as low priority as I have installed another app 
which I
use for monitoring the Arduino.

Original comment by andyaspe...@gmail.com on 18 Apr 2009 at 7:56

GoogleCodeExporter commented 9 years ago
Actually, downloading to the Arduino board uses avrdude (an external program) 
not RXTX, so craig.trader's 
description is likely correct.  The real solution is an Arduino package for 
64-bit Linux that include a 64 bit 
version of RXTX.  If anyone's interested in maintaining this, please email the 
developers mailing list: 
http://arduino.cc/mailman/listinfo/developers_arduino.cc

Original comment by dmel...@gmail.com on 18 Apr 2009 at 8:28

GoogleCodeExporter commented 9 years ago
Closing as invalid because the Linux version is for 32-bit distributions only.  

Original comment by dmel...@gmail.com on 5 Jun 2009 at 4:05