Hello
I have an Arduino UNO connected via usb cable to a linux PC (ubuntu 12.04).
My problem is when I try to use the Serial Monitor from the Arduino IDE at certain speeds (14400, 28800, and 38400) the serial connection hangs.
On the linux console and the Arduino IDE debug window i get a message:
processing.app.SerialException: Error opening serial port '/dev/ttyACM0'.
Funny thing, it only happend when I select any of these three speeds on the Serial monitor.
To get the serial port running again I have to close the Arduino IDE and edit the Arduino preferences.txt file and change the line:
serial.download_rate=38400
to a value that doesn't make the serial port hang (e.g. 300, 1200, 2400, 9600, 19200, 57600 or 115200)
Any ideas how to solve the problem?
Regards
Can you open the serial port in another app at those speeds? if not, probably the uno needs a firmware update (8u2)
Hello
The serial in linux works without any problem at different speeds. And the serial on arduino works an all the speeds except the ones mentioned before.
How can I check the firmware version of the uno?
Regards
Hello
Ok, it is definitely a problem with the arduino IDE.
If I use minicom to connect to the arduino at 38400bps it works. but the moment I change the speed to 38400 on the Serial monitor window of the arduino IDE, the port hangs.
Any way to repair that?
Regards
jose1968us:
Hello
Ok, it is definitely a problem with the arduino IDE.
If I use minicom to connect to the arduino at 38400bps it works. but the moment I change the speed to 38400 on the Serial monitor window of the arduino IDE, the port hangs.
Any way to repair that?
Regards
It can be the way the IDE switches speed too, right? I mean, in a normal app you can't switch speed while port is opened. I don't use linux so I don't know how to help you a lot, but if you can test the IDE in windows and the same happens, probably is the Arduino. I guess the serial port code is the same
Hello
I did a test on windows and it works.
It's a problem of the IDE in Linux.
Regards
jose1968us:
Hello
I did a test on windows and it works.
It's a problem of the IDE in Linux.
Regards
Or maybe it is Linux ] (flamewar: on)
Hi
linux serial wors fine. I work with it every day and at different speeds.
This looks more like an IDE bug in the linux version.
Regards
I use Ubuntu 12.04 (32 bit) with version 1.0.1 of the IDE. It works fine with both my old Duemilanoves and my first generation Uno at 38400. The Uno has had the 8U2 firmware updated though. The early firmware had known serial issues with Linux
Hello
I am using ubuntu 12.04 64bits
Regards
It's a bug of the current IDE and it affects every OS (@eried: it's not related to Linux :P)
It's related to the localization. If you select the english language the bug won't appear anymore. It only happens when you select a different language. The bug has been already fixed and next IDE 1.0.2 won't be affected. At the moment you can download the development version of the Arduino IDE or select the english language.
Here my previous thread:
http://arduino.cc/forum/index.php/topic,111450.0.html
Here the ticket:
http://code.google.com/p/arduino/issues/detail?id=964&can=6&sort=-id
leo72:
It's a bug of the current IDE and it affects every OS (@eried: it's not related to Linux :P)
It's related to the localization. If you select the english language the bug won't appear anymore. It only happens when you select a different language. The bug has been already fixed and next IDE 1.0.2 won't be affected. At the moment you can download the development version of the Arduino IDE or select the english language.
Here my previous thread:
http://arduino.cc/forum/index.php/topic,111450.0.htmlHere the ticket:
Google Code Archive - Long-term storage for Google Code Project Hosting.
I see, I use the IDE in english because the translation use very confusing terminology but I think nobody in the translation group is answering anything because weeks ago I suscribed to fix my language without any response.