Hey everyone. I'm still having trouble here. Anyone have any advice? Is anyone having luck with ubuntu 12.04?
Hi,
I just ran into exactly the same problem. I have no idea what was going on, but deleting ~/.arduino/preferences.txt fixed it for me.
After a lot of faffing around, I have found a solution that works for me (thanks to an append I read on a different forum). I had exactly the same symptoms as the original reported problem....the answer was to edit the preferences.txt file in .arduino directory...and set the debug rate to 9600. Mine was previously set to 14400.
Well i also looked in the file preferences and it was set at 9600.
I also places (removed) it somewhere else. Than arduino cant open at all.
I also installed Java 7 instead of 6.
The first time i ran adruino it worked again, and then just gives the 500 error again.
this sucks.
Is it Ubuntu or arduino?
With the solution of NomadAU it works for me. And i don't have more problems.
Hi,
I was facing the same problem as others here in that thread.
For whatever reason the following line was constantly set in ~/.arduino/preferences.txt:
serial.debug_rate=38400
Changing that line to
serial.debug_rate=9600
made that /dev/ttyACM0 appeared just before uploading. But still I received the error:
...processing.app.SerialException: Error opening serial port '/dev/ttyACM0'...
What helped me is change the entry to serial.debug_rate=9600, then I made the file read-only.
I restarted the IDE and the above mentioned line was kept to serial.debug_rate=9600.
Very strange....
Regards
AgeBee
iranon727:
Hi,
I just ran into exactly the same problem. I have no idea what was going on, but deleting ~/.arduino/preferences.txt fixed it for me.
If anyone is still interested.
I have an Arduino Uno.
It seems the serial port must be set to 9600 baud. Mine got set to 38400, and it broke Uploading on both Ubuntu and a Mac.
If anyone is interested in more details let me know.
One more thing to note:
If you install arduino logging (from here Arduino Playground - Logging) , it defaults to setting the serial port to 38400 baud. Then the next time you open the serial monitor, this gets written into the preferences.txt file.
From then on until you finally figure this out after hours of googling and experimentation, you are stuck.